-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
53 lines (53 loc) · 1.35 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
{
"name": "create-global-state-selector",
"version": "1.1.3",
"description": "Create global state selectors from local redux slice selectors",
"main": "lib/index.js",
"types": "lib",
"scripts": {
"test": "jest",
"test:coverage": "jest --coverage",
"build": "npm run format:check && npm run test && tsc -p . && echo \"Build successful inside lib\"",
"format:check": "prettier --check \"src/\"",
"format:fix": "prettier --write \"src/\"",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ashish-r/create-global-state-selector.git"
},
"keywords": [
"react",
"redux",
"flux",
"redux-toolkit",
"redux-selector",
"slice-selector"
],
"author": "Ashish Ranjan",
"license": "MIT",
"bugs": {
"url": "https://github.com/ashish-r/create-global-state-selector/issues"
},
"homepage": "https://github.com/ashish-r/create-global-state-selector#readme",
"devDependencies": {
"@types/jest": "^26.0.23",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^11.0.0",
"prettier": "^2.2.1",
"ts-jest": "^26.5.6",
"typescript": "^4.2.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"npm run format:fix",
"npm run test --bail --findRelatedTests"
]
}
}