-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
43 lines (43 loc) · 945 Bytes
/
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
{
"name": "jscodemods",
"version": "1.0.0",
"description": "JS/React transforms because life is too short",
"main": "index.js",
"repository": "[email protected]:yannvr/codemods.git",
"author": "Yann VR <[email protected]>",
"license": "wtfpl",
"dependencies": {
"jscodeshift": "^0.5.1"
},
"devDependencies": {
"husky": "^1.2.0",
"jest": "^23.6.0",
"prettier": "^1.15.2",
"pretty-quick": "^1.8.0"
},
"scripts": {
"test": "jest",
"test:transform": "./scripts/test.sh",
"test:watch": "jest --watch --notify",
"transform": "./scripts/transform.sh"
},
"bin": {
"fix-staged": "./scripts/fix-staged.sh",
"fix": "./scripts/fix.sh"
},
"jest": {
"globals": {
"baseDir": "../"
},
"testEnvironment": "node",
"roots": [
"transforms"
]
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"pre-push": "npm test"
}
}
}