-
-
Notifications
You must be signed in to change notification settings - Fork 91
/
package.json
132 lines (132 loc) · 6.54 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "cspell-monorepo",
"version": "1.0.0",
"description": "cspell monorepo.",
"type": "commonjs",
"bin": {
"cspell-monorepo": "bin.mjs",
"cspell-monorepo-esm": "bin.mjs",
"cspell": "bin.mjs",
"cspell-tools": "cspell-tools.mjs"
},
"packageManager": "pnpm@9.4.0",
"private": true,
"scripts": {
"bt": "pnpm run build && pnpm run test",
"build-dev": "pnpm run --filter \\!website build-dev",
"build-cspell-types-docs": "cd doc-generator && pnpm i && pnpm run build-cspell-types-docs",
"build-integration-tests": "cd ./integration-tests && pnpm i",
"build-schema": "pnpm -r run build-schema",
"build": "pnpm -r --stream --workspace-concurrency=2 run build && pnpm -r run prepare-cspell-action",
"build:readme": "pnpm build:readme:packages && pnpm build:readme:root && pnpm docs:inject",
"build:readme:packages": "pnpm -r build:readme",
"build:readme:root": "inject-markdown README.md \"packages/*/README.md\" && prettier -w README.md \"packages/*/README.md\"",
"docs:inject": "inject-markdown \"docs/**/*.md\" && pnpm lint-docs",
"check-spelling": "npx cspell -c cspell.test.all.json",
"clean-build": "pnpm run clean && pnpm -r --stream --workspace-concurrency=2 run build",
"clean-dist": "shx rm -rf \"packages/*/dist\"",
"clean": "shx rm -rf \"{*,*/*}/{*.tsbuildinfo,*.tsbuildInfo,temp,coverage,*.cpuprofile}\" \"**/dist/**/*.tsbuildInfo\" lcov.info && pnpm -r run clean",
"#coverage-collect": "globcat \"packages/*/coverage/lcov.info\" > lcov.info",
"coverage-collect": "shx cat packages/*/coverage/lcov.info > lcov.info",
"coverage": "pnpm --stream -r --workspace-concurrency=1 run coverage && pnpm run coverage-collect",
"eslint-fix": "eslint . --fix --cache",
"eslint-fix-no-cache": "eslint . --fix",
"ib": "pnpm install && pnpm run build",
"ibt": "pnpm run ib && pnpm test",
"install-website": "pnpm run website-install",
"lint-ci": "eslint . && prettier -c .",
"lint-docs-ci": "prettier -c \"docs/\"",
"lint-docs": "prettier -w \"docs/\"",
"lint": "pnpm run eslint-fix && prettier -w .",
"prepare-cspell-action": "pnpm i && pnpm -r run prepare-cspell-action && pnpm -r --filter @cspell/cspell-bundled-dicts... run build",
"pre-pub": "pnpm run clean-dist && pnpm run ibt",
"pub": "pnpm run pre-pub && lerna publish --conventional-commits --changelog-preset conventionalcommits --sync-workspace-lock",
"pub-grad": "pnpm run pre-pub && lerna publish --conventional-commits --conventional-graduate --changelog-preset conventionalcommits --sync-workspace-lock",
"pub-next": "pnpm run pre-pub && lerna publish --conventional-commits --conventional-prerelease --changelog-preset conventionalcommits --sync-workspace-lock --dist-tag next",
"test-watch": "pnpm -r run --parallel test-watch",
"test": "pnpm -r --stream --workspace-concurrency=1 run test && pnpm run test-schema",
"test:perf": "pnpm -r --stream --workspace-concurrency=2 run test:perf",
"test:update-snapshots": "pnpm run -r test:update-snapshot",
"test:bin": "pnpm test:bin-spell && pnpm test:bin-spell-cache-content && pnpm test:bin-spell-cache-metadata && pnpm test:bin-trace && pnpm test:bin-check && pnpm test:bin-spell-yarn",
"test:bin-check": "node ./bin.mjs check README.md",
"test:bin-spell": "node ./bin.mjs -c cspell.test.json --no-progress",
"test:bin-spell-yarn": "node ./bin.mjs -c cspell.test.yarn.json --no-progress",
"test:bin-spell-cache-content": "node ./bin.mjs -c cspell.test.json --cache --cache-strategy content --cache-location temp/.cspellcache-content",
"test:bin-spell-cache-metadata": "node ./bin.mjs -c cspell.test.json --cache --cache-strategy metadata --cache-location temp/.cspellcache-meta",
"test:bin-trace": "node ./bin.mjs trace test",
"test-build-docs": "cd doc-generator && pnpm i && pnpm run test-build-docs",
"test-integrations": "cd ./integration-tests && pnpm run integration-tests",
"test-schema": "node ./test-packages/cspell-types/validate-schema/validate-schema.mjs",
"update-packages": "pnpm run update-packages-src && pnpm run update-packages-docs",
"update-packages-docs": "cd website && pnpm run update-packages",
"update-packages-src": "pnpm -r up",
"update-dictionary-packages": "pnpm --filter \"@cspell/cspell-bundled-dicts\" run update-dictionaries",
"update-integrations-and-snapshots": "pnpm -r run update-repositories --scope cspell-integration-tests",
"update-integrations-list": "cd integration-tests && ./repo-list.sh",
"update-schema": "cd packages/cspell-types && pnpm i && pnpm run build",
"update-integration-snapshots": "pnpm --filter cspell-integration-tests run update-snapshots-only",
"update-test-snapshots": "pnpm ib && pnpm run test:update-snapshots",
"website-install": "cd website && pnpm i",
"website-lint": "cd website && pnpm run lint",
"website-lint-ci": "cd website && pnpm run lint-ci"
},
"repository": {
"type": "git",
"url": "git+https://github.com/streetsidesoftware/cspell.git"
},
"keywords": [
"spelling",
"code",
"CI/CD"
],
"pnpm": {
"overrides": {}
},
"author": "Jason Dent",
"license": "MIT",
"bugs": {
"url": "https://github.com/streetsidesoftware/cspell/issues"
},
"homepage": "https://streetsidesoftware.github.io/cspell/",
"engines": {
"node": ">=18.0.0"
},
"devDependencies": {
"@cspell/dict-markdown": "^2.0.2",
"@cspell/eslint-plugin": "workspace:*",
"@eslint/js": "^9.9.1",
"@internal/scripts": "workspace:*",
"@lerna-lite/cli": "^3.9.0",
"@lerna-lite/publish": "^3.9.0",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-multi-entry": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@tsconfig/node18": "^18.2.4",
"@types/node": "^18.19.47",
"@vitest/coverage-istanbul": "^2.0.5",
"conventional-changelog-conventionalcommits": "^8.0.0",
"eslint": "^9.9.1",
"eslint-plugin-n": "^17.10.2",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unicorn": "^55.0.0",
"inject-markdown": "^3.1.0",
"nyc": "^17.0.0",
"perf-insight": "^1.2.0",
"prettier": "^3.3.3",
"rollup": "^4.21.2",
"rollup-plugin-dts": "^6.1.1",
"shx": "^0.3.4",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"ts2mjs": "^3.0.0",
"tslib": "^2.7.0",
"typescript": "^5.5.4",
"typescript-eslint": "^8.3.0",
"vite": "^5.4.2",
"vitest": "^2.0.5"
}
}