-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
59 lines (59 loc) · 1.54 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
{
"name": "use-axios",
"version": "1.0.0",
"description": "Simple Axios hook for React. Use React Suspense to show loading indicator and Error Boundary to handle request errors.",
"keywords": [
"react",
"hooks",
"axios"
],
"repository": {
"type": "git",
"url": "https://github.com/ArnoSaine/use-axios.git"
},
"license": "ISC",
"author": {
"name": "Arno Saine",
"email": "[email protected]"
},
"type": "module",
"exports": {
".": "./mjs/main.js",
"./loading-state": "./mjs/loading-state/main.js"
},
"main": "./cjs/main.js",
"module": "./mjs/main.js",
"files": [
"cjs",
"mjs",
"loading-state"
],
"workspaces": [
".",
"examples/*"
],
"scripts": {
"build": "npm-run-all build:*",
"postbuild": "npm run update-submodules",
"build:cjs": "library-scripts build --type cjs --out-dir cjs",
"build:mjs": "library-scripts build --type mjs --out-dir mjs",
"build:examples": "npm run build --workspace=examples",
"test": "npm test --workspace=examples",
"update-submodules": "node scripts/update-submodules",
"watch": "concurrently \"npm:watch:*\"",
"watch:cjs": "library-scripts watch --type cjs --out-dir cjs",
"watch:mjs": "library-scripts watch --type mjs --out-dir mjs"
},
"dependencies": {
"@babel/runtime": "^7.12.5",
"@postinumero/use-async": "^0.1.2"
},
"devDependencies": {
"@postinumero/library-scripts": "^0.1.3",
"concurrently": "^5.1.0",
"npm-run-all": "^4.1.5"
},
"publishConfig": {
"tag": "latest"
}
}