-
-
Notifications
You must be signed in to change notification settings - Fork 91
/
package.json
99 lines (99 loc) · 3.02 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "constate",
"version": "3.3.2",
"description": "Yet another React state management library that lets you work with local state and scale up to global state with ease",
"license": "MIT",
"repository": "diegohaz/constate",
"main": "dist/constate.cjs.js",
"module": "dist/constate.es.js",
"jsnext:main": "dist/constate.es.js",
"unpkg": "dist/constate.min.js",
"types": "dist/ts/src",
"sideEffects": false,
"author": {
"name": "Diego Haz",
"email": "[email protected]",
"url": "https://github.com/diegohaz"
},
"files": [
"dist",
"src"
],
"scripts": {
"test": "jest",
"test:all": "yarn lint && yarn build && yarn type-check && yarn test && yarn examples:build && yarn clean",
"coverage": "npm test -- --coverage",
"postcoverage": "open-cli coverage/lcov-report/index.html",
"type-check": "tsc --noEmit",
"lint": "eslint . --ext js,ts,tsx",
"clean": "rimraf dist",
"prebuild": "npm run clean",
"build": "tsc --emitDeclarationOnly && rollup -c",
"prerelease": "npm run lint && npm test && npm run build",
"release": "standard-version",
"postpublish": "git push origin HEAD --follow-tags",
"prepare": "npm run examples:install",
"examples": "npm run start --prefix examples",
"examples:install": "yarn --cwd examples",
"examples:build": "npm run build --prefix examples",
"examples:upgrade": "yarn upgrade-interactive --latest --cwd examples"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --ext js,ts,tsx --fix"
]
},
"keywords": [
"constate"
],
"devDependencies": {
"@babel/cli": "7.13.0",
"@babel/core": "7.13.8",
"@babel/preset-env": "7.13.8",
"@babel/preset-react": "7.12.13",
"@babel/preset-typescript": "7.13.0",
"@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-commonjs": "15.1.0",
"@rollup/plugin-node-resolve": "9.0.0",
"@rollup/plugin-replace": "2.4.1",
"@testing-library/react": "11.2.5",
"@types/jest": "26.0.20",
"@types/prop-types": "15.7.3",
"@types/react": "16.9.53",
"@types/react-dom": "16.9.8",
"@typescript-eslint/eslint-plugin": "4.15.2",
"@typescript-eslint/parser": "4.15.2",
"babel-eslint": "10.1.0",
"babel-jest": "26.6.3",
"eslint": "7.21.0",
"eslint-config-airbnb": "18.2.1",
"eslint-config-prettier": "6.14.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-react": "7.22.0",
"husky": "4.3.0",
"jest": "26.6.3",
"lint-staged": "10.5.4",
"open-cli": "6.0.1",
"prettier": "2.2.1",
"raf": "3.4.1",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-test-renderer": "17.0.1",
"rimraf": "3.0.2",
"rollup": "2.40.0",
"rollup-plugin-ignore": "1.0.9",
"rollup-plugin-terser": "7.0.2",
"standard-version": "9.1.1",
"typescript": "4.2.2"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
}
}