-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
63 lines (63 loc) · 1.5 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
{
"name": "react-use-a2hs",
"version": "0.0.2",
"license": "MIT",
"author": "kodai <[email protected]>",
"description": "Use Before Install Prompt Event with React Hooks",
"main": "dist/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"homepage": "https://github.com/kodai3/react-use-a2hs#readme",
"repository": {
"type": "git",
"url": "https://github.com/kodai3/react-use-a2hs"
},
"bugs": {
"url": "https://github.com/kodai3/react-use-a2hs/issues"
},
"keywords": [
"typescript",
"react",
"hooks",
"pwa"
],
"files": [
"dist"
],
"sideEffects": false,
"scripts": {
"build": "rm -rf ./dist && yarn build:cjs && yarn build:es",
"build:cjs": "tsc",
"build:es": "tsc -m esNext --outDir ./dist/esm",
"format": "prettier . -w",
"lint": "eslint src/**/*.ts",
"lint:fix": "yarn lint --fix"
},
"devDependencies": {
"@types/react": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^4.15.1",
"@typescript-eslint/parser": "^4.15.1",
"eslint": "^7.20.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^5.0.9",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"react": "^17.0.1",
"typescript": "^4.1.5"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "prettier ./src -c"
}
},
"lint-staged": {
"**/*.ts": [
"eslint --fix"
]
}
}