-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
126 lines (126 loc) · 3.26 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "react-use-api",
"version": "2.5.1",
"license": "MIT",
"main": "build/index.js",
"files": [
"build",
"src"
],
"repository": "https://github.com/RyanRoll/react-use-api",
"homepage": "https://react-use-api.gitbook.io/react-use-api",
"scripts": {
"prepublishOnly": "yarn build",
"build": "yarn build:clear && tsc && yarn build:copy",
"build:clear": "shx rm -rf build",
"build:copy": "shx cp src/*.d.ts build",
"test": "node scripts/test.js",
"test:coverage": "jest --coverage",
"coveralls": "yarn coveralls:local && shx rm -rf ./coverage",
"coveralls:local": "yarn test:coverage | coveralls",
"semantic-release": "semantic-release",
"tslint": "tslint 'src/**/*.tsx?'"
},
"keywords": [
"react",
"react-hooks",
"axios",
"typescript",
"ssr",
"server-side-rendering",
"create-react-app",
"npm",
"npm-package",
"yarn",
"yarn-package"
],
"dependencies": {
"lru-cache": "^5.1.1"
},
"peerDependencies": {
"axios": "^0.18.0",
"react": "^16.9.0"
},
"devDependencies": {
"@babel/core": "7.10.2",
"@babel/runtime": "^7.5.5",
"@semantic-release/changelog": "^3.0.4",
"@semantic-release/git": "^7.0.16",
"@testing-library/react-hooks": "^2.0.1",
"@types/axios-mock-adapter": "^1.10.0",
"@types/jest": "24.0.13",
"@types/lru-cache": "^5.1.0",
"@types/node": "12.0.1",
"@types/react": "16.9.1",
"@types/react-dom": "16.8.5",
"@types/react-test-renderer": "^16.8.1",
"@typescript-eslint/eslint-plugin": "1.6.0",
"@typescript-eslint/parser": "1.6.0",
"axios": "^0.18.0",
"axios-mock-adapter": "^1.16.0",
"babel-jest": "^24.8.0",
"babel-preset-react-app": "^9.0.0",
"camelcase": "^5.2.0",
"coveralls": "^3.0.6",
"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",
"husky": "^3.0.4",
"identity-obj-proxy": "3.0.0",
"jest": "24.9.0",
"jest-environment-jsdom-fourteen": "0.1.0",
"jest-resolve": "24.7.1",
"jest-watch-typeahead": "0.3.0",
"react": "^16.9.0",
"react-app-polyfill": "^1.0.1",
"react-dom": "^16.9.0",
"react-test-renderer": "^16.8.6",
"semantic-release": "^15.13.21",
"shx": "^0.3.2",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^4.0.0",
"typescript": "^3.5.1"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"babel": {
"presets": [
"react-app"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn tslint && yarn build"
}
},
"release": {
"branch": "master",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
}
}