UNPKG

2.58 kBJSONView Raw
1{
2 "name": "recoil",
3 "version": "0.0.10",
4 "description": "Recoil - A state management library for React",
5 "main": "dist/index.js",
6 "files": [
7 "dist"
8 ],
9 "repository": "https://github.com/facebookexperimental/recoil.git",
10 "license": "MIT",
11 "scripts": {
12 "prepare": "install-peers",
13 "build": "rollup -c && node scripts/postbuild.js",
14 "test": "jest src/*",
15 "format": "prettier --write \"./**/*.{js,md,json}\"",
16 "flow": "flow --show-all-errors",
17 "flow:restart": "flow stop && npm run flow",
18 "test:typescript": "dtslint typescript",
19 "lint": "eslint ."
20 },
21 "peerDependencies": {
22 "react": "^16.13.1",
23 "react-dom": "^16.13.1"
24 },
25 "devDependencies": {
26 "@babel/core": "^7.9.6",
27 "@babel/plugin-proposal-class-properties": "^7.8.3",
28 "@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
29 "@babel/plugin-proposal-optional-chaining": "^7.9.0",
30 "@babel/plugin-syntax-optional-chaining": "^7.8.3",
31 "@babel/plugin-transform-flow-strip-types": "^7.9.0",
32 "@babel/preset-flow": "^7.9.0",
33 "@babel/preset-react": "^7.9.4",
34 "@rollup/plugin-babel": "^5.0.0",
35 "@rollup/plugin-commonjs": "^11.1.0",
36 "@rollup/plugin-node-resolve": "^7.1.3",
37 "@rollup/plugin-replace": "^2.3.2",
38 "@types/react": "^16.9.35",
39 "babel-eslint": "^10.1.0",
40 "babel-jest": "^26.0.1",
41 "babel-plugin-module-resolver": "^4.0.0",
42 "babel-preset-fbjs": "^3.3.0",
43 "dtslint": "^3.6.11",
44 "eslint": "^7.2.0",
45 "eslint-plugin-flowtype": "^5.1.3",
46 "eslint-plugin-react": "^7.20.0",
47 "flow-bin": "^0.126.1",
48 "husky": ">=4",
49 "immutable": "^4.0.0-rc.12",
50 "install-peers-cli": "^2.2.0",
51 "jest-cli": "^26.0.1",
52 "lint-staged": ">=10",
53 "prettier": "^2.0.5",
54 "promise-polyfill": "^8.1.3",
55 "react": "^16.13.1",
56 "react-dom": "^16.13.1",
57 "rollup": "^2.10.0",
58 "rollup-plugin-includepaths": "^0.2.3",
59 "rollup-plugin-terser": "^5.3.0",
60 "typescript": "^3.9.5"
61 },
62 "jest": {
63 "timers": "fake",
64 "globals": {
65 "__DEV__": true
66 },
67 "testPathIgnorePatterns": [
68 "/node_modules/",
69 "src/hooks/__tests__/Recoil_PublicHooks-test.js",
70 "src/hooks/__tests__/Recoil_useRecoilCallback-test.js",
71 "src/recoil_values/__tests__/Recoil_atomFamily-test.js",
72 "src/recoil_values/__tests__/Recoil_selector-test.js"
73 ],
74 "setupFiles": [
75 "./setupJestMock.js"
76 ]
77 },
78 "husky": {
79 "hooks": {
80 "pre-commit": "lint-staged"
81 }
82 },
83 "lint-staged": {
84 "*.{js,md,json}": "prettier --write"
85 }
86}