-
Notifications
You must be signed in to change notification settings - Fork 393
/
package.json
105 lines (105 loc) · 4.47 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
{
"name": "lwc-monorepo",
"version": "8.10.1",
"private": true,
"description": "Lightning Web Components",
"repository": {
"type": "git",
"url": "https://github.com/salesforce/lwc.git"
},
"scripts": {
"prepare": "husky && yarn build",
"lint": "eslint .",
"format": "prettier --write .",
"bundlesize": "node scripts/bundlesize/bundlesize.mjs",
"build": "nx run-many --target=build --exclude=@lwc/perf-benchmarks,@lwc/perf-benchmarks-components,@lwc/integration-tests,lwc",
"build:performance": "yarn build:performance:components && yarn build:performance:benchmarks",
"build:performance:components": "nx build @lwc/perf-benchmarks-components",
"build:performance:benchmarks": "nx build @lwc/perf-benchmarks",
"copy-fork": "./scripts/tasks/unsafe-external-contributor-ci-workaround.sh",
"dev": "nx run-many --target=dev --all --parallel=999 --exclude=@lwc/perf-benchmarks,@lwc/perf-benchmarks-components,@lwc/integration-tests,lwc",
"test": "vitest --workspace vitest.workspace.mjs",
"test:bespoke": "nx run-many --target=test",
"test:debug": "vitest --workspace vitest.workspace.mjs --inspect-brk --no-file-parallelism",
"test:ci": "vitest run --workspace vitest.workspace.mjs --coverage",
"test:karma": "nx test @lwc/integration-karma",
"test:karma:start": "nx start @lwc/integration-karma",
"test:integration": "nx sauce @lwc/integration-tests",
"test:performance": "nx test @lwc/perf-benchmarks",
"test:performance:best": "nx test:best @lwc/perf-benchmarks",
"test:performance:best:ci": "nx test:best:ci @lwc/perf-benchmarks",
"test:types": "nx test @lwc/integration-types",
"release:version": "node ./scripts/release/version.js",
"release:publish": "nx release publish --registry https://registry.npmjs.org"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@eslint/js": "9.14.0",
"@lwc/eslint-plugin-lwc-internal": "link:./scripts/eslint-plugin",
"@lwc/test-utils-lwc-internals": "link:./scripts/test-utils",
"@nx/js": "20.1.2",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-inject": "^5.0.5",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-typescript": "^12.1.1",
"@swc-node/register": "~1.10.9",
"@swc/core": "~1.9.2",
"@swc/helpers": "~0.5.15",
"@types/babel__core": "^7.20.5",
"@types/node": "^22.9.0",
"@vitest/coverage-v8": "^2.1.5",
"@vitest/eslint-plugin": "^1.1.10",
"@vitest/ui": "^2.1.5",
"@vitest/utils": "^2.1.2",
"bytes": "^3.1.2",
"es-module-lexer": "^1.5.4",
"eslint": "9.14.0",
"eslint-config-flat-gitignore": "^0.3.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.31.0",
"glob": "^11.0.0",
"globals": "^15.12.0",
"husky": "^9.1.6",
"isbinaryfile": "^5.0.4",
"jsdom": "^25.0.1",
"lint-staged": "^15.2.10",
"magic-string": "^0.30.12",
"nx": "20.1.2",
"prettier": "^3.3.3",
"rollup": "^4.27.2",
"terser": "^5.36.0",
"tslib": "^2.8.1",
"typescript": "5.4.5",
"typescript-eslint": "8.13.0",
"vitest": "^2.1.5"
},
"lint-staged": {
"*.{js,mjs,ts}": "eslint",
"*.{css,js,json,md,mjs,ts,yaml,yml}": "prettier --write",
"{packages/**/package.json,scripts/tasks/check-and-rewrite-package-json.js}": "node ./scripts/tasks/check-and-rewrite-package-json.js",
"{LICENSE-CORE.md,**/LICENSE.md,yarn.lock,scripts/tasks/generate-license-files.js,scripts/shared/bundled-dependencies.js}": "node ./scripts/tasks/generate-license-files.js",
"*.{only,skip}": "eslint --no-eslintrc --plugin '@lwc/eslint-plugin-lwc-internal' --rule '@lwc/lwc-internal/forbidden-filename: error'"
},
"workspaces": [
"packages/@lwc/*",
"packages/lwc",
"playground"
],
"engines": {
"node": ">=10"
},
"volta": {
"node": "20.12.2",
"yarn": "1.22.22"
},
"resolutions": {
"//": {
"http-cache-semantics": "Pinned to address security vulnerability",
"semver": "Pinned to address security vulnerability"
},
"http-cache-semantics": "4.1.1",
"semver": "7.6.0"
},
"dependencies": {}
}