forked from salesforce/lwc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 3.96 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 3.96 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
{
"name": "lwc-monorepo",
"version": "3.5.0",
"private": true,
"description": "Lightning Web Components",
"repository": {
"type": "git",
"url": "https://github.com/salesforce/lwc.git"
},
"scripts": {
"prepare": "husky install && yarn build",
"lint": "eslint packages/ scripts/ --ext=js,mjs,ts",
"format": "prettier --write '{packages,scripts}/**/*.{js,mjs,ts,json,md}'",
"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": {
"@commitlint/cli": "^17.7.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.2",
"@rollup/plugin-typescript": "^11.1.3",
"@types/babel__core": "^7.20.2",
"@types/jest": "^29.5.5",
"@types/node": "^20.6.2",
"@types/prettier": "^2.7.3",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"bytes": "^3.1.2",
"es-module-lexer": "^1.3.1",
"eslint": "^8.49.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jest": "^27.4.0",
"fs-extra": "^11.1.1",
"glob": "^10.3.4",
"husky": "^8.0.2",
"is-ci": "^3.0.1",
"isbinaryfile": "^5.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^14.0.1",
"magic-string": "^0.30.2",
"nx": "16.8.1",
"prettier": "^2.8.8",
"rollup": "^3.29.2",
"terser": "^5.19.4",
"ts-jest": "^29.1.1",
"tslib": "^2.6.1",
"typescript": "5.2.2",
"workerpool": "^6.5.0"
},
"lint-staged": {
"**/*.{js,mjs,ts}": "eslint",
"{packages,scripts}/**/*.{js,mjs,ts,json,md}": "prettier --write",
"{packages/**/package.json,scripts/tasks/check-and-rewrite-package-json.js}": "node ./scripts/tasks/check-and-rewrite-package-json.js"
},
"workspaces": [
"packages/@lwc/*",
"packages/lwc",
"playground"
],
"engines": {
"node": ">=10"
},
"volta": {
"node": "18.18.0",
"yarn": "1.22.19"
},
"resolutions": {
"//": {
"jasmine-core": "v4 has a breaking change we need to address in our Karma tests: https://github.com/jasmine/jasmine/pull/1742",
"semver": "Pinned to 7.5.4 to address security vulnerability"
},
"jasmine-core": "3.10.1",
"semver": "7.5.4"
}
}