-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
120 lines (120 loc) · 4.27 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
{
"name": "@statistikzh/leu",
"description": "UI component library of the canton of zurich",
"license": "MIT",
"author": "statistikzh",
"version": "0.12.2",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"customElements": "dist/custom-elements.json",
"web-types": "./dist/web-types.json",
"exports": {
".": {
"default": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./*": "./dist/*"
},
"repository": {
"type": "git",
"url": "https://github.com/statistikzh/leu.git"
},
"homepage": "https://github.com/statistikzh/leu/",
"scripts": {
"analyze": "cem analyze --config custom-elements-manifest.config.js",
"build": "rimraf dist && npm run build:js && npm run build:types && npm run build:css && npm run analyze",
"build:js": "rollup -c rollup.config.js",
"build:types": "tsc -p tsconfig.build.json",
"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 --ext .js,.mjs,.html . --ignore-path .gitignore ",
"lint:prettier": "prettier \"**/*.{js,mjs,md,html,json}\" --check --ignore-path .gitignore",
"lint:stylelint": "stylelint \"**/*.{js,css}\" --ignore-path .gitignore",
"lint:types": "tsc",
"format": "npm run format:eslint && npm run format:prettier",
"format:eslint": "eslint --ext .js,.mjs,.html . --fix --ignore-path .gitignore",
"format:prettier": "prettier \"**/*.{js,mjs,md,html,json}\" --write --ignore-path .gitignore",
"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.6.3",
"lit": "^3.1.4"
},
"devDependencies": {
"@babel/preset-env": "^7.23.3",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@custom-elements-manifest/analyzer": "^0.9.2",
"@open-wc/eslint-config": "^9.2.1",
"@open-wc/testing": "^4.0.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-replace": "^5.0.7",
"@rollup/plugin-typescript": "^11.1.6",
"@storybook/addon-designs": "^7.0.9",
"@storybook/addon-essentials": "^7.6.17",
"@storybook/addon-links": "^7.6.17",
"@storybook/blocks": "^7.6.17",
"@storybook/web-components": "^7.6.17",
"@web/dev-server": "^0.4.6",
"@web/dev-server-rollup": "^0.6.4",
"@web/storybook-builder": "^0.1.6",
"@web/storybook-framework-web-components": "^0.1.2",
"@web/test-runner": "^0.18.2",
"@web/test-runner-commands": "^0.9.0",
"@web/test-runner-playwright": "^0.11.0",
"@whitespace/storybook-addon-html": "^5.1.6",
"arg": "^5.0.2",
"custom-element-jet-brains-integration": "^1.4.4",
"custom-element-vs-code-integration": "^1.2.3",
"custom-element-vuejs-integration": "^1.1.0",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-storybook": "^0.6.14",
"glob": "^10.3.10",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"nodemon": "^3.0.2",
"postcss": "^8.4.31",
"postcss-cli": "^10.1.0",
"postcss-import": "^15.1.0",
"postcss-lit": "^1.1.0",
"postcss-preset-env": "^9.1.4",
"prettier": "^2.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-syntax-highlighter": "^15.5.0",
"rimraf": "^5.0.5",
"rollup": "^3.29.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-postcss-lit": "^2.1.0",
"sinon": "^17.0.1",
"storybook": "^7.6.17",
"stylelint": "^15.10.3",
"stylelint-config-standard": "^34.0.0",
"tslib": "^2.6.2",
"typescript": "^5.4.3"
},
"prettier": {
"semi": false
},
"lint-staged": {
"*.{js,css}": [
"stylelint --fix"
],
"*.{js,mjs,html}": [
"eslint --fix",
"prettier --write"
],
"*.{md,json}": "prettier --write"
}
}