-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 2.53 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
{
"name": "@slergberg/react-hook-use-actions-reducer",
"version": "0.4.2",
"description": "A verty simple useReducer that supports actions for React",
"keywords": [
"actions",
"context",
"hooks",
"react",
"reactjs",
"reducer",
"state"
],
"license": "MIT",
"author": "Rodrigo Scomação do Nascimento <rodrigo.sc.na@gmail.com> (https://github.com/rodrigoscna)",
"homepage": "https://github.com/slergberg/react-hook-use-actions-reducer",
"repository": "github:slergberg/react-hook-use-actions-reducer",
"bugs": "https://github.com/slergberg/react-hook-use-actions-reducer/issues",
"main": "./lib/index.js",
"unpkg": "dist/react-hook-use-actions-reducer.js",
"module": "es/index.js",
"files": [
"dist",
"es",
"lib",
"src"
],
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/plugin-proposal-object-rest-spread": "^7.9.6",
"@babel/plugin-transform-runtime": "7.14.5",
"@babel/preset-env": "^7.9.6",
"@rollup/plugin-replace": "^3.0.0",
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^7.0.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^4.0.0",
"husky": "^7.0.0",
"jest": "^27.0.0",
"prettier": "^2.0.5",
"pretty-quick": "^3.0.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-test-renderer": "^16.13.1",
"rimraf": "^3.0.2",
"rollup": "^2.9.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^7.0.0",
"rollup-plugin-visualizer": "^5.0.3"
},
"scripts": {
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "babel src --out-dir es",
"build:umd": "cross-env NODE_ENV=development rollup -c -o dist/react-hook-use-actions-reducer.js",
"build:umd:min": "cross-env NODE_ENV=production rollup -c -o dist/react-hook-use-actions-reducer.min.js",
"build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
"clean": "rimraf coverage dist es lib stats",
"lint": "eslint src tests",
"prepare": "npm run clean && npm run build",
"pretest": "npm run lint",
"test": "jest"
}
}