forked from uswds/uswds-elements
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 4.72 KB
/
package.json
File metadata and controls
118 lines (118 loc) · 4.72 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
{
"name": "@uswds/elements",
"version": "1.0.0-alpha.6",
"type": "module",
"customElements": "custom-elements.json",
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/uswds/uswds-elements.git"
},
"files": [
".storybook",
"storybook",
"build",
"dist",
"src"
],
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"import": "./dist/components/index.js",
"types": "./dist/index.d.ts",
"default": "./dist/components/index.js"
},
"./components/*": "./dist/components/*.js",
"./components/frameworks/react/*": "./dist/components/frameworks/react/*.js",
"./src/components/*": "./src/components/*/index.js",
"./core/*": "./src/core/*",
"./styles/*": "./build/*"
},
"scripts": {
"build": "tsc -p ./config/tsconfig.json && vite build --config ./config/vite.config.ts && npm run manifest:build",
"build:tokens": "style-dictionary build --config ./config/style-dictionary.config.js",
"build:watch": "vite build --config ./config/vite.config.ts --watch",
"dev": "vite --config ./config/vite.config.ts",
"fix-permissions": "sudo chown -R $(id -u):$(id -g) .",
"pages": "npm run storybook:build && cp -r storybook-static _site",
"prepare": "husky",
"prettier:js": "npx prettier --check '**/*.{cjs,css,js,json,jsx,mjs,ts,tsx}' --config ./config/.prettierrc",
"prettier:js:fix": "npx prettier --write '**/*.{cjs,css,js,json,jsx,mjs,ts,tsx}' --config ./config/.prettierrc",
"prettier:md": "npx prettier --check '**/*.{md,mdx}' --config ./config/.prettierrc",
"prettier:md:fix": "npx prettier --write '**/*.{md,mdx}' --config ./config/.prettierrc",
"start": "npm run storybook & npm run manifest:watch",
"storybook:build": "storybook build",
"storybook": "storybook dev -p 8008",
"prestorybook:serve": "npm run storybook:build --quiet",
"storybook:serve": "node ./internals/scripts/serve-storybook.js",
"stylelint": "stylelint './src/components/**/*.{css,css.js,css.ts}' --config=./config/stylelint.config.mjs",
"stylelint:fix": "stylelint './src/components/**/*.{css,css.js,css.ts}' --fix --config=./config/stylelint.config.mjs",
"manifest:build": "npx cem analyze --config ./config/custom-elements-manifest.config.js",
"manifest:watch": "npx cem analyze --config ./config/custom-elements-manifest.config.js --watch --dev",
"release": "npm run build:tokens && npm run build && changeset publish",
"test": "vitest --config ./config/vitest.config.js",
"test:ci": "vitest run --config ./config/vitest.config.js",
"test:storybook:ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npm run storybook:serve\" \"wait-on tcp:127.0.0.1:3000 && npx test-storybook --url http://localhost:3000\"",
"vite:preview": "vite preview --config ./config/vite.config.ts"
},
"dependencies": {
"@uswds/uswds": "^3.13.0",
"lit": "^3.3.1",
"sass": "^1.94.0"
},
"devDependencies": {
"@changesets/cli": "^2.29.7",
"@custom-elements-manifest/analyzer": "^0.11.0",
"@eslint/css": "^0.14.1",
"@playwright/test": "^1.56.1",
"@storybook/addon-a11y": "^10.0.7",
"@storybook/addon-docs": "^10.0.7",
"@storybook/addon-links": "^10.0.7",
"@storybook/test-runner": "^0.24.1",
"@storybook/web-components-vite": "^10.0.7",
"@types/express": "^5.0.5",
"@types/node": "^24.10.1",
"@types/serve-static": "^2.2.0",
"@vitest/eslint-plugin": "^1.4.2",
"@vitest/ui": "^4.0.8",
"@wc-toolkit/storybook-helpers": "^10.0.0",
"axe-playwright": "^2.2.2",
"browserslist": "^4.28.0",
"concurrently": "^9.2.1",
"custom-element-jsx-integration": "^1.6.0",
"custom-element-react-wrappers": "^1.7.3",
"custom-element-solidjs-integration": "^1.9.0",
"custom-element-svelte-integration": "^1.2.0",
"custom-element-vuejs-integration": "^1.4.0",
"custom-elements-manifest": "^2.1.0",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-storybook": "10.0.7",
"express": "^5.2.0",
"husky": "^9.1.7",
"jsdom": "^27.2.0",
"lightningcss": "^1.30.2",
"prettier": "^3.6.2",
"serve-static": "^2.2.0",
"shadow-dom-testing-library": "^1.13.1",
"storybook": "^10.0.7",
"storybook-addon-tag-badges": "^3.0.2",
"style-dictionary": "^5.1.1",
"stylelint": "^16.25.0",
"stylelint-config-standard": "^39.0.1",
"stylelint-order": "^7.0.0",
"typescript": "^5.9.3",
"vite": "^7.2.2",
"vite-plugin-bundlesize": "^0.3.0",
"vite-plugin-dts": "^4.5.4",
"vite-plugin-lit-css": "^2.2.2",
"vitest": "^4.0.8",
"wait-on": "^9.0.3",
"web-vitals": "^5.1.0"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.53.2"
}
}