-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
78 lines (78 loc) · 2.65 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
{
"name": "@uswds/web-components",
"private": true,
"version": "1.0.0-alpha",
"type": "module",
"customElements": "custom-elements.json",
"files": [
".storybook",
"storybook",
"scripts",
"dist",
"src"
],
"exports": {
".": {
"import": "./dist/components/index.js",
"default": "./dist/components/index.js"
},
"./components/*": "./dist/components/*.js",
"./src/components/*": "./src/components/*/index.js"
},
"scripts": {
"build": "npm run clean && vite build && npm run manifest:build",
"clean": "node ./scripts/rmrf.js dist",
"dev": "vite",
"prepare": "npm run build",
"prettier:js": "npx prettier --check './src/components/**/*.js'",
"prettier:js:fix": "npx prettier --write './src/components/**/*.js'",
"prettier:md": "npx prettier --check '**/*.{md,mdx}'",
"prettier:md:fix": "npx prettier --write '**/*.{md,mdx}'",
"start": "npm run storybook && npm run manifest:watch",
"storybook:build": "storybook build",
"storybook": "storybook dev -p 8008",
"manifest:build": "npx cem analyze --litelement",
"manifest:watch": "npx cem analyze --litelement --watch --dev",
"test": "vitest",
"test:storybook:ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npm run storybook:build --quiet && npx http-server storybook-static --port 6006 --silent\" \"wait-on tcp:127.0.0.1:6006 && npx test-storybook\"",
"vite:preview": "vite preview",
"pages": "npm run storybook:build && cp -r storybook-static _site"
},
"dependencies": {
"@uswds/uswds": "^3.10.0",
"lit": "^3.2.1",
"sass": "^1.81.0"
},
"devDependencies": {
"@chromatic-com/storybook": "^1.8.0",
"@custom-elements-manifest/analyzer": "^0.10.3",
"@storybook/addon-a11y": "^8.4.4",
"@storybook/addon-docs": "^8.4.4",
"@storybook/addon-essentials": "^8.4.4",
"@storybook/addon-links": "^8.4.4",
"@storybook/blocks": "^8.4.4",
"@storybook/manager-api": "^8.4.4",
"@storybook/test": "^8.4.4",
"@storybook/test-runner": "^0.19.0",
"@storybook/theming": "^8.4.4",
"@storybook/web-components": "^8.4.4",
"@storybook/web-components-vite": "^8.4.4",
"@vitest/ui": "^1.6.0",
"axe-playwright": "^2.0.3",
"concurrently": "^8.2.2",
"custom-elements-manifest": "^2.1.0",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
"http-server": "^14.1.1",
"jsdom": "^24.1.1",
"prettier": "^3.3.3",
"shadow-dom-testing-library": "^1.11.3",
"storybook": "^8.4.4",
"vite": "^5.4.11",
"vitest": "^1.6.0",
"wait-on": "^7.2.0"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.27.3"
}
}