-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
66 lines (66 loc) · 1.71 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "linkstate",
"amdName": "linkState",
"version": "2.0.1",
"description": "Bind events to state. Works with Preact and React.",
"main": "./dist/linkstate.js",
"module": "./dist/linkstate.module.js",
"umd:main": "./dist/linkstate.umd.js",
"unpkg": "./dist/linkstate.umd.js",
"exports": {
".": "./dist/linkstate.module.js",
"./polyfill": "./dist/polyfill.module.js",
"./hook": "./hook/dist/hook.module.js",
"./": "./"
},
"scripts": {
"test": "eslint src test && mocha -r jsdom-global/register -r esm test/**/*.js",
"build": "microbundle -f es,cjs,umd && (cd hook && microbundle -f es,cjs,umd) && (cd polyfill && microbundle -f es,cjs,umd)",
"prepublish": "npm run -s build",
"release": "npm run build -s && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"typings": "src/index.d.ts",
"repository": "developit/linkstate",
"keywords": [
"preact",
"react",
"state",
"linkstate",
"linked state"
],
"homepage": "https://github.com/developit/linkstate",
"authors": [
"Jason Miller <[email protected]>"
],
"license": "MIT",
"files": [
"src",
"dist",
"polyfill",
"hook"
],
"eslintConfig": {
"extends": "developit",
"rules": {
"jest/valid-expect": 0
}
},
"devDependencies": {
"chai": "^4.2.0",
"dlv": "^1.1.0",
"eslint": "^7.13.0",
"eslint-config-developit": "^1.2.0",
"jsdom": "^16.4.0",
"jsdom-global": "^3.0.2",
"microbundle": "^0.12.4",
"mocha": "^8.2.1",
"sinon": "^9.2.1",
"sinon-chai": "^3.5.0"
},
"peerDependencies": {
"preact": "*"
},
"dependencies": {
"esm": "^3.2.25"
}
}