forked from secretlint/secretlint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.31 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
{
"private": true,
"name": "root",
"version": "1.0.0",
"description": "Pluggable linting tool to prevent commit secret/credential file.",
"keywords": [
"secret",
"credential",
"lint",
"linting",
"git"
],
"homepage": "https://github.com/secretlint/secretlint",
"bugs": {
"url": "https://github.com/secretlint/secretlint/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/secretlint/secretlint.git"
},
"license": "MIT",
"author": "azu",
"workspaces": [
"packages/*",
"packages/@secretlint/*",
"examples/*"
],
"scripts": {
"bootstrap": "lerna bootstrap",
"versionup": "lerna version --no-push --no-git-tag-version --conventional-commits",
"versionup:patch": "lerna version patch --no-push --no-git-tag-version --conventional-commits",
"versionup:minor": "lerna version minor --no-push --no-git-tag-version --conventional-commits",
"versionup:major": "lerna version major --no-push --no-git-tag-version --conventional-commits",
"postversionup": "npm run commit-version",
"postversionup:patch": "npm run commit-version",
"postversionup:minor": "npm run commit-version",
"postversionup:major": "npm run commit-version",
"commit-version": "git add . && git commit -m \"chore(release): v`node -p 'require(\"./lerna.json\").version'`\"",
"release": "lerna publish from-package",
"release-ci": "yarn run build && lerna publish from-package --yes --no-verify-access",
"build": "lerna run build",
"build:withoutrule": "lerna run build --ignore \"@secretlint/*-rule-*\"",
"updateSnapshot": "UPDATE_SNAPSHOT=1 lerna run test",
"test": "lerna run test",
"secretlint": "secretlint \"**/*\"",
"ci": "npm run build && npm run test && npm run secretlint",
"clean": "lerna run clean",
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\""
},
"devDependencies": {
"husky": "^4.2.3",
"lerna": "^3.20.2",
"lint-staged": "^10.0.7",
"prettier": "^2.0.2"
},
"prettier": {
"singleQuote": false,
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "none"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*": [
"secretlint"
],
"*.{js,jsx,ts,tsx,css}": [
"prettier --write",
"git add"
]
}
}