UNPKG

2.78 kBJSONView Raw
1{
2 "name": "recoil",
3 "version": "0.5.2",
4 "description": "Recoil - A state management library for React",
5 "main": "cjs/recoil.js",
6 "module": "es/recoil.js",
7 "react-native": "native/recoil.js",
8 "unpkg": "umd/recoil.js",
9 "files": [
10 "umd",
11 "es",
12 "cjs",
13 "native",
14 "index.d.ts"
15 ],
16 "repository": "https://github.com/facebookexperimental/Recoil.git",
17 "license": "MIT",
18 "scripts": {
19 "prepare": "install-peers",
20 "build": "rollup -c && node scripts/postbuild.js",
21 "test": "jest packages/*",
22 "format": "prettier --write \"./**/*.{js,md,json}\"",
23 "flow": "flow --show-all-errors",
24 "flow:restart": "flow stop && npm run flow",
25 "test:typescript": "dtslint typescript",
26 "lint": "eslint .",
27 "deploy-nightly": "yarn build && node scripts/deploy_nightly_build.js"
28 },
29 "dependencies": {
30 "hamt_plus": "1.0.2"
31 },
32 "peerDependencies": {
33 "react": ">=16.13.1"
34 },
35 "peerDependenciesMeta": {
36 "react-dom": {
37 "optional": true
38 },
39 "react-native": {
40 "optional": true
41 }
42 },
43 "devDependencies": {
44 "@babel/core": "^7.9.6",
45 "@babel/plugin-proposal-class-properties": "^7.8.3",
46 "@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
47 "@babel/plugin-proposal-optional-chaining": "^7.9.0",
48 "@babel/plugin-syntax-optional-chaining": "^7.8.3",
49 "@babel/plugin-transform-flow-strip-types": "^7.9.0",
50 "@babel/preset-flow": "^7.9.0",
51 "@babel/preset-react": "^7.9.4",
52 "@rollup/plugin-alias": "^3.1.5",
53 "@rollup/plugin-babel": "^5.0.0",
54 "@rollup/plugin-commonjs": "^11.1.0",
55 "@rollup/plugin-node-resolve": "^7.1.3",
56 "@rollup/plugin-replace": "^2.3.2",
57 "@types/react": ">=16.13.1",
58 "babel-eslint": "^10.1.0",
59 "babel-jest": "^26.0.1",
60 "babel-plugin-module-resolver": "^4.0.0",
61 "babel-preset-fbjs": "^3.3.0",
62 "dtslint": "^3.6.11",
63 "eslint": "^7.2.0",
64 "eslint-plugin-fb-www": "^1.0.7",
65 "eslint-plugin-flowtype": "^5.1.3",
66 "eslint-plugin-jest": "^23.13.2",
67 "eslint-plugin-react": "^7.20.0",
68 "eslint-plugin-react-hooks": "^4.2.0",
69 "eslint-plugin-rulesdir": "^0.1.0",
70 "flow-bin": "^0.162.1",
71 "gen-flow-files": "^0.4.11",
72 "husky": ">=4",
73 "immutable": "^4.0.0-rc.12",
74 "install-peers-cli": "^2.2.0",
75 "jest-cli": "^26.0.1",
76 "lint-staged": ">=10",
77 "prettier": "^2.1.4",
78 "promise-polyfill": "^8.1.3",
79 "react": ">=16.13.1",
80 "react-dom": ">=16.13.1",
81 "rollup": "^2.10.0",
82 "rollup-plugin-includepaths": "^0.2.3",
83 "rollup-plugin-terser": "^5.3.0",
84 "typescript": "^3.9.5"
85 },
86 "husky": {
87 "hooks": {
88 "pre-commit": "lint-staged"
89 }
90 },
91 "lint-staged": {
92 "*.{js,md,json}": "prettier --write",
93 "*.{js}": "eslint --fix"
94 }
95}