Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 4.94 KB
/
Copy pathpackage.json
File metadata and controls
128 lines (128 loc) · 4.94 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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "markuplint-packages",
"private": true,
"type": "module",
"engines": {
"node": ">=24"
},
"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": "run-s test:types test:run",
"test:types": "tsc -p tsconfig.spec.json",
"test:run": "vitest run",
"test:affected": "node --experimental-strip-types scripts/affected-tests/index.ts",
"test:coverage": "vitest run --coverage",
"lint": "run-p lint:oxlint lint:format lint:github-actions",
"lint:oxlint": "oxlint --fix -c .oxlintrc.json packages vscode scripts",
"lint:format": "oxfmt --write \"./{packages,vscode,website,scripts}/**/*.{ts,tsx,mts,js,cjs,mjs,json,rc,md,mdx,css}\"",
"lint:github-actions": "actionlint",
"lint-check": "run-p lint-check:oxlint lint-check:format",
"lint-check:oxlint": "oxlint -c .oxlintrc.json packages vscode scripts",
"lint-check:format": "oxfmt --check \"./{packages,vscode,website,scripts}/**/*.{ts,tsx,mts,js,cjs,mjs,json,rc,md,mdx,css}\"",
"up": "run-s up:deps up:gen up:schema",
"up:deps": "npx npm-check-updates --interactive --workspaces --format group",
"up:gen": "cd packages/\\@markuplint/html-spec/ && yarn run gen",
"up:schema": "lerna run schema",
"release": "lerna version --exact --conventional-commits --conventional-graduate --no-push",
"release:alpha": "lerna version --exact --force-publish --conventional-commits --conventional-prerelease --preid alpha --no-push",
"release:beta": "lerna version --exact --force-publish --conventional-commits --conventional-prerelease --preid beta --no-push",
"release:rc": "lerna version --exact --force-publish --conventional-commits --conventional-prerelease --preid rc --no-push",
"prerelease": "run-s build test",
"check:build": "find . -type f -name \"*.d.ts\" -print | xargs grep \"packages/@markuplint\"",
"vscode:build": "cd vscode && npx run-p vscode:build:extension",
"vscode:dev": "cd vscode && yarn install && yarn run vscode:dev",
"vscode:login": "cd vscode && yarn run vscode:login",
"vscode:package": "node vscode/scripts/install.mjs",
"vscode:release": "node vscode/scripts/install.mjs release",
"site:dev": "cd website && yarn install && yarn run site:start",
"site:lint": "cd website && yarn install && yarn run site:lint",
"site:build": "cd website && yarn install && yarn run site:build",
"site:up": "cd website && yarn install && yarn run site:up",
"apidoc": "typedoc --options ./typedoc.json",
"postinstall": "husky",
"cli": "npx markuplint",
"create-rule": "npx @markuplint/create-rule",
"commit": "cz",
"co": "cz",
"bench:update": "node --experimental-strip-types tests/external/bench/update-snapshots.ts",
"bench:update:ml": "node --experimental-strip-types tests/external/bench/update-snapshots.ts --target markuplint",
"bench:compare": "node --experimental-strip-types tests/external/bench/compare.ts",
"bench:generate-spec": "node --experimental-strip-types tests/external/bench/generate-spec.ts",
"bench:report": "node --experimental-strip-types tests/external/bench/report.ts",
"bench:verify": "vitest run --config vitest.nu-validator.config.ts",
"bench:xref": "node --experimental-strip-types tests/external/bench/xref-issue.ts",
"spec-citations": "node --experimental-strip-types scripts/spec-citations/cli.ts"
},
"lint-staged": {
"./{{packages,website,vscode,scripts}/**/*,*}.{ts,tsx,mts,js,cjs,mjs,json,md,mdx,css}": [
"oxfmt --write"
],
"./{packages,vscode,scripts}/**/*.{ts,mjs,cjs,spec.js}": [
"oxlint --fix -c .oxlintrc.json"
],
"./test/**/*.{pug,html}": [
"yarn cli"
],
".github/workflows/*.yml": [
"actionlint"
]
},
"workspaces": [
"packages/*",
"packages/@markuplint/*",
"packages/@markuplint-dev/*",
"packages/@markuplint-test/*",
"vscode"
],
"devDependencies": {
"@commitlint/cli": "21.2.4",
"@commitlint/config-conventional": "21.2.4",
"@commitlint/config-lerna-scopes": "21.2.0",
"cheerio": "1.2.0",
"commitizen": "4.3.2",
"cz-conventional-changelog": "3.3.0",
"eslint-plugin-regexp": "3.3.3",
"husky": "9.1.7",
"lerna": "10.1.1",
"lint-staged": "17.6.0",
"npm-run-all2": "9.0.4",
"oxfmt": "0.75.0",
"oxlint": "1.90.0",
"textlint": "15.8.0",
"textlint-filter-rule-comments": "1.3.0",
"textlint-rule-preset-ja-spacing": "3.0.4",
"textlint-rule-preset-ja-technical-writing": "12.0.2",
"textlint-rule-preset-japanese": "10.0.4",
"textlint-rule-preset-jtf-style": "3.0.3",
"ts-node": "10.9.2",
"tsx": "4.23.15",
"typedoc": "0.28.20",
"typedoc-plugin-mdn-links": "5.1.1",
"typescript": "6.0.3",
"vitest": "4.1.12"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"packageManager": "yarn@4.18.1",
"resolutions": {
"markuplint": "workspace:*",
"undici@npm:7.29.0": "7.30.1"
},
"dependenciesMeta": {
"@vscode/vsce-sign": {
"built": true
},
"esbuild": {
"built": true
},
"nx": {
"built": true
}
}
}