forked from facebookexperimental/Recoil
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 2.59 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
{
"name": "recoil",
"version": "0.0.10",
"description": "Recoil - A state management library for React",
"main": "dist/index.js",
"files": [
"dist"
],
"repository": "https://github.com/facebookexperimental/recoil.git",
"license": "MIT",
"scripts": {
"prepare": "install-peers",
"build": "rollup -c && node scripts/postbuild.js",
"test": "jest src/*",
"format": "prettier --write \"./**/*.{js,md,json}\"",
"flow": "flow --show-all-errors",
"flow:restart": "flow stop && npm run flow",
"test:typescript": "dtslint typescript",
"lint": "eslint ."
},
"peerDependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1"
},
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
"@babel/plugin-syntax-optional-chaining": "^7.8.3",
"@babel/plugin-transform-flow-strip-types": "^7.9.0",
"@babel/preset-flow": "^7.9.0",
"@babel/preset-react": "^7.9.4",
"@rollup/plugin-babel": "^5.0.0",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@rollup/plugin-replace": "^2.3.2",
"@types/react": "^16.9.35",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.0.1",
"babel-plugin-module-resolver": "^4.0.0",
"babel-preset-fbjs": "^3.3.0",
"dtslint": "^3.6.11",
"eslint": "^7.2.0",
"eslint-plugin-fb-www": "^0.0.1",
"eslint-plugin-flowtype": "^5.1.3",
"eslint-plugin-jest": "^23.13.2",
"eslint-plugin-react": "^7.20.0",
"flow-bin": "^0.126.1",
"husky": ">=4",
"immutable": "^4.0.0-rc.12",
"install-peers-cli": "^2.2.0",
"jest-cli": "^26.0.1",
"lint-staged": ">=10",
"prettier": "^2.0.5",
"promise-polyfill": "^8.1.3",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"rollup": "^2.10.0",
"rollup-plugin-includepaths": "^0.2.3",
"rollup-plugin-terser": "^5.3.0",
"typescript": "^3.9.5"
},
"jest": {
"timers": "fake",
"globals": {
"__DEV__": true
},
"testPathIgnorePatterns": [
"/node_modules/",
"src/hooks/__tests__/Recoil_PublicHooks-test.js",
"src/hooks/__tests__/Recoil_useRecoilCallback-test.js",
"src/recoil_values/__tests__/Recoil_atomFamily-test.js",
"src/recoil_values/__tests__/Recoil_selector-test.js"
],
"setupFiles": [
"./setupJestMock.js"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,md,json}": "prettier --write"
}
}