-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 3.99 KB
/
Copy pathpackage.json
File metadata and controls
122 lines (122 loc) · 3.99 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
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
{
"name": "@statistikzh/leu",
"description": "UI component library of the canton of zurich",
"license": "MIT",
"author": "statistikzh",
"version": "0.28.3",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"customElements": "dist/custom-elements.json",
"web-types": "./dist/web-types.json",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./*": "./dist/*"
},
"repository": {
"type": "git",
"url": "git+https://github.com/statistikZH/leu.git"
},
"homepage": "https://github.com/statistikZH/leu/",
"scripts": {
"analyze": "cem analyze --config custom-elements-manifest.config.js",
"build": "npm run build:js && npm run build:css && npm run analyze",
"build:js": "tsdown",
"build:css": "postcss src/styles/theme.css -o dist/theme.css && cp dist/theme.css .storybook/static/",
"watch:css": "nodemon --watch 'src/styles/*' -e css --exec npm run build:css",
"lint": "npm run lint:eslint && npm run lint:prettier",
"lint:eslint": "eslint .",
"lint:prettier": "prettier \"**/*.{.ts,js,mjs,md,mdx,html,json}\" --check",
"lint:stylelint": "stylelint \"**/*.{ts,js,css}\" --ignore-path .gitignore",
"lint:types": "tsc",
"format": "npm run format:eslint && npm run format:prettier",
"format:eslint": "eslint . --fix",
"format:prettier": "prettier \"**/*.{ts,js,mjs,md,mdx,html,json}\" --write",
"generate-component": "./scripts/generate-component/generate.js",
"test": "web-test-runner --coverage",
"test:watch": "web-test-runner --watch",
"prepare": "husky",
"storybook": "npm run storybook:start",
"storybook:start": "npm run analyze && npm run watch:css & storybook dev -p 8080 --no-open",
"storybook:build": "npm run analyze && npm run build:css && storybook build --output-dir docs"
},
"dependencies": {
"@floating-ui/dom": "^1.7.6",
"lit": "^3.3.2"
},
"devDependencies": {
"@commitlint/cli": "^20.4.4",
"@commitlint/config-conventional": "^20.4.4",
"@custom-elements-manifest/analyzer": "^0.11.0",
"@open-wc/eslint-config": "^13.0.0",
"@open-wc/testing": "^4.0.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-replace": "^6.0.3",
"@storybook/addon-a11y": "^10.2.19",
"@storybook/addon-designs": "^11.1.2",
"@storybook/addon-docs": "^10.2.19",
"@storybook/web-components-vite": "^10.2.19",
"@tsdown/css": "^0.21.3",
"@types/mocha": "^10.0.10",
"@web/dev-server-esbuild": "^1.0.5",
"@web/dev-server-rollup": "^0.6.4",
"@web/test-runner": "^0.20.2",
"@web/test-runner-commands": "^0.9.0",
"@web/test-runner-playwright": "^0.11.1",
"arg": "^5.0.2",
"custom-element-jet-brains-integration": "^1.7.0",
"custom-element-vs-code-integration": "^1.5.0",
"custom-element-vuejs-integration": "^1.4.0",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-storybook": "^10.2.19",
"glob": "^13.0.6",
"globals": "^17.4.0",
"husky": "^9.1.7",
"lint-staged": "^16.3.3",
"nodemon": "^3.1.14",
"postcss": "^8.5.8",
"postcss-cli": "^11.0.1",
"postcss-import": "^16.1.1",
"postcss-lit": "^1.4.1",
"postcss-preset-env": "^11.2.0",
"prettier": "^3.8.1",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-postcss-lit": "^2.2.0",
"sinon": "^21.0.2",
"storybook": "^10.2.19",
"stylelint": "^17.4.0",
"stylelint-config-recommended": "^18.0.0",
"stylelint-config-standard": "^40.0.0",
"tsdown": "^0.21.3",
"typescript": "^5.9.3",
"typescript-eslint": "^8.57.0"
},
"prettier": {
"semi": false
},
"lint-staged": {
"*.{ts,js,css}": [
"stylelint --fix"
],
"*.{ts,js,mjs,html}": [
"eslint --fix --no-warn-ignored",
"prettier --write"
],
"*.{md,json}": "prettier --write"
},
"esm.sh": {
"bundle": false
},
"publishConfig": {
"access": "public",
"provenance": true
}
}