-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
175 lines (175 loc) · 6.59 KB
/
package.json
File metadata and controls
175 lines (175 loc) · 6.59 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
"name": "web-components-builder",
"private": true,
"version": "1.197.0",
"type": "module",
"scripts": {
"config-prepare": "tsx ./vite.tools.config.ts --mode=production",
"start": "pnpm config-prepare && tsx ./scripts/generate-styles.ts && node ./scripts/build-component-v4.js && concurrently 'tsx ./vite.full.config.ts --mode=develop' 'pnpm storybook' 'pnpm analyze:watch'",
"dev": "pnpm start",
"build": "rm -rf package/dist package/tools && pnpm config-prepare && tsx ./scripts/generate-styles.ts && node ./scripts/build-component-v4.js && pnpm analyze && pnpm docs:llms && tsx ./vite.full.config.ts --mode=production && pnpm sass --verbose --no-source-map ./src/shared/styles/main.scss ./package/dist/styles/main.css && node ./scripts/build-main-v4.js && mkdir -p package/tools/styles && cp ./package/dist/styles/main.css ./package/tools/styles/main.css && cp -r src/shared/styles/generated/* package/tools/styles/ && pnpm build:list-exports",
"build:list-exports": "node ./listExports.cjs",
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel 'lint:{eslint,css,fmt,types}'",
"lint:eslint": "tsx ./scripts/generate-styles.ts && node ./scripts/build-component-v4.js && eslint .",
"lint:eslint:fix": "tsx ./scripts/generate-styles.ts && node ./scripts/build-component-v4.js && eslint . --fix",
"lint:fmt": "prettier --check --log-level=warn .",
"lint:css": "stylelint \"**/*.{scss,css}\"",
"lint:css:fix": "stylelint \"**/*.{scss,css}\" --fix",
"lint:fmt:fix": "prettier --write .",
"lint:types": "tsc --noEmit --project tsconfig.json",
"lint:fix": "npm-run-all --aggregate-output --continue-on-error --parallel \"lint:*:fix\"",
"analyze": "cem analyze --litelement --outdir ./package --globs 'src/**/index.ts' --exclude 'src/**/*.stories.ts'",
"analyze:watch": "cem analyze --litelement --outdir ./package --globs 'src/**/index.ts' --exclude 'src/**/*.stories.ts' --watch",
"storybook": "storybook dev -p 6006",
"storybook:build": "pnpm build && storybook build -o storybook-static",
"storybook:serve": "http-server storybook-static -p 6006 --silent",
"docs:llms": "tsx scripts/generate-llm-docs.ts",
"build-storybook": "pnpm build && storybook build",
"test-storybook": "pnpm config-prepare && test-storybook",
"test:components": "pnpm analyze && pnpm config-prepare && pnpm build && pnpm build-storybook && concurrently -k -s first -n 'SB,TEST' -c 'magenta,blue' 'http-server storybook-static --port 6007' 'wait-on -v tcp:127.0.0.1:6007 && pnpm test-storybook --url http://127.0.0.1:6007'",
"test": "pnpm test:unit && pnpm test:storybook",
"test:unit": "vitest run",
"test:unit:coverage": "vitest run --coverage",
"test:unit:ci": "vitest run --coverage",
"test:storybook": "test-storybook",
"test:storybook:ci": "start-server-and-test storybook:serve http://127.0.0.1:6006 test:storybook",
"prepare": "husky install",
"playwright:install": "playwright install --with-deps"
},
"lint-staged": {
"*.{ts,js,vue}": [
"prettier --write",
"eslint"
],
"*.json": "prettier --write",
"*.ya?ml": "prettier --write",
"*.{scss,css,vue}": [
"prettier --write",
"stylelint --allow-empty-input"
]
},
"dependencies": {
"@lukso/core": "^1.7.0",
"@lukso/lsp-smart-contracts": "0.16.7",
"@tailwindcss/typography": "^0.5.19",
"axe-core": "4.11.3",
"clsx": "^2.1.1",
"dompurify": "^3.4.1",
"ethereum-blockies-base64": "^1.0.2",
"marked": "18.0.2",
"qr-code-styling": "^1.9.2",
"tailwind-merge": "^3.5.0",
"tailwind-variants": "^3.2.2",
"tailwindcss": "^4.2.4",
"tinycolor2": "^1.6.0",
"tippy.js": "^6.3.7",
"viem": "^2.48.4",
"web3-utils": "^4.3.3"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-react": "^7.28.5",
"@custom-elements-manifest/analyzer": "^0.11.0",
"@eslint/compat": "^2.0.5",
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^10.0.1",
"@lit-labs/motion": "^1.1.0",
"@playwright/test": "^1.59.1",
"@storybook/addon-docs": "10.3.5",
"@storybook/addon-links": "10.3.5",
"@storybook/builder-vite": "10.3.5",
"@storybook/preset-scss": "^1.0.3",
"@storybook/test": "^8.6.18",
"@storybook/test-runner": "^0.24.3",
"@storybook/web-components-vite": "10.3.5",
"@tailwindcss/vite": "^4.2.4",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^25.6.0",
"@typescript-eslint/eslint-plugin": "^8.59.1",
"@typescript-eslint/parser": "^8.59.1",
"@vitest/coverage-v8": "4.1.5",
"autoprefixer": "^10.5.0",
"concurrently": "^9.2.1",
"eslint": "^10.2.1",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-lit": "^2.2.1",
"eslint-plugin-storybook": "10.3.5",
"espree": "^11.2.0",
"globals": "^17.5.0",
"http-server": "^14.1.1",
"husky": "^9.1.7",
"jest-junit": "^17.0.0",
"jest-mock": "^30.3.0",
"jsdom": "^29.1.0",
"lint-staged": "^16.4.0",
"list-exports": "^2.2.0",
"lit": "^3.3.2",
"lit-analyzer": "^2.0.3",
"lit-html": "^3.3.2",
"npm-run-all": "^4.1.5",
"postcss": "^8.5.12",
"prettier": "^3.8.3",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"renamer": "^5.0.3",
"sass": "^1.99.0",
"start-server-and-test": "^3.0.2",
"storybook": "10.3.5",
"stylelint": "^17.9.1",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard-scss": "^17.0.0",
"stylelint-prettier": "^5.0.3",
"stylelint-scss": "^7.0.0",
"tinycolor2": "^1.6.0",
"tsx": "^4.21.0",
"typescript": "^6.0.3",
"typescript-bundle": "^1.0.18",
"vite": "^8.0.10",
"vite-plugin-dts": "^4.5.4",
"vite-plugin-external": "^6.2.2",
"vite-plugin-static-copy": "^4.1.0",
"vitest": "^4.1.5",
"wait-on": "^9.0.5",
"wrangler": "^4.86.0",
"yargs": "^18.0.0"
},
"packageManager": "pnpm@10.28.2+sha512.41872f037ad22f7348e3b1debbaf7e867cfd448f2726d9cf74c08f19507c31d2c8e7a11525b983febc2df640b5438dee6023ebb1f84ed43cc2d654d2bc326264",
"pnpm": {
"overrides": {
"playwright": "^1.57.0",
"rollup": "^4.60.2",
"qs": "^6.15.1",
"minimatch": "^10.2.5",
"immutable": "^5.1.5",
"tough-cookie": "^6.0.1",
"tar": "^7.5.13",
"ws": "^8.20.0",
"secp256k1": "^5.0.1",
"form-data": "^4.0.5",
"semver": "^7.7.4",
"bn.js": "^5.2.3",
"flatted": "^3.4.2",
"picomatch": "^4.0.4",
"path-to-regexp": "^8.4.2",
"lodash": "^4.18.1",
"follow-redirects": "^1.16.0",
"axios": "^1.15.2"
},
"onlyBuiltDependencies": [
"@parcel/watcher",
"@swc/core",
"esbuild",
"rs-module-lexer",
"sharp",
"unrs-resolver",
"workerd"
]
},
"repository": {
"type": "git",
"url": "https://github.com/lukso-network/tools-web-components"
},
"customElements": "package/custom-elements.json"
}