-
-
Notifications
You must be signed in to change notification settings - Fork 117
Expand file tree
/
Copy pathpackage.json
More file actions
148 lines (148 loc) · 7.48 KB
/
package.json
File metadata and controls
148 lines (148 loc) · 7.48 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"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@10.27.0+sha512.72d699da16b1179c14ba9e64dc71c9a40988cbdc65c264cb0e489db7de917f20dcf4d64d8723625f2969ba52d4b7e2a1170682d9ac2a5dcaeaab732b7e16f04a",
"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": "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",
"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 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",
"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",
"perf-test": "node --cpu-prof ./bin.mjs . --no-cache -e \"**/yarn/**\" ",
"test-watch": "pnpm -r run --parallel test-watch",
"test": "pnpm test:prep && pnpm -r --stream --workspace-concurrency=2 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:prep": "cspell-tools btrie node_modules/@cspell/dict-en_us/en_US.trie.gz",
"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 update-package-json",
"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"
],
"pnpm": {
"overrides": {
"@isaacs/brace-expansion@=5.0.0": "^5.0.1",
"diff@=7.0.0": "^8.0.3"
},
"patchedDependencies": {},
"onlyBuiltDependencies": [
"@swc/core",
"esbuild",
"oxc-resolver"
]
},
"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.33",
"@cspell/eslint-plugin": "workspace:*",
"@eslint/js": "^10.0.1",
"@internal/scripts": "workspace:*",
"@internal/tsdown": "workspace:*",
"@lerna-lite/cli": "^5.0.0",
"@lerna-lite/publish": "^5.0.0",
"@swc-node/register": "^1.11.1",
"@tsconfig/node22": "^22.0.5",
"@types/node": "^22.19.17",
"@vitest/coverage-istanbul": "~4.1.2",
"conventional-changelog-conventionalcommits": "^9.3.1",
"eslint": "^10.2.0",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-n": "^17.24.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unicorn": "^64.0.0",
"inject-markdown": "^4.0.0",
"perf-insight": "^2.0.1",
"prettier": "^3.8.1",
"rollup": "^4.60.1",
"shx": "^0.4.0",
"ts2mjs": "^4.0.0",
"tsdown": "^0.21.7",
"tslib": "^2.8.1",
"tsup": "^8.5.1",
"typescript": "~5.9.3",
"typescript-eslint": "^8.58.0",
"vite": "^8.0.5",
"vitest": "~4.1.2"
}
}