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