@uswds/web-components
Version:
> [!CAUTION] > Work on the next version of the Design System is happening in this repo. The code in this repository is not yet ready for production use.
75 lines (74 loc) • 2.39 kB
JSON
{
"name": "@uswds/web-components",
"version": "0.0.1-alpha",
"type": "module",
"files": [
".storybook",
"storybook",
"scripts",
"dist",
"src"
],
"publishConfig": {
"access": "public"
},
"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",
"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",
"storybook:build": "storybook build",
"storybook": "storybook dev -p 8008",
"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.8.1",
"lit": "^3.2.0",
"sass": "^1.77.6"
},
"devDependencies": {
"@chromatic-com/storybook": "^1.6.1",
"@storybook/addon-a11y": "^8.2.7",
"@storybook/addon-essentials": "^8.2.7",
"@storybook/addon-links": "^8.2.7",
"@storybook/blocks": "^8.2.7",
"@storybook/manager-api": "^8.2.7",
"@storybook/test": "^8.2.7",
"@storybook/test-runner": "^0.19.0",
"@storybook/theming": "^8.2.7",
"@storybook/web-components": "^8.2.7",
"@storybook/web-components-vite": "^8.2.7",
"@vitest/ui": "^1.6.0",
"axe-playwright": "^2.0.1",
"concurrently": "^8.2.2",
"eslint": "^9.8.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.2",
"storybook": "^8.2.7",
"vite": "^5.3.5",
"vitest": "^1.6.0",
"wait-on": "^7.1.0"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.20.0"
}
}