1 | {
|
2 | "name": "recoil",
|
3 | "version": "0.6.1",
|
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.16.0",
|
45 | "@babel/plugin-proposal-class-properties": "^7.16.0",
|
46 | "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0",
|
47 | "@babel/plugin-proposal-optional-chaining": "^7.16.0",
|
48 | "@babel/plugin-syntax-optional-chaining": "^7.8.3",
|
49 | "@babel/plugin-transform-flow-strip-types": "^7.16.0",
|
50 | "@babel/preset-flow": "^7.16.0",
|
51 | "@babel/preset-react": "^7.16.0",
|
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-jest": "^26.0.1",
|
59 | "babel-plugin-module-resolver": "^4.0.0",
|
60 | "babel-preset-fbjs": "^3.3.0",
|
61 | "dtslint": "^4.2.0",
|
62 | "eslint": "^8.2.0",
|
63 | "eslint-plugin-fb-www": "^1.8.0",
|
64 | "eslint-plugin-flowtype": "^8.0.3",
|
65 | "eslint-plugin-jest": "^23.13.2",
|
66 | "eslint-plugin-react": "^7.20.0",
|
67 | "eslint-plugin-react-hooks": "^4.2.0",
|
68 | "eslint-plugin-rulesdir": "^0.2.0",
|
69 | "flow-bin": "^0.164.0",
|
70 | "gen-flow-files": "https://github.com/drarmstr/gen-flow-files.git",
|
71 | "hermes-eslint": "^0.4.8",
|
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.4.1",
|
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 | }
|