forked from pmndrs/zustand
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 2.88 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
100
101
102
103
104
105
106
107
108
109
110
{
"name": "zustand",
"private": true,
"version": "2.2.3",
"description": "🐻 Bear necessities for state management in React",
"main": "index.cjs.js",
"module": "index.js",
"types": "index.d.ts",
"files": [
"**"
],
"sideEffects": false,
"scripts": {
"prebuild": "rimraf dist",
"build": "rollup -c && yarn copy",
"prepare": "yarn build",
"pretest": "tsc tests/test.tsx --noEmit --jsx preserve -m None -t ESNext --isolatedModules --esModuleInterop --skipLibCheck",
"test": "jest",
"test:dev": "jest --watch --no-coverage",
"test:coverage:watch": "jest --watch",
"copy": "copyfiles -f package.json readme.md LICENSE dist && json -I -f dist/package.json -e \"this.private=false; this.devDependencies=undefined; this.optionalDependencies=undefined; this.scripts=undefined; this.husky=undefined; this.prettier=undefined; this.jest=undefined; this['lint-staged']=undefined;\""
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"prettier": {
"semi": false,
"trailingComma": "es5",
"singleQuote": true,
"jsxBracketSameLine": true,
"tabWidth": 2,
"printWidth": 80
},
"lint-staged": {
"*.{js,ts,tsx}": [
"prettier --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/react-spring/zustand.git"
},
"keywords": [
"react",
"state",
"manager",
"management",
"redux",
"store"
],
"author": "Paul Henschel",
"contributors": [
"Jeremy Holcomb (https://github.com/JeremyRH)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/react-spring/zustand/issues"
},
"homepage": "https://github.com/react-spring/zustand",
"jest": {
"testPathIgnorePatterns": [
"/node_modules/",
"jest",
"legacy"
],
"testRegex": "test.(js|ts|tsx)$",
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"coverageReporters": [
"json",
"html",
"text",
"text-summary"
],
"collectCoverageFrom": [
"src/**/*.{js,ts,tsx}",
"tests/**/*.{js,ts,tsx}"
]
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@babel/plugin-transform-typescript": "^7.6.3",
"@babel/preset-env": "^7.6.3",
"@testing-library/react": "^9.3.0",
"@types/jest": "^24.0.19",
"@types/react": "^16.9.9",
"copyfiles": "^2.1.1",
"husky": "^3.0.9",
"jest": "^24.9.0",
"json": "^9.0.6",
"lint-staged": "^9.4.2",
"prettier": "^1.18.2",
"react": "^16.11.0",
"react-dom": "^16.11.0",
"rimraf": "^3.0.0",
"rollup": "^1.25.2",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-size-snapshot": "^0.10.0",
"rollup-plugin-typescript2": "^0.24.3",
"typescript": "^3.6.4"
},
"peerDependencies": {
"react": ">=16.8"
}
}