-
Notifications
You must be signed in to change notification settings - Fork 166
/
package.json
60 lines (60 loc) · 2.51 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
{
"name": "webcomponents-polyfills",
"private": true,
"description": "Webcomponents polyfills monorepo",
"license": "BSD-3-Clause",
"author": "The Polymer Authors",
"scripts": {
"bootstrap": "lerna bootstrap --ci --reject-cycles",
"build": "lerna run build --stream",
"build:watch": "lerna run build:watch --parallel",
"format": "npm run format:eslint && npm run format:prettier",
"format:eslint": "npm run lint -- --fix",
"format:prettier": "prettier \"**/*.{cjs,html,js,json,md,ts,yml}\" --write",
"ignore-sync": "ignore-sync .",
"lint": "eslint \"**/*.{html,js,ts}\"",
"nuke": "rm -rf package-lock.json node_modules && npm install && lerna exec \"rm -f package-lock.json\" && lerna clean --yes && lerna bootstrap && lerna exec --stream -- \"test -f package-lock.json || npm install --package-lock-only\"",
"test": "EXIT_CODE=0; wct || EXIT_CODE=1; lerna run test --concurrency 1 --stream --no-bail || EXIT_CODE=1; exit $EXIT_CODE",
"test-pack": "lerna exec \"npm pack\"",
"test-sauce": "EXIT_CODE=0; wct -s 'windows 10/microsoftedge@17' -s 'windows 10/microsoftedge@15' -s 'windows 8.1/internet explorer@11' -s 'macos 10.13/safari@12' -s 'macos 10.13/safari@11' -s 'os x 10.11/safari@10' -s 'os x 10.11/safari@9' -s 'Linux/chrome@41' || EXIT_CODE=1; npx lerna run test-sauce --concurrency 1 --stream --no-bail || EXIT_CODE=1; exit $EXIT_CODE"
},
"devDependencies": {
"@gulp-sourcemaps/sources-content": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"babel-core": "^6.26.3",
"chokidar-cli": "^2.1.0",
"del": "^3.0.0",
"eslint": "^8.23.1",
"eslint-plugin-html": "^7.1.0",
"google-closure-compiler": "^20210202.0.0",
"gulp": "^4.0.0",
"gulp-babel": "^7.0.1",
"gulp-rename": "^1.4.0",
"gulp-rollup": "^2.16.2",
"gulp-size": "^3.0.0",
"gulp-sourcemaps": "^2.6.4",
"husky": "^4.3.8",
"ignore-sync": "^3.0.1",
"lerna": "^3.13.3",
"lint-staged": "^10.5.3",
"prettier": "2.2.1",
"prettier-plugin-package": "^1.3.0",
"rollup": "^0.62.0",
"rollup-plugin-babel": "^3.0.7",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-license": "^0.8.1",
"typescript": "~4.8.3",
"wct-browser-legacy": "^1.0.2",
"web-component-tester": "^6.9.2"
},
"husky": {
"hooks": {
"pre-commit": "npm run ignore-sync && lint-staged"
}
},
"lint-staged": {
"**/*.{cjs,html,js,json,md,ts,yml}": "prettier --write",
"**/*.{js,ts}": "eslint --fix"
}
}