-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
31 lines (31 loc) · 910 Bytes
/
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
{
"name": "use-async-machine",
"version": "0.1.7",
"description": "A hook for an async state machine",
"main": "lib/index.js",
"types": "types/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npm run build:commonjs && npm run build:types",
"build:commonjs": "rimraf ./lib && esbuild src/index.ts --outdir=lib --bundle --external:react --format=cjs --target=node12",
"build:types": "rimraf ./types && tsc --project tsconfig.types.json"
},
"files": [
"lib",
"types"
],
"author": "Zach Taylor",
"repository": "github:zachtylr21/use-async-machine",
"license": "MIT",
"devDependencies": {
"@types/node": "^14.14.41",
"@types/react": "^17.0.3",
"esbuild": "^0.11.12",
"react": "^17.0.2",
"rimraf": "^3.0.2",
"typescript": "^4.2.4"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0"
}
}