forked from markuplint/markuplint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
108 lines (108 loc) · 4.25 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "markuplint-packages",
"private": true,
"type": "module",
"scripts": {
"all": "run-s up lint clean build test site:up",
"build": "lerna run build",
"clean": "lerna run clean",
"dev": "lerna run --parallel dev",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:heapdump": "node --expose-gc ./heaptest/index.js",
"lint": "run-p lint:*",
"lint:eslint": "eslint --fix \"./{packages,vscode}/**/*.{ts,mjs,cjs,spec.js}\"",
"lint:prettier": "prettier --write \"./{packages,vscode}/**/*.{ts,tsx,js,cjs,mjs,json,rc,md}\" --log-level warn",
"lint:spellcheck": "cspell --no-progress --show-suggestions \"**\"",
"lint:github-actions": "actionlint .github/workflows/*.yml",
"lint-check": "run-p lint-check:* lint:spellcheck",
"lint-check:eslint": "eslint \"./{packages,vscode}/**/*.{ts,mjs,cjs,spec.js}\"",
"lint-check:prettier": "prettier --check \"./{packages,vscode}/**/*.{ts,tsx,js,cjs,mjs,json,rc,md}\" --log-level warn",
"up": "run-s up:deps up:gen up:schema",
"up:deps": "yarn upgrade-interactive --latest",
"up:gen": "cd packages/\\@markuplint/html-spec/; yarn gen;",
"up:schema": "lerna run schema",
"release": "lerna publish --exact --conventional-commits --conventional-graduate",
"release:next": "lerna publish --dist-tag next --exact --force-publish --conventional-commits --conventional-prerelease --preid alpha",
"release:canary": "lerna publish --preid dev --canary --exact --force-publish",
"prerelease": "run-s build test",
"check:build": "find . -type f -name \"*.d.ts\" -print | xargs grep \"packages/@markuplint\"",
"vscode:dev": "cd vscode; yarn --ignore-engines; yarn --ignore-engines vscode:dev",
"vscode:login": "cd vscode; yarn --ignore-engines vscode:login",
"vscode:package": "cp package.json package.json.bak; jq '.workspaces |= map(select(. != \"vscode\"))' package.json > package.json.tmp && mv package.json.tmp package.json; cd vscode; rm -rf node_modules; npm install; npm run vscode:package; rm package-lock.json; cd ..; mv package.json.bak package.json;",
"vscode:release": "cp package.json package.json.bak; jq '.workspaces |= map(select(. != \"vscode\"))' package.json > package.json.tmp && mv package.json.tmp package.json; cd vscode; rm -rf node_modules; npm install; npm run vscode:release; rm package-lock.json; cd ..; mv package.json.bak package.json;",
"site:dev": "cd website; yarn; yarn site:start",
"site:lint": "cd website; yarn; yarn site:lint",
"site:build": "cd website; yarn; yarn site:build",
"site:up": "cd website; yarn; yarn site:up",
"apidoc": "typedoc --options ./typedoc.json",
"prepare": "husky",
"cli": "npx markuplint",
"create-rule": "npx @markuplint/create-rule",
"commit": "cz",
"co": "cz"
},
"lint-staged": {
"./{{packages,website,vscode}/**/*,*}.{ts,tsx,js,cjs,mjs,json,md}": [
"prettier --write"
],
"./{packages,website,vscode}/**/*.{ts,mjs,cjs,spec.js}": [
"eslint --fix"
],
"./test/**/*.{pug,html}": [
"yarn cli"
],
".github/workflows/*.yml": [
"actionlint"
],
"**": [
"cspell --no-must-find-files --no-progress --show-suggestions"
]
},
"workspaces": [
"packages/*",
"packages/@markuplint/*",
"packages/@markuplint-dev/*",
"packages/@markuplint-test/*",
"vscode"
],
"devDependencies": {
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@commitlint/config-lerna-scopes": "19.5.0",
"commitizen": "4.3.1",
"cspell": "8.15.5",
"cz-conventional-changelog": "3.3.0",
"heapdump": "0.3.15",
"husky": "9.1.6",
"lerna": "8.1.8",
"lint-staged": "15.2.10",
"npm-run-all2": "7.0.1",
"textlint": "14.3.0",
"textlint-filter-rule-comments": "1.2.2",
"textlint-rule-preset-ja-spacing": "2.4.3",
"textlint-rule-preset-ja-technical-writing": "10.0.1",
"textlint-rule-preset-japanese": "10.0.3",
"textlint-rule-preset-jtf-style": "2.3.14",
"ts-node": "10.9.2",
"tsx": "4.19.2",
"typedoc": "0.26.10",
"typedoc-plugin-mdn-links": "3.3.5",
"typedoc-plugin-resolve-crossmodule-references": "0.3.3",
"typescript": "5.6.3"
},
"resolutions": {
"lerna/**/string-width": "4",
"lerna/**/strip-ansi": "6",
"lerna/**/wrap-ansi": "7"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"volta": {
"node": "22.11.0",
"yarn": "1.22.22"
}
}