-
Notifications
You must be signed in to change notification settings - Fork 47
/
package.json
155 lines (155 loc) · 5.54 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
{
"name": "uui-monorepo",
"version": "1.0.0",
"description": "A library of UI-components, build with love from Umbraco",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/umbraco/Umbraco.UI.git"
},
"bugs": {
"url": "https://github.com/umbraco/Umbraco.UI/issues"
},
"homepage": "https://github.com/umbraco/Umbraco.UI/#readme",
"keywords": [
"umbraco",
"backoffice",
"web-components",
"shadow-dom",
"custom-elements"
],
"scripts": {
"lint:eslint": "eslint --cache",
"format:eslint": "eslint --fix",
"lint:prettier": "prettier \"**/*.js\" \"**/*.ts\" \"**/*.mjs\" --check --ignore-path .gitignore",
"format:prettier": "prettier \"**/*.js\" \"**/*.ts\" \"**/*.mjs\" --write --ignore-path .gitignore",
"lint": "npm run lint:eslint",
"format": "npm run format:eslint",
"test": "web-test-runner --coverage",
"test:watch": "web-test-runner --watch",
"test:coverage": "web-test-runner --node-resolve --coverage",
"test:coverage-for": "node ./scripts/test-coverage-package.js",
"dev": "npm run clean && npm run storybook",
"build": "lerna run --scope @umbraco-ui/uui-css build && turbo run build",
"build:prod": "npm run clean && npm run build",
"clean": "turbo run clean --parallel",
"lerna:publish": "npm run build:prod && npm whoami && lerna publish from-package --yes --pre-dist-tag prerelease",
"lerna:version": "lerna version --sync-workspace-lock",
"lerna:version:rc": "npm run lerna:version -- --conventional-prerelease",
"lerna:changelog": "npx lerna-changelog",
"lerna:modify-package": "lerna exec -- node ../../scripts/modify-pkgjson.mjs",
"bootstrap": "lerna run --scope @umbraco-ui/uui-css clean && lerna run --scope @umbraco-ui/uui-css build && node ./scripts/generate-ts-config.js",
"check-updates": "npx ncu && npx lerna exec --no-bail -- npx ncu",
"prepare": "husky",
"new-package": "plop && npm i",
"pack-all": "npm run build:prod && node ./scripts/pack-packages.js",
"pack-all-no-build": "node ./scripts/pack-packages.js",
"pack": "node ./scripts/pack-package.js",
"chromatic": "npx chromatic --build-script-name storybook:build",
"storybook": "npm run bootstrap && npm run storybook:analyze && storybook dev -p 6006",
"storybook:build": "npm run bootstrap && npm run storybook:analyze && storybook build",
"storybook:analyze": "web-component-analyzer **/*.element.ts --outFile custom-elements.json",
"postinstall": "npm run bootstrap"
},
"engines": {
"node": ">=20.9 <21",
"npm": ">=10.1 < 11"
},
"dependencies": {
"lit": "^2.8.0"
},
"devDependencies": {
"@babel/core": "7.25.2",
"@chromatic-com/storybook": "^2.0.2",
"@eslint/compat": "^1.1.1",
"@eslint/js": "^9.7.0",
"@lerna-lite/cli": "3.10.0",
"@lerna-lite/exec": "3.10.0",
"@lerna-lite/publish": "3.10.0",
"@lerna-lite/run": "3.10.0",
"@lerna-lite/version": "3.10.0",
"@open-wc/testing": "4.0.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@storybook/addon-a11y": "^8.3.5",
"@storybook/addon-essentials": "^8.3.5",
"@storybook/addon-links": "^8.3.5",
"@storybook/blocks": "^8.3.5",
"@storybook/test": "^8.3.5",
"@storybook/web-components": "^8.3.5",
"@storybook/web-components-vite": "^8.3.5",
"@types/chai": "4.3.12",
"@types/eslint__js": "8.42.3",
"@types/mocha": "^10.0.7",
"@web/dev-server-esbuild": "0.4.3",
"@web/test-runner": "0.18.2",
"@web/test-runner-commands": "^0.9.0",
"@web/test-runner-playwright": "0.11.0",
"autoprefixer": "10.4.17",
"babel-loader": "9.1.3",
"chromatic": "11.12.5",
"element-internals-polyfill": "1.3.10",
"esbuild": "0.21.5",
"eslint": "9.7.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-lit": "1.14.0",
"eslint-plugin-local-rules": "3.0.2",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-storybook": "^0.8.0",
"eslint-plugin-wc": "2.1.0",
"github-markdown-css": "5.8.0",
"glob": "10.4.3",
"globals": "15.8.0",
"husky": "9.1.1",
"lint-staged": "15.2.7",
"npm-check-updates": "16.14.20",
"plop": "3.1.2",
"postcss": "8.4.39",
"postcss-advanced-variables": "3.0.1",
"postcss-cli": "11.0.0",
"postcss-color-function": "4.1.0",
"postcss-custom-properties": "13.3.6",
"postcss-jsx": "0.36.4",
"postcss-load-config": "6.0.1",
"postcss-syntax": "0.36.2",
"postcss-url": "10.1.3",
"postcss-values-parser": "6.0.2",
"prettier": "3.2.5",
"raw-loader": "4.0.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-markdown": "8.0.7",
"react-syntax-highlighter": "15.5.0",
"remark-gfm": "3.0.1",
"rimraf": "5.0.5",
"rollup": "4.27.2",
"rollup-plugin-esbuild": "6.1.1",
"rollup-plugin-import-css": "3.5.5",
"rollup-plugin-minify-html-literals": "1.2.6",
"rollup-plugin-postcss": "4.0.2",
"storybook": "^8.3.5",
"tsc-files": "1.1.4",
"turbo": "1.13.2",
"typescript": "^5.4.5",
"typescript-eslint": "^7.16.1",
"vite": "5.4.7",
"vite-plugin-turbosnap": "^1.0.3",
"vite-tsconfig-paths": "4.3.2",
"web-component-analyzer": "2.0.0"
},
"overrides": {
"lit": "^2.8.0",
"playwright": "^1.45.3"
},
"workspaces": [
"./packages/*"
],
"lint-staged": {
"*.ts": "eslint --cache --fix",
"*.element.ts": "tsc-files --project tsconfig.lint-staged.json",
"*": "prettier --ignore-unknown --write"
},
"storybook": {
"url": "https://v1-contrib--62189360eeb21b003ab2f4ad.chromatic.com/"
},
"packageManager": "[email protected]"
}