-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
96 lines (96 loc) · 2.86 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
{
"name": "@c2n/web-components",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"prepare": "husky",
"lint": "wireit",
"lint:check": "wireit",
"lint:fix": "eslint --ignore-pattern=dist/ --ignore-pattern=types/ --fix \"**/*.{js,ts}\"",
"fix": "npm run lint:fix && npm run format:fix",
"format": "npm run format:fix",
"format:check": "prettier \"**/*.{cjs,html,js,json,md,ts}\" --check",
"format:fix": "prettier \"**/*.{cjs,html,js,json,md,ts}\" --write",
"demo": "npm run start -w demo",
"demo:dev": "npm run dev -w demo",
"demo:build": "wireit",
"build": "wireit",
"build:generator": "npm run build --workspace=scripts/generator",
"pregenerate": "npm run build:generator",
"generate": "npm run plop --workspace=scripts/generator",
"clean": "npx del-cli **/node_modules **/dist **/types **/custom-elements.json package-lock.json -f"
},
"devDependencies": {
"husky": "9.1.7",
"lerna": "8.1.9",
"lint-staged": "15.4.1",
"prettier": "3.4.2",
"prettier-plugin-astro": "^0.14.1",
"wireit": "^0.14.9"
},
"workspaces": [
"packages/**/*",
"demo",
"scripts/generator"
],
"wireit": {
"lint": {
"dependencies": [
"lint:check"
]
},
"lint:check": {
"files": [
"**/*.{js,ts}",
".eslintignore",
".eslintrc.json",
"!**/dist/**/*.{js,ts}",
"!node_modules/"
],
"output": [],
"command": "eslint --ignore-pattern \"dist/\" --ignore-pattern \"types/\" \"**/*.{js,ts}\""
},
"build": {
"dependencies": [
"./packages/chat-input:build",
"./packages/chat-message:build",
"./packages/avatar:build",
"./packages/side-nav:build",
"./packages/card:build",
"./packages/checkbox:build",
"./packages/code-viewer:build",
"./packages/color-area:build",
"./packages/color-select:build",
"./packages/color-slider:build",
"./packages/details:build",
"./packages/dropdown-list:build",
"./packages/expansion-panel:build",
"./packages/hyperlink-list:build",
"./packages/icon-button:build",
"./packages/label:build",
"./packages/list:build",
"./packages/list-item:build",
"./packages/mat-icon:build",
"./packages/overlay:build",
"./packages/reorder-list:build",
"./packages/select:build",
"./packages/tabs:build",
"./packages/text-button:build",
"./packages/text-field:build",
"./packages/tooltip:build",
"./packages/wc-utils:build"
]
},
"demo:build": {
"dependencies": [
"build"
],
"command": "npm run build -w demo"
}
},
"lint-staged": {
"**/*.{cjs,html,js,json,md,ts}": "prettier --write",
"{*.{js,ts},!(dist)/**/*.{js,ts}}": "eslint --fix"
}
}