diff options
Diffstat (limited to 'preact/hooks/package.json')
-rw-r--r-- | preact/hooks/package.json | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/preact/hooks/package.json b/preact/hooks/package.json new file mode 100644 index 0000000..1e8d66a --- /dev/null +++ b/preact/hooks/package.json @@ -0,0 +1,26 @@ +{ + "name": "preact-hooks", + "amdName": "preactHooks", + "version": "0.1.0", + "private": true, + "description": "Hook addon for Preact", + "main": "dist/hooks.js", + "module": "dist/hooks.module.js", + "umd:main": "dist/hooks.umd.js", + "source": "src/index.js", + "license": "MIT", + "types": "src/index.d.ts", + "scripts": { + "build": "microbundle build --raw", + "dev": "microbundle watch --raw --format cjs", + "test": "npm-run-all build --parallel test:karma", + "test:karma": "karma start test/karma.conf.js --single-run", + "test:karma:watch": "karma start test/karma.conf.js --no-single-run" + }, + "peerDependencies": { + "preact": "^10.0.0" + }, + "mangle": { + "regex": "^_" + } +} |