You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					132 lines
				
				3.4 KiB
			
		
		
			
		
	
	
					132 lines
				
				3.4 KiB
			| 
								 
											4 years ago
										 
									 | 
							
								{
							 | 
						||
| 
								 | 
							
								  "_from": "husky@1.3.1",
							 | 
						||
| 
								 | 
							
								  "_id": "husky@1.3.1",
							 | 
						||
| 
								 | 
							
								  "_inBundle": false,
							 | 
						||
| 
								 | 
							
								  "_integrity": "sha512-86U6sVVVf4b5NYSZ0yvv88dRgBSSXXmHaiq5pP4KDj5JVzdwKgBjEtUPOm8hcoytezFwbU+7gotXNhpHdystlg==",
							 | 
						||
| 
								 | 
							
								  "_location": "/husky",
							 | 
						||
| 
								 | 
							
								  "_phantomChildren": {
							 | 
						||
| 
								 | 
							
								    "error-ex": "1.3.2",
							 | 
						||
| 
								 | 
							
								    "json-parse-better-errors": "1.0.2",
							 | 
						||
| 
								 | 
							
								    "normalize-package-data": "2.5.0",
							 | 
						||
| 
								 | 
							
								    "p-limit": "2.3.0"
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  "_requested": {
							 | 
						||
| 
								 | 
							
								    "type": "version",
							 | 
						||
| 
								 | 
							
								    "registry": true,
							 | 
						||
| 
								 | 
							
								    "raw": "husky@1.3.1",
							 | 
						||
| 
								 | 
							
								    "name": "husky",
							 | 
						||
| 
								 | 
							
								    "escapedName": "husky",
							 | 
						||
| 
								 | 
							
								    "rawSpec": "1.3.1",
							 | 
						||
| 
								 | 
							
								    "saveSpec": null,
							 | 
						||
| 
								 | 
							
								    "fetchSpec": "1.3.1"
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  "_requiredBy": [
							 | 
						||
| 
								 | 
							
								    "#DEV:/"
							 | 
						||
| 
								 | 
							
								  ],
							 | 
						||
| 
								 | 
							
								  "_resolved": "https://registry.npmjs.org/husky/-/husky-1.3.1.tgz",
							 | 
						||
| 
								 | 
							
								  "_shasum": "26823e399300388ca2afff11cfa8a86b0033fae0",
							 | 
						||
| 
								 | 
							
								  "_spec": "husky@1.3.1",
							 | 
						||
| 
								 | 
							
								  "_where": "F:\\workspace\\gcy\\RK-archives\\ruoyi-ui",
							 | 
						||
| 
								 | 
							
								  "author": {
							 | 
						||
| 
								 | 
							
								    "name": "Typicode",
							 | 
						||
| 
								 | 
							
								    "email": "typicode@gmail.com"
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  "bin": {
							 | 
						||
| 
								 | 
							
								    "husky-upgrade": "lib/upgrader/bin.js"
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  "bugs": {
							 | 
						||
| 
								 | 
							
								    "url": "https://github.com/typicode/husky/issues"
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  "bundleDependencies": false,
							 | 
						||
| 
								 | 
							
								  "dependencies": {
							 | 
						||
| 
								 | 
							
								    "cosmiconfig": "^5.0.7",
							 | 
						||
| 
								 | 
							
								    "execa": "^1.0.0",
							 | 
						||
| 
								 | 
							
								    "find-up": "^3.0.0",
							 | 
						||
| 
								 | 
							
								    "get-stdin": "^6.0.0",
							 | 
						||
| 
								 | 
							
								    "is-ci": "^2.0.0",
							 | 
						||
| 
								 | 
							
								    "pkg-dir": "^3.0.0",
							 | 
						||
| 
								 | 
							
								    "please-upgrade-node": "^3.1.1",
							 | 
						||
| 
								 | 
							
								    "read-pkg": "^4.0.1",
							 | 
						||
| 
								 | 
							
								    "run-node": "^1.0.0",
							 | 
						||
| 
								 | 
							
								    "slash": "^2.0.0"
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  "deprecated": false,
							 | 
						||
| 
								 | 
							
								  "description": "Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)",
							 | 
						||
| 
								 | 
							
								  "devDependencies": {
							 | 
						||
| 
								 | 
							
								    "@types/del": "^3.0.1",
							 | 
						||
| 
								 | 
							
								    "@types/find-up": "^2.1.1",
							 | 
						||
| 
								 | 
							
								    "@types/get-stdin": "^5.0.1",
							 | 
						||
| 
								 | 
							
								    "@types/jest": "^23.3.9",
							 | 
						||
| 
								 | 
							
								    "@types/mkdirp": "^0.5.2",
							 | 
						||
| 
								 | 
							
								    "@types/node": "^10.12.9",
							 | 
						||
| 
								 | 
							
								    "del": "^3.0.0",
							 | 
						||
| 
								 | 
							
								    "del-cli": "^1.1.0",
							 | 
						||
| 
								 | 
							
								    "formatree": "^1.0.2",
							 | 
						||
| 
								 | 
							
								    "jest": "^23.6.0",
							 | 
						||
| 
								 | 
							
								    "mkdirp": "^0.5.1",
							 | 
						||
| 
								 | 
							
								    "pinst": "^1.1.1",
							 | 
						||
| 
								 | 
							
								    "pkg-ok": "^2.3.1",
							 | 
						||
| 
								 | 
							
								    "prettier": "^1.15.2",
							 | 
						||
| 
								 | 
							
								    "tempy": "^0.2.1",
							 | 
						||
| 
								 | 
							
								    "ts-jest": "^23.10.4",
							 | 
						||
| 
								 | 
							
								    "tslint": "^5.11.0",
							 | 
						||
| 
								 | 
							
								    "tslint-config-prettier": "^1.16.0",
							 | 
						||
| 
								 | 
							
								    "tslint-plugin-prettier": "^2.0.1",
							 | 
						||
| 
								 | 
							
								    "typescript": "^3.1.6"
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  "engines": {
							 | 
						||
| 
								 | 
							
								    "node": ">=6"
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  "homepage": "https://github.com/typicode/husky#readme",
							 | 
						||
| 
								 | 
							
								  "jest": {
							 | 
						||
| 
								 | 
							
								    "transform": {
							 | 
						||
| 
								 | 
							
								      "^.+\\.tsx?$": "ts-jest"
							 | 
						||
| 
								 | 
							
								    },
							 | 
						||
| 
								 | 
							
								    "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
							 | 
						||
| 
								 | 
							
								    "moduleFileExtensions": [
							 | 
						||
| 
								 | 
							
								      "ts",
							 | 
						||
| 
								 | 
							
								      "tsx",
							 | 
						||
| 
								 | 
							
								      "js",
							 | 
						||
| 
								 | 
							
								      "jsx",
							 | 
						||
| 
								 | 
							
								      "json",
							 | 
						||
| 
								 | 
							
								      "node"
							 | 
						||
| 
								 | 
							
								    ]
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  "keywords": [
							 | 
						||
| 
								 | 
							
								    "git",
							 | 
						||
| 
								 | 
							
								    "hook",
							 | 
						||
| 
								 | 
							
								    "hooks",
							 | 
						||
| 
								 | 
							
								    "pre-commit",
							 | 
						||
| 
								 | 
							
								    "precommit",
							 | 
						||
| 
								 | 
							
								    "post-commit",
							 | 
						||
| 
								 | 
							
								    "postcommit",
							 | 
						||
| 
								 | 
							
								    "pre-push",
							 | 
						||
| 
								 | 
							
								    "prepush",
							 | 
						||
| 
								 | 
							
								    "post-merge",
							 | 
						||
| 
								 | 
							
								    "postmerge",
							 | 
						||
| 
								 | 
							
								    "test",
							 | 
						||
| 
								 | 
							
								    "lint"
							 | 
						||
| 
								 | 
							
								  ],
							 | 
						||
| 
								 | 
							
								  "license": "MIT",
							 | 
						||
| 
								 | 
							
								  "name": "husky",
							 | 
						||
| 
								 | 
							
								  "repository": {
							 | 
						||
| 
								 | 
							
								    "type": "git",
							 | 
						||
| 
								 | 
							
								    "url": "git+https://github.com/typicode/husky.git"
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  "scripts": {
							 | 
						||
| 
								 | 
							
								    "build": "del-cli lib && tsc",
							 | 
						||
| 
								 | 
							
								    "devinstall": "npm run build && npm run _install -- node_modules/husky && node scripts/dev-fix-path",
							 | 
						||
| 
								 | 
							
								    "devuninstall": "npm run build && npm run preuninstall -- node_modules/husky",
							 | 
						||
| 
								 | 
							
								    "fix": "npm run lint -- --fix",
							 | 
						||
| 
								 | 
							
								    "install": "node husky install",
							 | 
						||
| 
								 | 
							
								    "lint": "tslint 'src/**/*.ts'",
							 | 
						||
| 
								 | 
							
								    "postpublish": "pinst --disable",
							 | 
						||
| 
								 | 
							
								    "postversion": "git push && git push --tags",
							 | 
						||
| 
								 | 
							
								    "prepublishOnly": "npm run test && npm run build && pinst --enable && pkg-ok",
							 | 
						||
| 
								 | 
							
								    "preuninstall": "node husky uninstall",
							 | 
						||
| 
								 | 
							
								    "test": "npm run lint && jest",
							 | 
						||
| 
								 | 
							
								    "version": "jest -u && git add -A src/installer/__tests__/__snapshots__"
							 | 
						||
| 
								 | 
							
								  },
							 | 
						||
| 
								 | 
							
								  "version": "1.3.1"
							 | 
						||
| 
								 | 
							
								}
							 |