-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
73 lines (73 loc) · 2.5 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
{
"name": "@pilotconway/react-request-hook",
"productName": "react-request-hook",
"version": "0.1.0-alpha4",
"description": "Library for communicating with a RESTful server using React Hooks.",
"type": "module",
"main": "dist/index.js",
"module": "dist/esm/index.js",
"browser": "./dist/react-request-hook.umd.js",
"keywords": [],
"files": [
"dist"
],
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"peerDependencies": {
"prop-types": "15.7.2",
"react": "16.8.6",
"react-dom": "16.8.6"
},
"dependencies": {
"@material-ui/core": "4.0.2",
"@material-ui/icons": "^4.1.0",
"axios": "^0.19.0",
"color": "3.1.2"
},
"devDependencies": {
"@babel/cli": "^7.5.0",
"@babel/core": "7.4.3",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/plugin-syntax-import-meta": "^7.2.0",
"@babel/preset-env": "^7.5.4",
"@babel/preset-react": "^7.0.0",
"babel-eslint": "10.0.1",
"babel-jest": "^24.8.0",
"babel-loader": "8.0.5",
"babel-plugin-named-asset-import": "^0.3.2",
"babel-preset-react-app": "^9.0.0",
"codecov": "^3.5.0",
"eslint": "^5.16.0",
"eslint-config-react-app": "^4.0.1",
"eslint-loader": "2.1.2",
"eslint-plugin-flowtype": "2.50.1",
"eslint-plugin-import": "2.16.0",
"eslint-plugin-jsx-a11y": "6.2.1",
"eslint-plugin-react": "7.12.4",
"eslint-plugin-react-hooks": "^1.5.0",
"file-loader": "3.0.1",
"fs-extra": "7.0.1",
"jest": "^24.8.0",
"jest-environment-jsdom-fourteen": "0.1.0",
"jest-watch-typeahead": "^0.3.1",
"nock": "^10.0.6",
"rollup": "^1.17.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.0.1",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.1"
},
"scripts": {
"build": "yarn build:cjs && yarn build:esm && yarn build:es && yarn build:umd && yarn copy-files",
"build:cjs": "NODE_ENV=production BABEL_ENV=cjs babel ./src --out-dir ./dist --ignore \"**/*.spec.js\"",
"build:esm": "NODE_ENV=production BABEL_ENV=esm babel ./src --out-dir ./dist/esm --ignore \"**/*.spec.js\"",
"build:es": "NODE_ENV=production BABEL_ENV=es babel ./src --out-dir ./dist/es --ignore \"**/*.spec.js\"",
"build:umd": "BABEL_ENV=production-umd rollup -c ./rollup.config.js",
"copy-files": "node ./scripts/copy-files.js",
"dist:clean": "rm -rf dist/ && rm -rf node_modules/",
"test": "jest"
}
}