{ "name": "@nvidia-elements/themes", "version": "2.0.0", "release": { "extends": "../../release.config.js" }, "description": "Themes for the Elements design system, providing comprehensive color palettes, typography, and spacing.", "keywords": [ "nvidia", "design-system", "themes", "design-tokens", "css-variables", "dark-theme", "high-contrast" ], "homepage": "https://NVIDIA.github.io/elements/", "customElements": "dist/custom-elements.json", "repository": { "type": "git", "url": "git+https://github.com/NVIDIA/elements.git", "directory": "projects/themes" }, "sideEffects": [ "./dist/**/*.css" ], "type": "module", "contributes": { "cssVars": { "customData": [ "./dist/data.css-vars.json" ] } }, "scripts": { "ci": "wireit", "build": "wireit", "dev": "wireit", "lint": "wireit", "test": "wireit", "test:lighthouse": "wireit", "test:visual": "wireit" }, "files": [ "README.md", "CHANGELOG.md", "NOTICE.md", "package.json", "dist/**/*" ], "devDependencies": { "@internals/vite": "workspace:*", "@vitest/coverage-istanbul": "catalog:", "stylelint": "catalog:", "stylelint-config-standard": "catalog:", "cssnano": "7.1.7", "glob": "catalog:", "lit": "catalog:", "postcss": "catalog:", "publint": "catalog:", "style-dictionary": "5.4.4", "typescript": "catalog:", "vite": "catalog:", "vitest": "catalog:" }, "exports": { "./package.json": "./package.json", "./CHANGELOG.md": "./CHANGELOG.md", "./*.examples.json": "./dist/*.examples.json", ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./index.js": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./data.css-vars.json": "./dist/data.css-vars.json", "./fonts/*": "./dist/fonts/*", "./bundles/*": "./dist/bundles/*", "./*": "./dist/*" }, "wireit": { "ci": { "dependencies": [ "build", "publint", "test", "test:visual" ] }, "dev": { "command": "NODE_ENV=development vite build --watch", "service": true, "dependencies": [ "build" ] }, "publint": { "dependencies": [ "build" ], "command": "publint", "files": [ "package.json" ], "output": [] }, "build": { "dependencies": [ "build:css-var-completions", "build:styledictionary" ] }, "build:styledictionary": { "clean": false, "command": "NODE_ENV=production vite build && node ./build/style-dictionary.config.js && node ./build/style-dictionary.minify.js && node ./build/fonts.js", "files": [ "src/**", "!src/**/*.test.lighthouse.ts", "!src/**/*.test.visual.ts", "build/style-dictionary.config.js", "build/style-dictionary.minify.js", "build/fonts.js", "package.json", "vite.config.ts" ], "output": [ "dist/", "!dist/data.css-vars.json" ] }, "build:css-var-completions": { "command": "node ./build/css-var-completions.js", "files": [ "build/css-var-completions.js", "src/**", "!src/**/*.test.lighthouse.ts", "!src/**/*.test.visual.ts" ], "output": [ "dist/data.css-vars.json" ], "dependencies": [ "build:styledictionary" ] }, "lint": { "dependencies": [ "lint:style" ] }, "test": { "command": "vitest run --config=vitest.config.ts", "files": [ "build/**/*.js", "dist/**/*.css", "src/**/*.test.ts", "vitest.config.ts" ], "output": [], "dependencies": [ "build", "../internals/vite:ci" ] }, "lint:style": { "command": "stylelint 'src/**/*.css' --config=../../stylelint.config.mjs", "files": [ "src/**/*.css", "../../stylelint.config.mjs" ], "output": [] }, "test:lighthouse": { "command": "playwright-lock 'vitest run --config=vitest.lighthouse.ts'", "files": [ "src/index.test.lighthouse.ts", "src/**/*.test.lighthouse.ts", "vitest.lighthouse.html", "vitest.lighthouse.ts" ], "output": [ ".lighthouse" ], "dependencies": [ "build", "../internals/vite:ci" ], "env": { "NODE_ENV": "production" } }, "test:visual": { "command": "vitest run --config=vitest.visual.ts", "clean": false, "files": [ "dist/**/*.css", "src/index.test.visual.ts", "src/**/*.test.visual.ts", "vitest.visual.html", "vitest.visual.ts" ], "output": [ ".visual/*.png" ], "dependencies": [ "../internals/vite:ci", { "script": "build", "cascade": false } ] } }, "publishConfig": { "provenance": true }, "license": "Apache-2.0" }