UNPKG

2.6 kBJSONView Raw
1{
2 "name": "recoil",
3 "version": "0.1.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 src/*",
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 "peerDependencies": {
30 "react": "^16.13.1"
31 },
32 "peerDependenciesMeta": {
33 "react-dom": {
34 "optional": true
35 },
36 "react-native": {
37 "optional": true
38 }
39 },
40 "devDependencies": {
41 "@babel/core": "^7.9.6",
42 "@babel/plugin-proposal-class-properties": "^7.8.3",
43 "@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
44 "@babel/plugin-proposal-optional-chaining": "^7.9.0",
45 "@babel/plugin-syntax-optional-chaining": "^7.8.3",
46 "@babel/plugin-transform-flow-strip-types": "^7.9.0",
47 "@babel/preset-flow": "^7.9.0",
48 "@babel/preset-react": "^7.9.4",
49 "@rollup/plugin-babel": "^5.0.0",
50 "@rollup/plugin-commonjs": "^11.1.0",
51 "@rollup/plugin-node-resolve": "^7.1.3",
52 "@rollup/plugin-replace": "^2.3.2",
53 "@types/react": "^16.9.35",
54 "babel-eslint": "^10.1.0",
55 "babel-jest": "^26.0.1",
56 "babel-plugin-module-resolver": "^4.0.0",
57 "babel-preset-fbjs": "^3.3.0",
58 "dtslint": "^3.6.11",
59 "eslint": "^7.2.0",
60 "eslint-plugin-fb-www": "^0.0.1",
61 "eslint-plugin-flowtype": "^5.1.3",
62 "eslint-plugin-jest": "^23.13.2",
63 "eslint-plugin-react": "^7.20.0",
64 "flow-bin": "^0.129.0",
65 "gen-flow-files": "^0.4.11",
66 "husky": ">=4",
67 "immutable": "^4.0.0-rc.12",
68 "install-peers-cli": "^2.2.0",
69 "jest-cli": "^26.0.1",
70 "lint-staged": ">=10",
71 "prettier": "^2.0.5",
72 "promise-polyfill": "^8.1.3",
73 "react": "^16.13.1",
74 "react-dom": "^16.13.1",
75 "rollup": "^2.10.0",
76 "rollup-plugin-includepaths": "^0.2.3",
77 "rollup-plugin-terser": "^5.3.0",
78 "typescript": "^3.9.5"
79 },
80 "husky": {
81 "hooks": {
82 "pre-commit": "lint-staged"
83 }
84 },
85 "lint-staged": {
86 "*.{js,md,json}": "prettier --write",
87 "*.{js}": "eslint --fix"
88 }
89}