-
Notifications
You must be signed in to change notification settings - Fork 405
/
Copy pathpackage.json
101 lines (101 loc) · 4.26 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
{
"name": "lwc-monorepo",
"version": "6.5.0",
"private": true,
"description": "Lightning Web Components",
"repository": {
"type": "git",
"url": "https://github.com/salesforce/lwc.git"
},
"scripts": {
"prepare": "husky && yarn build",
"lint": "eslint packages/ scripts/ --ext=js,mjs,ts,only,skip",
"format": "prettier --write .",
"bundlesize": "node scripts/bundlesize/bundlesize.mjs",
"build": "nx run-many --target=build --all --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",
"dev": "nx run-many --target=dev --all --parallel=999 --exclude=@lwc/perf-benchmarks,@lwc/perf-benchmarks-components,@lwc/integration-tests,lwc",
"test": "jest --config ./scripts/jest/root.config.js",
"test:debug": "node --inspect node_modules/.bin/jest --config ./scripts/jest/root.config.js --runInBand --watch",
"test:ci": "yarn test --no-cache --coverage --runInBand",
"test:karma": "nx test @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",
"release:version": "./scripts/release/version.js"
},
"//": {
"prettier": "v3 requires ESM, and we use prettier in our Jest tests. Jest does not support ESM yet."
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.24.1",
"@commitlint/cli": "^19.2.1",
"@lwc/eslint-plugin-lwc-internal": "link:./scripts/eslint-plugin",
"@lwc/jest-utils-lwc-internals": "link:./scripts/jest/utils",
"@rollup/plugin-commonjs": "^25.0.2",
"@rollup/plugin-inject": "^5.0.3",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-typescript": "^11.1.6",
"@types/babel__core": "^7.20.5",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.5",
"@types/prettier": "^2.7.3",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"bytes": "^3.1.2",
"es-module-lexer": "^1.5.0",
"eslint": "^8.57.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jsdoc": "^48.2.3",
"glob": "^10.3.12",
"husky": "^9.0.11",
"isbinaryfile": "^5.0.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.2",
"magic-string": "^0.30.9",
"nx": "17.2.6",
"prettier": "^2.8.8",
"rollup": "^4.14.1",
"terser": "^5.30.3",
"ts-jest": "^29.1.2",
"tslib": "^2.6.1",
"typescript": "5.4.4"
},
"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",
"*.{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": "18.20.1",
"yarn": "1.22.19"
},
"resolutions": {
"//": {
"http-cache-semantics": "Pinned to address security vulnerability",
"jsonwebtoken": "Pinned to address security vulnerability",
"semver": "Pinned to address security vulnerability",
"systeminformation": "Pinned to address security vulnerability"
},
"http-cache-semantics": "4.1.1",
"jsonwebtoken": "9.0.2",
"semver": "7.6.0",
"systeminformation": "5.22.7"
}
}