-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 1.85 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
{
"name": "use-aspida-caller",
"version": "1.0.2",
"description": "React Hooks for getting callers and states by aspida",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "tsc",
"lint": "eslint . --ext .ts",
"test": "tsd && vitest",
"test:publish": "tsd && vitest --run",
"prepare": "npm run build",
"prepublishOnly": "npm run test:publish && npm run lint",
"preversion": "npm run lint",
"version": "git add -A src",
"postversion": "git push && git push --tags",
"check-updates": "npx npm-check-updates",
"check-updates:minor": "npx npm-check-updates --target minor",
"check-updates:patch": "npx npm-check-updates --target patch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/TeXmeijin/use-aspida-caller.git"
},
"files": [
"lib/**/*"
],
"keywords": [
"typescript",
"hooks",
"react",
"npm",
"aspida",
"ts"
],
"author": "TeXMeijin",
"license": "MIT",
"devDependencies": {
"@testing-library/react-hooks": "^7.0.2",
"@types/node": "^16.11.6",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"@vitejs/plugin-react": "^1.2.0",
"eslint": "^8.2.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.1",
"happy-dom": "^2.50.0",
"simple-git-hooks": "^2.7.0",
"tsd": "^0.19.1",
"typescript": "^4.6.3",
"vitest": "^0.7.10"
},
"peerDependencies": {
"react": ">=16.12.0"
},
"tsd": {
"directory": "src/types/__tests__"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"./{src,firebase}/**/*.{ts,tsx}": [
"yarn lint --fix",
"yarn format:fix"
]
}
}