-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathpackage.json
More file actions
150 lines (150 loc) · 4.78 KB
/
package.json
File metadata and controls
150 lines (150 loc) · 4.78 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
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
{
"name": "@umbraco-ui/uui",
"version": "2.0.0-alpha.1",
"description": "The Umbraco UI Library - web components for the Umbraco backoffice.",
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./components/*": "./dist/components/*",
"./internal/*": "./dist/internal/*",
"./themes/*": "./dist/themes/*",
"./styles/*": "./dist/styles/*"
},
"sideEffects": [
"dist/components/*/!(*.element).js",
"dist/index.js",
"dist/internal/version.js",
"src/components/*/!(*.element).ts",
"src/index.ts",
"src/internal/version.ts"
],
"customElements": "custom-elements.json",
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
"dist/**/*.d.ts",
"dist/**/*.css",
"dist/**/*.woff2",
"custom-elements.json",
"vscode.html-custom-data.json"
],
"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"
],
"publishConfig": {
"access": "public"
},
"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": "vitest run",
"test:watch": "vitest",
"test:coverage-for": "node scripts/test-coverage-package.js",
"dev": "npm run clean && npm run storybook",
"build": "vite build && tsc -p tsconfig.build.json && npm run analyze",
"build:watch": "tsc -p tsconfig.build.json && vite build --watch --emptyOutDir false",
"clean": "rimraf dist custom-elements.json vscode.html-custom-data.json",
"analyze": "web-component-analyzer src/**/*.element.ts --outFile custom-elements.json && web-component-analyzer src/**/*.element.ts --format vscode --outFile vscode.html-custom-data.json",
"prepare": "husky",
"chromatic": "npx chromatic --build-script-name storybook:build",
"storybook": "npm run analyze && storybook dev -p 6006",
"storybook:build": "npm run analyze && storybook build",
"new-component": "plop",
"test:codemod": "node --test scripts/codemods/test.js",
"lerna:version": "lerna version --conventional-commits --sync-workspace-lock",
"lerna:version:rc": "npm run lerna:version -- --conventional-prerelease"
},
"engines": {
"node": ">=24.13",
"npm": ">=11"
},
"dependencies": {
"culori": "^4.0.2",
"lit": "^3.0.0"
},
"devDependencies": {
"@chromatic-com/storybook": "5.0.1",
"@eslint/compat": "2.0.2",
"@eslint/js": "10.0.1",
"@lerna-lite/cli": "4.11.3",
"@lerna-lite/publish": "4.11.3",
"@lerna-lite/version": "4.11.3",
"@storybook/addon-a11y": "^10.2.15",
"@storybook/addon-docs": "^10.2.15",
"@storybook/addon-links": "^10.2.15",
"@storybook/web-components-vite": "^10.2.15",
"@testing-library/dom": "10.4.1",
"@types/culori": "^4.0.1",
"@types/react": "18.3.1",
"@types/react-dom": "18.3.1",
"@vitest/browser": "^4.0.18",
"@vitest/browser-playwright": "^4.0.18",
"axe-core": "^4.11.1",
"chromatic": "^15.2.0",
"eslint": "10.0.3",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-lit": "2.2.1",
"eslint-plugin-local-rules": "3.0.2",
"eslint-plugin-prettier": "5.5.5",
"eslint-plugin-storybook": "10.2.16",
"eslint-plugin-wc": "3.1.0",
"github-markdown-css": "5.9.0",
"globals": "17.4.0",
"husky": "9.1.7",
"jscodeshift": "^17.3.0",
"lint-staged": "16.1.2",
"playwright": "^1.58.2",
"plop": "4.0.5",
"prettier": "3.8.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-markdown": "10.1.0",
"react-syntax-highlighter": "16.1.1",
"remark-gfm": "4.0.1",
"rimraf": "6.1.3",
"storybook": "^10.2.15",
"tsc-files": "1.1.4",
"typescript": "5.9.3",
"typescript-eslint": "8.56.1",
"vite": "7.3.2",
"vitest": "^4.0.18",
"vitest-browser-lit": "^1.0.1",
"web-component-analyzer": "2.0.0"
},
"lint-staged": {
"*.element.ts": [
"eslint --cache --fix",
"tsc-files --project tsconfig.lint-staged.json"
],
"!(*.element).ts": "eslint --cache --fix",
"*": "prettier --ignore-unknown --write"
},
"storybook": {
"url": "https://uui.umbraco.com"
},
"packageManager": "[email protected]"
}