1 | {
|
2 | "name": "hooks",
|
3 | "amdName": "preactHooks",
|
4 | "version": "0.1.0",
|
5 | "private": true,
|
6 | "description": "Hook addon for Preact",
|
7 | "main": "dist/hooks.js",
|
8 | "module": "dist/hooks.module.js",
|
9 | "umd:main": "dist/hooks.umd.js",
|
10 | "source": "src/index.js",
|
11 | "license": "MIT",
|
12 | "types": "src/index.d.ts",
|
13 | "scripts": {
|
14 | "build": "microbundle build --raw",
|
15 | "dev": "microbundle watch --raw --format cjs",
|
16 | "test": "npm-run-all build --parallel test:karma",
|
17 | "test:karma": "karma start test/karma.conf.js --single-run",
|
18 | "test:karma:watch": "karma start test/karma.conf.js --no-single-run"
|
19 | },
|
20 | "peerDependencies": {
|
21 | "preact": "^10.0.0"
|
22 | },
|
23 | "mangle": {
|
24 | "regex": "^_"
|
25 | }
|
26 | }
|