forked from dai-shi/react-hooks-async
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "react-hooks-async",
"description": "An abortable async function library with React Hooks",
"version": "3.6.1",
"author": "Daishi Kato",
"repository": {
"type": "git",
"url": "https://github.com/dai-shi/react-hooks-async.git"
},
"main": "./dist/index.js",
"module": "./src/index.js",
"types": "./src/index.d.ts",
"sideEffects": false,
"files": [
"src",
"dist"
],
"scripts": {
"compile": "babel src -d dist",
"test": "npm run eslint && npm run tsc-test && npm run jest",
"eslint": "eslint --ext .js,.ts,.tsx --ignore-pattern dist .",
"jest": "jest",
"tsc-test": "tsc --project . --noEmit",
"examples:minimal": "DIR=01_minimal EXT=js webpack-dev-server",
"examples:typescript": "DIR=02_typescript webpack-dev-server",
"examples:startbutton": "DIR=03_startbutton webpack-dev-server",
"examples:typeahead": "DIR=04_typeahead webpack-dev-server",
"examples:axios": "DIR=05_axios webpack-dev-server",
"examples:progress": "DIR=06_progress webpack-dev-server",
"examples:race": "DIR=07_race webpack-dev-server",
"examples:wasm": "DIR=08_wasm webpack-dev-server",
"examples:args": "DIR=09_args webpack-dev-server"
},
"keywords": [
"react",
"hooks",
"fetch"
],
"license": "MIT",
"dependencies": {
"use-memo-one": "^1.1.1"
},
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.0",
"@babel/preset-env": "^7.7.0",
"@babel/preset-react": "^7.7.0",
"@testing-library/react": "^9.3.2",
"@types/react": "^16.9.11",
"@types/react-dom": "^16.9.3",
"@typescript-eslint/eslint-plugin": "^2.6.1",
"@typescript-eslint/parser": "^2.6.1",
"axios": "^0.19.0",
"babel-core": "^7.0.0-bridge.0",
"babel-loader": "^8.0.6",
"core-js": "^3.3.6",
"eslint": "^6.6.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^2.2.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^24.9.0",
"react": "experimental",
"react-dom": "experimental",
"ts-loader": "^6.2.1",
"typescript": "^3.6.4",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "usage",
"corejs": 3
}
],
"@babel/preset-react"
]
}
}