forked from honkit/honkit
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.24 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 2.24 KB
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
{
"name": "honkit-root",
"private": true,
"homepage": "https://github.com/honkit/honkit",
"bugs": {
"url": "https://github.com/honkit/honkit/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/honkit/honkit.git"
},
"keywords": [
"Markdown",
"Book",
"HonKit",
"GitBook"
],
"license": "Apache-2.0",
"authors": [
"azu. <azuciao@gmail.com>"
],
"workspaces": [
"packages/*",
"packages/@honkit/*",
"examples/*"
],
"scripts": {
"lint": "eslint .",
"build": "lerna run build --ignore \"@example/*\"",
"clean": "lerna run clean --ignore \"@example/*\"",
"test": "lerna run test --ignore \"@example/*\"",
"updateSnapshot": "lerna run updateSnapshot --ignore \"@example/*\"",
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"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",
"honkit:build": "honkit build",
"honkit:serve": "honkit serve"
},
"devDependencies": {
"@types/cheerio": "^0.22.18",
"@types/jest": "^26.0.0",
"eslint": "^7.19.0",
"husky": "^4.3.8",
"lerna": "^4.0.0",
"lint-staged": "^10.2.11",
"prettier": "^2.2.1",
"ts-jest": "^26.5.0",
"typescript": "^4.1.3"
},
"prettier": {
"singleQuote": false,
"printWidth": 120,
"tabWidth": 4
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write"
]
}
}