-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
182 lines (182 loc) · 7.4 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
{
"name": "@sbb-esta/lyne-elements",
"version": "2.0.0",
"description": "Lyne Design System",
"keywords": [
"design system",
"web components",
"lit",
"storybook"
],
"author": "Lyne Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/sbb-design-systems/lyne-components.git"
},
"bugs": {
"url": "https://github.com/sbb-design-systems/lyne-components/issues"
},
"type": "module",
"private": true,
"scripts": {
"postinstall": "yarn playwright install",
"build:elements": "npm-run-all --sequential build:elements:* build:elements-experimental:*",
"build:elements:production": "vite build --config src/elements/vite.config.ts",
"build:elements:development": "NODE_ENV=development vite build --mode development --config src/elements/vite.config.ts",
"build:elements-experimental:production": "vite build --config src/elements-experimental/vite.config.ts",
"build:elements-experimental:development": "NODE_ENV=development vite build --mode development --config src/elements-experimental/vite.config.ts",
"build:react": "npm-run-all --sequential build:react:* build:react-experimental:*",
"build:react:production": "vite build --config src/react/vite.config.ts",
"build:react:development": "NODE_ENV=development vite build --mode development --config src/react/vite.config.ts",
"build:react-experimental:production": "vite build --config src/react-experimental/vite.config.ts",
"build:react-experimental:development": "NODE_ENV=development vite build --mode development --config src/react-experimental/vite.config.ts",
"build:storybook": "storybook build --quiet --output-dir dist/storybook --stats-json",
"build:visual-regression-app": "vite build --config src/visual-regression-app/vite.config.ts",
"build": "npm-run-all --sequential build:elements build:react build:storybook",
"docs": "npm-run-all --sequential docs:manifest docs:to-md",
"docs:manifest": "npm-run-all --sequential docs:manifest:*",
"docs:manifest:elements": "custom-elements-manifest analyze --config tools/manifest/elements-custom-elements-manifest.config.js",
"docs:manifest:elements-experimental": "custom-elements-manifest analyze --config tools/manifest/elements-experimental-custom-elements-manifest.config.js",
"docs:to-md": "yarn -s ts-hooks tools/docs/docs_generate.ts",
"format": "prettier \"**/*\" --write --ignore-unknown",
"generate": "yarn -s ts-hooks tools/generate-component/index.ts",
"integrity": "npm-run-all format docs",
"lint": "npm-run-all --sequential lint:*",
"lint:ts": "eslint \"**/*.ts\"",
"lint:js": "eslint \"**/*.js\"",
"lint:yml": "eslint \"**/*.{yml,yaml}\"",
"lint:styles": "stylelint \"**/*.scss\"",
"lint:lit": "yarn lit-analyzer \"src/**/*.ts\"",
"lint:circular-imports": "madge --circular --ts-config ./tsconfig.json --extensions ts ./src",
"lint:tsc": "npm-run-all --sequential lint:tsc:*",
"lint:tsc:components": "tsc --noEmit --project src/elements/tsconfig.json",
"lint:tsc:components-spec": "tsc --noEmit --project src/elements/tsconfig.spec.json",
"lint:tsc:components-experimental": "tsc --noEmit --project src/elements-experimental/tsconfig.json",
"lint:tsc:components-experimental-spec": "tsc --noEmit --project src/elements-experimental/tsconfig.spec.json",
"lint:tsc:visual-regression-app": "tsc --noEmit --project src/visual-regression-app/tsconfig.json",
"start": "storybook dev -p 6006",
"start:visual-regression-app": "vite --config src/visual-regression-app/vite.config.ts",
"test": "yarn -s wtr --coverage",
"test:snapshot": "yarn test:csr --ci --update-snapshots",
"test:csr": "yarn -s wtr --group default",
"test:ssr": "yarn -s wtr --group ssr",
"test:visual-regression": "yarn -s wtr --group visual-regression --all-browsers",
"test:playwright-server": "yarn -s ts-hooks tools/web-test-runner/start-playwright-server.ts",
"wtr": "yarn -s ts-hooks node_modules/@web/test-runner/dist/bin.js --config=web-test-runner.config.ts",
"ts-hooks": "node --no-deprecation --enable-source-maps --import ./tools/node-esm-hook/register-hooks.js",
"prepare": "husky"
},
"dependencies": {
"lit": "3.2.1"
},
"devDependencies": {
"@commitlint/cli": "19.6.1",
"@commitlint/config-conventional": "19.6.0",
"@custom-elements-manifest/analyzer": "0.10.4",
"@custom-elements-manifest/to-markdown": "0.1.0",
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.17.0",
"@lit-labs/observers": "2.0.4",
"@lit-labs/router": "0.1.3",
"@lit-labs/testing": "0.2.5",
"@lit/react": "1.0.6",
"@open-wc/lit-helpers": "0.7.0",
"@open-wc/testing": "4.0.0",
"@sbb-esta/lyne-design-tokens": "1.3.0",
"@storybook/addon-a11y": "8.4.7",
"@storybook/addon-actions": "8.4.7",
"@storybook/addon-essentials": "8.4.7",
"@storybook/addon-interactions": "8.4.7",
"@storybook/addon-links": "8.4.7",
"@storybook/blocks": "8.4.7",
"@storybook/manager-api": "8.4.7",
"@storybook/preview-api": "8.4.7",
"@storybook/test": "8.4.7",
"@storybook/theming": "8.4.7",
"@storybook/types": "8.4.7",
"@storybook/web-components": "8.4.7",
"@storybook/web-components-vite": "8.4.7",
"@types/glob": "8.1.0",
"@types/mocha": "10.0.10",
"@types/node": "20.17.10",
"@types/react": "19.0.2",
"@typescript-eslint/eslint-plugin": "8.18.2",
"@typescript-eslint/parser": "8.18.2",
"@web/test-runner": "0.19.0",
"@web/test-runner-commands": "0.9.0",
"@web/test-runner-playwright": "0.11.0",
"@web/test-runner-puppeteer": "0.17.0",
"@web/test-runner-visual-regression": "0.9.0",
"custom-elements-manifest": "2.1.0",
"date-fns": "4.1.0",
"esbuild": "0.24.2",
"eslint": "9.17.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.7.0",
"eslint-plugin-import-x": "4.6.1",
"eslint-plugin-lit": "1.15.0",
"eslint-plugin-react": "7.37.3",
"eslint-plugin-storybook": "0.11.1",
"eslint-plugin-yml": "1.16.0",
"glob": "11.0.0",
"globals": "15.14.0",
"husky": "9.1.7",
"lint-staged": "15.2.11",
"lit-analyzer": "2.0.3",
"madge": "8.0.0",
"npm-run-all2": "7.0.2",
"octokit": "4.0.2",
"playwright": "1.49.1",
"postcss": "8.4.49",
"prettier": "3.4.2",
"react": "19.0.0",
"rollup-plugin-postcss-lit": "2.1.0",
"sass": "1.83.0",
"sinon": "19.0.2",
"storybook": "8.4.7",
"stylelint": "16.12.0",
"stylelint-config-prettier-scss": "1.0.0",
"stylelint-config-standard-scss": "14.0.0",
"stylelint-scss": "6.10.0",
"ts-lit-plugin": "2.0.2",
"tslib": "2.8.1",
"typescript": "5.7.2",
"typescript-eslint": "8.18.2",
"urlpattern-polyfill": "10.0.0",
"vite": "6.0.5",
"vite-plugin-dts": "4.4.0"
},
"resolutions": {
"@types/node": "20.17.10",
"@webcomponents/template-shadowroot": "0.2.1",
"@web/dev-server-core": "0.7.1",
"jackspeak": "2.1.1",
"lit": "3.2.1",
"playwright": "1.49.1",
"prettier": "3.4.2"
},
"prettier": {
"singleQuote": true,
"endOfLine": "lf",
"printWidth": 100
},
"lint-staged": {
"*.{js,ts,yaml,yml}": [
"eslint --fix --no-ignore"
],
"*.scss": [
"stylelint --fix"
],
"*.{js,ts,css,scss,json,md,html,yaml,yml}": [
"prettier --write"
]
},
"madge": {
"detectiveOptions": {
"ts": {
"skipTypeImports": true
}
}
}
}