-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
55 lines (55 loc) · 1.37 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
{
"name": "react-firebase-pagination-hooks",
"version": "1.0.1",
"main": "dist/index.js",
"module": "dist/esm/index.js",
"files": [
"dist/"
],
"license": "Apache-2.0",
"scripts": {
"lint": "eslint src/**/*.ts",
"lint:fix": "yarn lint --fix",
"clean": "rimraf dist",
"build:cjs": "tsc",
"build:es": "tsc -m esNext --outDir ./dist/esm",
"build": "yarn build:cjs && yarn build:es",
"pre-release": "yarn clean && yarn build"
},
"dependencies": {},
"devDependencies": {
"@types/react": "^16.9.41",
"@typescript-eslint/eslint-plugin": "^3.7.0",
"@typescript-eslint/parser": "^3.4.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.3.1",
"eslint-config-react-app": "^5.2.1",
"eslint-plugin-flowtype": "^5.1.3",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4.0.8",
"firebase": "^7.15.5",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"rimraf": "^3.0.2",
"typescript": "^3.9.7",
"react": "16.13.1"
},
"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"lint-staged": {
"src/**/*.ts": [
"eslint --fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn lint && yarn clean && yarn build"
}
}
}