forked from jamesplease/react-request
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 2.56 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
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "react-request",
"version": "3.0.1",
"description": "Declarative HTTP requests with React.",
"main": "lib/index.js",
"module": "es/index.js",
"scripts": {
"clean": "rimraf dist es tmp lib",
"test": "npm run lint && npm run test:unit",
"test:unit": "jest",
"lint": "eslint src test",
"prepublish": "in-publish && npm run build || not-in-publish",
"build": "npm run clean && npm run build:umd && npm run build:umd:min && npm run build:es && npm run build:commonjs",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"build:umd": "cross-env NODE_ENV=development BABEL_ENV=build rollup -c -i src/index.js -o dist/react-request.js",
"build:umd:min": "cross-env NODE_ENV=production BABEL_ENV=buildProd rollup -c -i src/index.js -o dist/react-request.min.js"
},
"repository": {
"type": "git",
"url": "https://github.com/jamesplease/react-request.git"
},
"keywords": [
"react",
"http",
"https",
"request",
"requests",
"response",
"xhr",
"xmlhttprequest",
"fetch",
"cors",
"json",
"api",
"data",
"rest",
"restful",
"crud"
],
"author": "James Smith <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/jamesplease/react-request/issues"
},
"files": [
"dist",
"lib",
"es"
],
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.1",
"babel-jest": "^22.1.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-react-remove-prop-types": "^0.4.12",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-3": "^6.24.1",
"coveralls": "^3.0.0",
"cross-env": "^5.1.3",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.17.0",
"eslint-plugin-react": "^7.6.1",
"fetch-mock": "^6.0.0",
"in-publish": "^2.0.0",
"jest": "^22.1.4",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"rimraf": "^2.6.2",
"rollup": "^0.45.1",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-commonjs": "^8.2.6",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-replace": "^1.2.1",
"rollup-plugin-uglify": "^2.0.1"
},
"dependencies": {
"fetch-dedupe": "^3.0.0",
"prop-types": "^15.6.0"
}
}