forked from typicode/husky
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.14 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
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "husky",
"version": "0.15.0-rc.13",
"description": "Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)",
"bin": {
"husky-upgrade": "./lib/upgrader/bin.js"
},
"scripts": {
"test": "npm run lint && jest",
"install": "node lib/installer/bin install",
"preuninstall": "node lib/installer/bin uninstall",
"devinstall": "npm run build && npm run install -- node_modules/husky && node scripts/dev",
"devuninstall": "npm run build && npm run preuninstall -- node_modules/husky",
"build": "del-cli lib && tsc",
"prepublishOnly": "npm run test && npm run build && pkg-ok --bin templates/hook.sh",
"lint": "tslint 'src/**/*.ts'",
"fix": "npm run lint -- --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/typicode/husky.git"
},
"keywords": [
"git",
"hook",
"hooks",
"pre-commit",
"precommit",
"post-commit",
"postcommit",
"pre-push",
"prepush",
"post-merge",
"postmerge",
"test",
"lint"
],
"author": "Typicode <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/typicode/husky/issues"
},
"homepage": "https://github.com/typicode/husky#readme",
"dependencies": {
"cosmiconfig": "^4.0.0",
"execa": "^0.9.0",
"is-ci": "^1.1.0",
"pkg-dir": "^2.0.0",
"pupa": "^1.0.0",
"read-pkg": "^3.0.0",
"run-node": "^0.2.0",
"slash": "^1.0.0"
},
"devDependencies": {
"@types/execa": "^0.8.1",
"@types/jest": "^22.2.0",
"@types/node": "^9.4.7",
"cross-env": "^5.1.4",
"del": "^3.0.0",
"del-cli": "^1.1.0",
"jest": "^22.4.3",
"mkdirp": "^0.5.1",
"pkg-ok": "^2.1.0",
"prettier": "^1.11.1",
"tempy": "^0.2.1",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.10.0",
"tslint-plugin-prettier": "^1.3.0",
"typescript": "^2.7.2"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "<rootDir>/preprocessor.js"
},
"testMatch": [
"**/__tests__/*.(ts|tsx|js)"
]
}
}