forked from simoneb/axios-hooks
-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
84 lines (84 loc) · 2.1 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
{
"name": "axios-hooks",
"version": "1.1.0",
"description": "axios-hooks",
"keywords": [
"axios",
"react",
"hooks"
],
"license": "MIT",
"author": "Simone Busoli <[email protected]>",
"homepage": "https://github.com/simoneb/axios-hooks",
"repository": "simoneb/axios-hooks",
"bugs": "https://github.com/simoneb/axios-hooks/issues",
"main": "lib/index.js",
"module": "es/index.js",
"typings": "./index.d.ts",
"files": [
"lib",
"es",
"src"
],
"scripts": {
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src/index.js --out-dir lib",
"build:es": "babel src/index.js --out-dir es",
"build": "run-p build:*",
"clean": "rimraf lib es coverage",
"format": "prettier --write \"src/**/*.{js,md,ts}\"",
"lint": "eslint src",
"prepare": "npm run clean && npm run build",
"prepublishOnly": "npm run build",
"release": "standard-version",
"test": "jest"
},
"dependencies": {
"@babel/runtime": "^7.4.5",
"lru-cache": "^5.1.1"
},
"peerDependencies": {
"react": "^16.8.0-0",
"axios": "^0.18.0"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"axios": "^0.18.0",
"babel-eslint": "^10.0.1",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.3.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-prettier": "^3.1.0",
"husky": "^1.3.1",
"jest": "^24.8.0",
"lint-staged": "^8.1.7",
"npm-run-all": "^4.1.5",
"prettier": "^1.17.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-hooks-testing-library": "^0.5.0",
"react-test-renderer": "^16.8.6",
"rimraf": "^2.6.3",
"standard-version": "^6.0.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,md}": [
"prettier --write",
"git add"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}