-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
38 lines (38 loc) · 990 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
32
33
34
35
36
37
38
{
"name": "react-promise",
"version": "3.0.2",
"source": "src/usePromise.ts",
"main": "dist/cjs/usePromise.js",
"module": "dist/esm/usePromise.js",
"typings": "dist/esm/usePromise.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "yarn build:esm && yarn build:cjs",
"prepare": "npm run build",
"build:esm": "tsc --module esnext --target esnext --outDir dist/esm",
"build:cjs": "tsc --module commonjs --target es5 --outDir dist/cjs",
"test": "jest",
"jw": "jest --watch"
},
"devDependencies": {
"@types/jest": "^24.0.12",
"@types/react": "^16.8.15",
"husky": "^2.1.0",
"jest": "^24.7.1",
"microbundle": "^0.11.0",
"prettier": "^1.17.0",
"pretty-quick": "^1.10.0",
"react": "^16.8.6",
"react-hooks-testing-library": "^0.5.0",
"react-test-renderer": "^16.8.6",
"ts-jest": "^24.0.2",
"typescript": "^3.4.5"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}