-
Notifications
You must be signed in to change notification settings - Fork 382
/
package.json
91 lines (91 loc) · 3.31 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
{
"name": "lwc-monorepo",
"private": true,
"description": "Lightning Web Components",
"repository": {
"type": "git",
"url": "https://github.com/salesforce/lwc.git"
},
"scripts": {
"prepare": "husky install && yarn build",
"clean": "lerna run clean && lerna clean --yes && rm -rf node_modules",
"lint": "eslint packages/ scripts/ --ext=js,ts",
"format": "prettier --write '{packages,scripts}/**/*.{js,ts,json,md}'",
"bundlesize": "bundlesize --config ./scripts/bundlesize/bundlesize.config.json",
"build": "lerna run build --ignore perf-benchmarks --ignore perf-benchmarks-components --ignore integration-tests",
"build:performance": "yarn run build:performance:components && yarn run build:performance:benchmarks",
"build:performance:components": "lerna exec --scope perf-benchmarks-components -- yarn build",
"build:performance:benchmarks": "lerna exec --scope perf-benchmarks -- yarn build",
"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:integration": "lerna exec --scope integration-tests -- yarn sauce",
"test:performance": "lerna exec --scope perf-benchmarks -- yarn test",
"release:publish:ci": "./scripts/release/publish.mjs",
"release:version": "./scripts/release/version.mjs"
},
"devDependencies": {
"@babel/core": "^7.16.12",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@commitlint/cli": "^16.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^3.0.1",
"@rollup/plugin-typescript": "^8.3.0",
"@types/acorn": "^4.0.6",
"@types/babel__core": "^7.1.18",
"@types/glob": "^7.2.0",
"@types/jest": "^27.4.0",
"@types/node": "^16.11.19",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"babel-plugin-tester": "^10.1.0",
"bundlesize": "^0.18.1",
"es5-proxy-compat": "^0.22.4",
"eslint": "^8.8.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.0.0",
"eslint-plugin-lwc-internal": "link:./scripts/eslint-plugin",
"execa": "^6.0.0",
"fs-extra": "^10.0.0",
"glob": "^7.2.0",
"husky": "^7.0.4",
"is-ci": "^3.0.1",
"isbinaryfile": "^4.0.8",
"jest": "^27.4.7",
"jest-utils-lwc-internals": "link:./scripts/jest/utils",
"lerna": "^4.0.0",
"lint-staged": "^12.3.2",
"prettier": "^2.5.1",
"rollup": "^2.66.1",
"rollup-plugin-compat": "^0.22.4",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^27.1.3",
"tslib": "^2.3.1",
"typescript": "4.5.5",
"worker-farm": "^1.7.0"
},
"lint-staged": {
"**/*.{js,ts}": "eslint",
"{packages,scripts}/**/*.{js,ts,json,md}": "prettier --write"
},
"workspaces": [
"packages/@lwc/*",
"packages/lwc",
"packages/integration-karma",
"packages/integration-tests",
"packages/perf-benchmarks",
"packages/perf-benchmarks-components"
],
"engines": {
"node": ">=10"
},
"volta": {
"node": "16.13.1",
"yarn": "1.22.17"
},
"resolutions": {
"//": "Freezing jasmine version used in Karma test suite. jasmine-core@4 drops support for IE11.",
"jasmine-core": "3.10.1"
}
}