Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 6.7 KB
/
Copy pathpackage.json
File metadata and controls
131 lines (131 loc) · 6.7 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
129
130
131
{
"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@12.17.0",
"private": true,
"scripts": {
"bp": "pnpm build:prod",
"bt": "pnpm run build && pnpm run test",
"build-dev": "pnpm run --filter \\!website build-dev",
"build-cspell-types-docs": "cd website && pnpm i && pnpm run gen-docs",
"build-integration-tests": "cd ./integration-tests && pnpm i",
"build-schema": "pnpm -r run build-schema",
"build": "pnpm build:all",
"build:all": "pnpm -r --stream --workspace-concurrency=2 run build",
"build:exclude-test-packages": "pnpm -r --stream --workspace-concurrency=2 --filter \"!./test-packages/**\" run build",
"build:prod": "pnpm build:exclude-test-packages",
"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 \"website/src/**/*.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": "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",
"install:prod": "pnpm install --filter \"!./test-packages/**\" --filter \"!./**/yarn/**\" ",
"ib": "pnpm install && pnpm run build",
"ibp": "pnpm install:prod && pnpm run build:prod",
"ibt": "pnpm install && pnpm run build:all && pnpm test",
"install-website": "pnpm run website-install",
"lint-ci": "eslint . && prettier -c .",
"lint-docs-ci": "prettier -c \"website/\"",
"lint-docs": "prettier -w \"website/\"",
"lint": "pnpm run eslint-fix && prettier -w .",
"prepare-cspell-action": "pnpm i && pnpm -r --filter @cspell/cspell-bundled-dicts... run build",
"perf-test": "node --cpu-prof ./bin.mjs . --no-cache -e \"**/yarn/**\" ",
"publish:fix:sponsor": "cp static/sponsor-pub.md static/sponsor.md && pnpm run build:readme:packages && pnpm run build:readme:root",
"test-watch": "pnpm -r run --parallel test-watch",
"test": "pnpm -r --stream --workspace-concurrency=2 run test && pnpm run test-schema",
"test:yarn": "pnpm run setup-yarn && pnpm --filter test-yarn2 --filter example-yarn run test-yarn",
"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",
"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",
"setup-yarn": "pnpm --filter test-yarn2 --filter example-yarn run setup-yarn",
"test-build-docs": "pnpm run build:prod && cd website && pnpm run build:site",
"test-integrations": "cd ./integration-tests && pnpm run integration-tests",
"test-schema": "node ./test-packages/cspell-types/validate-schema/validate-schema.mjs",
"test:deno": "deno run -A ./bin.mjs lint rfc packages/cspell/src",
"update-changelog": "node ./scripts/gen-release.mts CHANGELOG.md packages/cspell/CHANGELOG.md",
"update-packages": "pnpm run update-packages-src && pnpm run update-packages-docs && pnpm run fix-package-json",
"fix-package-json": "node ./scripts/fix-package-json.mts",
"update-packages-docs": "cd website && pnpm run update-packages",
"update-packages-src": "pnpm -r up",
"update-yarn": "pnpm -r run update-yarn",
"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"
],
"author": "Jason Dent",
"license": "MIT",
"bugs": {
"url": "https://github.com/streetsidesoftware/cspell/issues"
},
"homepage": "https://streetsidesoftware.github.io/cspell/",
"engines": {
"node": ">=22.18.0"
},
"devDependencies": {
"@cspell/cspell-tools": "workspace:*",
"@cspell/dict-en_us": "^4.4.43",
"@cspell/eslint-plugin": "workspace:*",
"@eslint/js": "^10.0.1",
"@internal/scripts": "workspace:*",
"@internal/tsdown": "workspace:*",
"@lerna-lite/cli": "^5.7.0",
"@lerna-lite/publish": "^5.7.0",
"@swc-node/register": "^1.12.1",
"@tsconfig/node22": "^22.0.6",
"@types/node": "^22.20.5",
"@vitest/coverage-istanbul": "~4.1.12",
"conventional-changelog-conventionalcommits": "^10.4.1",
"eslint": "^10.14.0",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-n": "^18.5.0",
"eslint-plugin-simple-import-sort": "^14.0.0",
"eslint-plugin-unicorn": "^79.0.0",
"inject-markdown": "^6.3.0",
"perf-insight": "^2.0.1",
"prettier": "^3.9.10",
"shx": "^0.4.0",
"ts2mjs": "^4.0.0",
"tsdown": "^0.23.5",
"typescript": "~6.0.3",
"typescript-eslint": "^8.72.1",
"vite": "^8.3.5",
"vitest": "~4.1.12"
}
}