forked from sbb-design-systems/lyne-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
161 lines (161 loc) · 5.57 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
{
"name": "@sbb-esta/lyne-components",
"version": "0.50.2",
"description": "Lyne Design System",
"keywords": [
"design system",
"web components",
"lit",
"storybook"
],
"author": "Lyne Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/lyne-design-system/lyne-components.git"
},
"bugs": {
"url": "https://github.com/lyne-design-system/lyne-components/issues"
},
"type": "module",
"private": true,
"scripts": {
"postinstall": "yarn playwright install",
"build:components": "npm-run-all --sequential build:components:*",
"build:components:production": "vite build --config src/components/vite.config.ts",
"build:components:development": "NODE_ENV=development vite build --mode development --config src/components/vite.config.ts",
"build:react": "npm-run-all --sequential build:react:*",
"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:storybook": "storybook build --quiet --output-dir dist/storybook --stats-json",
"build": "npm-run-all --sequential build:components build:react build:storybook",
"docs": "npm-run-all --sequential docs:manifest docs:to-md",
"docs:manifest": "custom-elements-manifest analyze --config tools/manifest/custom-elements-manifest.config.js",
"docs:to-md": "tsx scripts/docs_generate.ts",
"format": "prettier \"**/*\" --write --ignore-unknown",
"generate": "tsx tools/generate-component/index.mts",
"generate:chromatic-stories": "tsx scripts/chromatic-stories-generator.ts",
"remove:chromatic-stories": "find . -name '*.chromatic.stories.ts' -delete",
"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 --extensions ts ./src",
"lint:tsc": "npm-run-all --sequential lint:tsc:*",
"lint:tsc:components": "tsc --noEmit --project src/components/tsconfig.json",
"lint:tsc:components-spec": "tsc --noEmit --project src/components/tsconfig.spec.json",
"start": "storybook dev -p 6006",
"test": "wtr --coverage",
"test:snapshot": "yarn test:csr --ci --update-snapshots",
"test:csr": "wtr --group default",
"test:ssr:hydrated": "wtr --group e2e-ssr-hydrated",
"test:ssr:non-hydrated": "wtr --group e2e-ssr-non-hydrated",
"prepare": "husky"
},
"dependencies": {
"lit": "3.1.3"
},
"devDependencies": {
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@custom-elements-manifest/analyzer": "0.9.8",
"@custom-elements-manifest/to-markdown": "0.1.0",
"@eslint/eslintrc": "3.0.2",
"@eslint/js": "9.2.0",
"@lit-labs/testing": "0.2.3",
"@lit/react": "1.0.5",
"@open-wc/lit-helpers": "0.7.0",
"@open-wc/testing": "4.0.0",
"@sbb-esta/lyne-design-tokens": "0.8.0",
"@storybook/addon-a11y": "8.0.10",
"@storybook/addon-actions": "8.0.10",
"@storybook/addon-essentials": "8.0.10",
"@storybook/addon-interactions": "8.0.10",
"@storybook/addon-links": "8.0.10",
"@storybook/blocks": "8.0.10",
"@storybook/test": "8.0.10",
"@storybook/web-components": "8.0.10",
"@storybook/web-components-vite": "8.0.10",
"@types/glob": "8.1.0",
"@types/mocha": "10.0.6",
"@types/node": "20.12.10",
"@types/react": "18.3.1",
"@types/react-dom": "18.3.0",
"@typescript-eslint/eslint-plugin": "7.8.0",
"@typescript-eslint/parser": "7.8.0",
"@web/test-runner": "0.18.1",
"@web/test-runner-commands": "0.9.0",
"@web/test-runner-playwright": "0.11.0",
"@web/test-runner-puppeteer": "0.16.0",
"chromatic": "11.3.1",
"custom-elements-manifest": "2.1.0",
"date-fns": "3.6.0",
"esbuild-sass-plugin": "3.2.0",
"eslint": "9.2.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import-x": "0.5.0",
"eslint-plugin-lit": "1.11.0",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-storybook": "0.8.0",
"eslint-plugin-yml": "1.14.0",
"glob": "10.3.12",
"globals": "15.1.0",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"lit-analyzer": "2.0.3",
"madge": "7.0.0",
"npm-run-all2": "6.1.2",
"playwright": "1.44.0",
"postcss": "8.4.38",
"prettier": "3.2.5",
"react": "18.3.1",
"react-dom": "18.3.1",
"rollup-plugin-postcss-lit": "2.1.0",
"sass": "1.77.0",
"sinon": "17.0.1",
"storybook": "8.0.10",
"stylelint": "16.5.0",
"stylelint-config-prettier-scss": "1.0.0",
"stylelint-config-standard-scss": "13.1.0",
"stylelint-scss": "6.3.0",
"ts-lit-plugin": "2.0.2",
"tsx": "4.9.3",
"typescript": "5.4.5",
"typescript-eslint": "7.8.0",
"vite": "5.2.11",
"vite-plugin-dts": "3.9.1"
},
"resolutions": {
"@types/node": "20.12.10",
"@webcomponents/template-shadowroot": "0.2.1",
"jackspeak": "2.1.1",
"lit": "3.1.3"
},
"prettier": {
"singleQuote": true,
"endOfLine": "lf",
"printWidth": 100
},
"lint-staged": {
"*.{js,ts,yaml,yml}": [
"eslint --fix"
],
"*.scss": [
"stylelint --fix"
],
"*.{js,ts,css,scss,json,md,html,yaml,yml}": [
"prettier --write"
]
},
"madge": {
"detectiveOptions": {
"ts": {
"skipTypeImports": true
}
}
}
}