/
package.json
80 lines (80 loc) · 1.95 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
{
"name": "@n1ru4l/use-async-effect",
"version": "0.0.0-semantically-released",
"license": "MIT",
"author": {
"name": "Laurin Quast",
"email": "laurinquast@googlemail.com",
"url": "https://github.com/n1ru4l"
},
"homepage": "https://github.com/n1ru4l/use-async-effect#readme",
"repository": {
"type": "git",
"url": "https://github.com/n1ru4l/use-async-effect"
},
"bugs": {
"url": "https://github.com/n1ru4l/use-async-effect/issues"
},
"keywords": [
"react",
"async",
"hook"
],
"module": "dist/module/index.js",
"main": "dist/main/index.js",
"typings": "dist/module/index.d.ts",
"devDependencies": {
"@testing-library/react": "11.2.5",
"@types/jest": "26.0.20",
"@types/react": "17.0.2",
"@typescript-eslint/eslint-plugin": "4.15.1",
"@typescript-eslint/parser": "4.15.1",
"doctoc": "2.0.0",
"eslint": "7.20.0",
"eslint-config-prettier": "7.2.0",
"eslint-plugin-jest": "24.1.5",
"eslint-plugin-react": "7.22.0",
"husky": "5.0.9",
"jest": "26.6.3",
"lint-staged": "10.5.4",
"prettier": "2.2.1",
"react": "17.0.1",
"react-dom": "17.0.1",
"rimraf": "3.0.2",
"semantic-release": "17.3.9",
"ts-jest": "26.5.1",
"typescript": "4.1.5"
},
"peerDependencies": {
"react": "^16.8.6 || 17.x || 18.x"
},
"scripts": {
"lint": "eslint --ignore-path .gitignore --ext .ts,.tsx \"src/**/*\"",
"test": "jest",
"build:module": "tsc --target es2017 --outDir dist/module",
"build:main": "tsc --target es5 --outDir dist/main",
"build": "rimraf dist && yarn build:module && yarn build:main"
},
"files": [
"dist/**/*",
"LICENSE",
"README.md"
],
"husky": {
"hooks": {
"pre-commit": "yarn test && lint-staged"
}
},
"lint-staged": {
"*.{yml,ts,tsx,js,json}": [
"prettier --write"
],
"*.{ts,tsx,js}": [
"eslint"
],
"*.md": [
"doctoc",
"prettier --write"
]
}
}