-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
74 lines (74 loc) · 2.09 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
{
"name": "react-axios",
"version": "2.0.6",
"description": "Axios Component for React with child function callback.",
"files": [
"*.md",
"es",
"lib",
"umd"
],
"main": "lib/index.js",
"jsnext:main": "es/index.js",
"scripts": {
"build": "npm run build-cjs && npm run build-es && npm run build-umd && npm run build-min",
"build-cjs": "rimraf lib && cross-env BABEL_ENV=cjs babel src -d lib --ignore __tests__",
"build-es": "rimraf es && cross-env BABEL_ENV=es babel src -d es --ignore __tests__",
"build-umd": "cross-env NODE_ENV=development webpack src/index.js umd/ReactAxios.js",
"build-min": "cross-env NODE_ENV=production webpack -p src/index.js umd/ReactAxios.min.js",
"lint": "eslint src",
"start": "node examples/index.js",
"test": "npm run lint && jest",
"release": "./scripts/release.sh"
},
"author": "Shea Ivey",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/sheaivey/react-axios"
},
"bugs": {
"url": "https://github.com/sheaivey/react-axios/issues"
},
"homepage": "https://github.com/sheaivey/react-axios",
"keywords": [
"axios",
"react",
"component",
"xhr",
"http",
"ajax",
"promise",
"node"
],
"peerDependencies": {
"axios": "^0.27.2",
"prop-types": "^15.8.1",
"react": "^16.0.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"axios": "^0.27.2",
"babel-cli": "^6.18.0",
"babel-core": "^6.18.2",
"babel-eslint": "^7.1.1",
"babel-loader": "^6.2.8",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-2": "^6.24.1",
"cross-env": "^3.1.3",
"eslint": "^3.2.0",
"eslint-config-rackt": "^1.1.1",
"eslint-plugin-react": "^6.7.1",
"express": "^4.14.0",
"express-urlrewrite": "^1.2.0",
"jest": "^23.6.0",
"prop-types": "^15.7.2",
"raf": "^3.4.0",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-test-renderer": "^18.1.0",
"webpack": "^1.13.3",
"webpack-dev-middleware": "^1.8.4"
}
}