-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
159 lines (159 loc) · 4.76 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
156
157
158
159
{
"name": "component-library-starter",
"description": "This is a starter project for enabling developers an easy way to create a Component Library with Lit Element components.",
"license": "MIT",
"author": "quincarter",
"version": "0.0.1",
"private": true,
"packageManager": "[email protected]",
"scripts": {
"lint": "nx run-many --target=lint --projects=\"@*/*\"",
"lint:fix": "nx run-many --target=lint:fix --projects=\"@*/*\"",
"format": "nx run-many --target=format --projects=\"@*/*\"",
"test": "nx run-many --target=test --projects=\"@*/*\"",
"docs:md": "nx run-many --target=docs:md --projects=\"@*/*\"",
"publish:local": "nx run-many --target=publish:local --projects=\"@*/*\"",
"build": "nx run-many --target=build --projects=\"@*/*\"",
"tsc:watch": "nx run-many --target=tsc:watch --parallel 10 --projects=\"@*/*\"",
"changeset:add": "changeset && changeset version",
"storybook": "storybook dev -p 6006",
"storybook:build": "npm run analyze -- --exclude dist && storybook build",
"new-component:ts": "nx generate web-component-ts \"$@\"",
"postnew-component:ts": "yarn install && yarn lint:fix && yarn format && yarn build && yarn test && yarn docs:md",
"rimraf-dist": "rimraf packages/**/dist",
"rimraf": "rimraf --",
"analyze": "cem analyze --litelement",
"start": "yarn build && concurrently -k -r \"yarn tsc:watch\" \"sb dev -p 6006\"",
"build-storybook": "storybook build",
"prepare": "husky install",
"verdaccio:init": "mkdir -p ./.verdaccio/config ./.verdaccio/plugins ./.verdaccio/storage && cp ./verdaccio-config.yaml ./.verdaccio/config/config.yaml",
"verdaccio": "yarn verdaccio:init && docker compose up -d"
},
"dependencies": {
"@changesets/cli": "^2.27.10",
"@swc/helpers": "0.5.15",
"lit": "^3.2.1"
},
"devDependencies": {
"@angular-devkit/schematics": "^19.0.0",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "^7.26.0",
"@custom-elements-manifest/analyzer": "^0.10.3",
"@eslint/compat": "^1.2.3",
"@nx/devkit": "20.1.2",
"@nx/eslint": "20.1.2",
"@nx/eslint-plugin": "20.1.2",
"@nx/jest": "20.1.2",
"@nx/js": "20.1.2",
"@nx/plugin": "20.1.2",
"@nx/workspace": "20.1.2",
"@open-wc/eslint-config": "^12.0.3",
"@open-wc/testing": "latest",
"@storybook/addon-actions": "^8.4.5",
"@storybook/addon-cssresources": "^6.2.9",
"@storybook/addon-essentials": "^8.4.5",
"@storybook/addon-links": "^8.4.5",
"@storybook/addon-mdx-gfm": "^8.4.5",
"@storybook/web-components": "^8.4.5",
"@storybook/web-components-vite": "^8.4.5",
"@storybook/web-components-webpack5": "^8.4.5",
"@swc-node/register": "1.10.9",
"@swc/cli": "0.5.1",
"@swc/core": "1.9.2",
"@types/jest": "29.5.14",
"@types/node": "22.9.1",
"@typescript-eslint/eslint-plugin": "8.15.0",
"@typescript-eslint/parser": "8.15.0",
"@web/dev-server": "^0.4.6",
"@web/dev-server-storybook": "^2.0.3",
"@web/test-runner": "^0.19.0",
"babel-loader": "^9.2.1",
"babel-plugin-template-html-minifier": "^4.1.0",
"concurrently": "^9.1.0",
"eslint": "9.15.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-storybook": "^0.11.1",
"husky": "^9.1.7",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"lint-staged": "^15.2.10",
"nx": "20.1.2",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^6.0.1",
"storybook": "^8.4.5",
"storybook-readme": "^5.0.9",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"tslib": "^2.8.1",
"typescript": "5.6.3",
"vite": "^5.4.11",
"web-component-analyzer": "^2.0.0"
},
"eslintConfig": {
"extends": [
"@open-wc",
"prettier"
]
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write"
],
"*.ts": [
"eslint --fix",
"prettier --write"
],
"*.html": [
"prettier --write"
],
"*.css": [
"prettier --write"
],
"*.json": [
"prettier --write"
]
},
"customElements": "custom-elements.json",
"workspaces": {
"packages": [
"packages/*"
]
},
"nx": {
"targets": {
"build": {
"inputs": [
"prod",
"^prod"
],
"dependsOn": [
{
"projects": "dependencies",
"target": "build"
},
{
"projects": "dependencies",
"target": "test"
}
]
},
"test": {
"dependsOn": [
{
"projects": "dependencies",
"target": "build"
}
]
}
}
}
}