UNPKG

2.79 kBJSONView Raw
1{
2 "name": "husky",
3 "version": "2.3.0",
4 "description": "Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)",
5 "bin": {
6 "husky-upgrade": "./lib/upgrader/bin.js"
7 },
8 "engines": {
9 "node": ">=8"
10 },
11 "scripts": {
12 "test": "npm run lint && jest",
13 "install": "node husky install",
14 "preuninstall": "node husky uninstall",
15 "devinstall": "npm run build && npm run _install -- node_modules/husky && node scripts/dev-fix-path",
16 "devuninstall": "npm run build && npm run preuninstall -- node_modules/husky",
17 "build": "del-cli lib && tsc",
18 "version": "jest -u && git add -A src/installer/__tests__/__snapshots__",
19 "postversion": "git push && git push --tags",
20 "prepublishOnly": "npm run test && npm run build && pinst --enable && pkg-ok",
21 "postpublish": "pinst --disable",
22 "lint": "eslint . --ext .js,.jsx,.ts,.tsx --ignore-path .gitignore",
23 "fix": "npm run lint -- --fix"
24 },
25 "repository": {
26 "type": "git",
27 "url": "git+https://github.com/typicode/husky.git"
28 },
29 "keywords": [
30 "git",
31 "hook",
32 "hooks",
33 "pre-commit",
34 "precommit",
35 "post-commit",
36 "postcommit",
37 "pre-push",
38 "prepush",
39 "post-merge",
40 "postmerge",
41 "test",
42 "lint"
43 ],
44 "author": "Typicode <typicode@gmail.com>",
45 "license": "MIT",
46 "bugs": {
47 "url": "https://github.com/typicode/husky/issues"
48 },
49 "homepage": "https://github.com/typicode/husky#readme",
50 "dependencies": {
51 "cosmiconfig": "^5.2.0",
52 "execa": "^1.0.0",
53 "find-up": "^3.0.0",
54 "get-stdin": "^7.0.0",
55 "is-ci": "^2.0.0",
56 "pkg-dir": "^4.1.0",
57 "please-upgrade-node": "^3.1.1",
58 "read-pkg": "^5.1.1",
59 "run-node": "^1.0.0",
60 "slash": "^3.0.0"
61 },
62 "devDependencies": {
63 "@types/cosmiconfig": "^5.0.3",
64 "@types/find-up": "^2.1.1",
65 "@types/jest": "^24.0.13",
66 "@types/mkdirp": "^0.5.2",
67 "@types/node": "^12.0.1",
68 "@types/read-pkg": "^4.0.0",
69 "@typescript-eslint/eslint-plugin": "^1.9.0",
70 "@typescript-eslint/parser": "^1.9.0",
71 "del": "^4.1.1",
72 "del-cli": "^1.1.0",
73 "eslint": "^5.16.0",
74 "eslint-config-prettier": "^4.2.0",
75 "eslint-config-xo-space": "^0.21.0",
76 "eslint-plugin-prettier": "^3.1.0",
77 "formatree": "^1.0.2",
78 "jest": "^24.8.0",
79 "mkdirp": "^0.5.1",
80 "pinst": "^1.1.1",
81 "pkg-ok": "^2.3.1",
82 "prettier": "^1.17.1",
83 "tempy": "^0.3.0",
84 "ts-jest": "^24.0.2",
85 "typescript": "^3.4.5"
86 },
87 "jest": {
88 "transform": {
89 "^.+\\.tsx?$": "ts-jest"
90 },
91 "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
92 "moduleFileExtensions": [
93 "ts",
94 "tsx",
95 "js",
96 "jsx",
97 "json",
98 "node"
99 ]
100 }
101}