-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 4.33 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 4.33 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": "vaadin-web-components",
"private": true,
"author": "Vaadin Ltd",
"type": "module",
"scripts": {
"analyze": "polymer analyze packages/**/vaadin-*.js > analysis.json && node scripts/prepareDocs.js",
"api-docs:build": "yarn analyze && yarn workspace api-docs generate ../analysis.json && yarn workspace api-docs build",
"api-docs:start": "yarn analyze && yarn workspace api-docs generate ../analysis.json && yarn workspace api-docs start",
"debug": "yarn test --watch",
"debug:it": "yarn test --watch --config web-test-runner-it.config.js",
"dev:build": "yarn workspace dev build",
"dev:start": "yarn workspace dev start",
"lint": "npm-run-all --parallel lint:*",
"lint:css": "stylelint --ignore-path .gitignore \"packages/**/src/**/*.js\" \"packages/vaadin-lumo-styles/mixins/*.js\" \"packages/**/*.css\" \"dev/**/*.html\"",
"lint:js": "eslint",
"lint:types": "tsc",
"postinstall": "patch-package",
"prepare": "husky",
"release": "yarn release:themes && yarn release:web-types && yarn release:cem",
"release:cem": "custom-elements-manifest analyze --config custom-elements-manifest.config.js && node ./scripts/split-cem.js",
"release:themes": "yarn workspace @vaadin/aura build && yarn workspace @vaadin/vaadin-lumo-styles build",
"release:web-types": "yarn analyze && node scripts/buildWebtypes.js",
"start": "web-dev-server --node-resolve --open /dev",
"start:aura": "web-dev-server --node-resolve --open /dev --theme=aura",
"start:lumo": "web-dev-server --node-resolve --open /dev --theme=lumo",
"test": "web-test-runner",
"test:aura": "./scripts/run-docker-visual-tests.sh test --config web-test-runner-aura.config.js",
"test:aura:dark": "./scripts/run-docker-visual-tests.sh test --config web-test-runner-aura.config.js --dark",
"test:base": "./scripts/run-docker-visual-tests.sh test --config web-test-runner-base.config.js",
"test:firefox": "yarn test --config web-test-runner-firefox.config.js",
"test:it": "yarn test --config web-test-runner-it.config.js",
"test:lumo": "./scripts/run-docker-visual-tests.sh test --config web-test-runner-lumo.config.js",
"test:snapshots": "yarn test --config web-test-runner-snapshots.config.js",
"test:webkit": "yarn test --config web-test-runner-webkit.config.js",
"update:aura": "TEST_ENV=update ./scripts/run-docker-visual-tests.sh test --config web-test-runner-aura.config.js",
"update:aura:dark": "TEST_ENV=update ./scripts/run-docker-visual-tests.sh test --config web-test-runner-aura.config.js --dark",
"update:base": "TEST_ENV=update ./scripts/run-docker-visual-tests.sh test --config web-test-runner-base.config.js",
"update:lumo": "TEST_ENV=update ./scripts/run-docker-visual-tests.sh test --config web-test-runner-lumo.config.js",
"update:snapshots": "yarn test --config web-test-runner-snapshots.config.js --update-snapshots"
},
"devDependencies": {
"@custom-elements-manifest/analyzer": "^0.11.0",
"@types/mocha": "^10.0.7",
"@ungap/structured-clone": "^1.3.0",
"@vaadin/testing-helpers": "^2.0.0",
"@web/dev-server": "^0.4.6",
"@web/dev-server-esbuild": "^1.0.5",
"@web/test-runner": "^0.20.2",
"@web/test-runner-playwright": "^0.11.1",
"@web/test-runner-visual-regression": "^0.10.0",
"dotenv": "^16.5.0",
"eslint": "^9.39.2",
"eslint-config-vaadin": "^1.0.0-beta.5",
"eslint-plugin-es-x": "^9.3.0",
"eslint-plugin-html": "^8.1.3",
"eslint-plugin-no-only-tests": "^3.3.0",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-simple-import-sort": "^12.1.1",
"glob": "^13.0.0",
"globals": "^16.5.0",
"husky": "^9.1.4",
"lerna": "9.0.6",
"lint-staged": "^16.2.7",
"npm-run-all": "^4.1.5",
"patch-package": "^8.0.1",
"postcss-html": "^1.8.0",
"postcss-lit": "^1.2.0",
"prettier": "^3.7.4",
"prettier-plugin-package": "^2.0.0",
"replace-in-file": "^8.3.0",
"stylelint": "^17.4.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-vaadin": "^1.0.0-alpha.2",
"typescript": "^5.9.3"
},
"resolutions": {
"playwright": "^1.56.0"
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix",
"prettier --write"
],
"*.css": [
"stylelint --fix",
"prettier --write"
]
},
"workspaces": [
"test/*",
"packages/*",
"api-docs",
"dev"
]
}