UNPKG

@rhds/elements

Version:

Red Hat Design System Elements

329 lines (328 loc) โ€ข 8.34 kB
{ "name": "@rhds/elements", "version": "1.4.5", "description": "Red Hat Design System Elements", "type": "module", "license": "MIT", "customElements": "custom-elements.json", "exports": { ".": "./rhds.min.js", "./lib/*": "./lib/*", "./react/*": "./react/*", "./*": "./elements/*" }, "contributors": [ "Adam Johnson <adjohnso@redhat.com>", "Benny Powers <bennyp@redhat.com>", "Brian Ferry <bferry@redhat.com>", "Corey Vickery <cvickery@redhat.com>", "Diwanshi Gadgil <dpandey@redhat.com>", "Em Nouveau <enouveau@redhat.com>", "Ivana Rodriguez <ivana@redhat.com>", "Kelsey Swanson <kswanson@redhat.com>", "Marionne Patel <mapatel@redhat.com>", "Michael Potter <mpotter@redhat.com", "Nikki Massaro Kauffman <nmassaro@redhat.com>", "Steven Spriggs <sspriggs@redhat.com>", "Wes Ruvalcaba <wruvalcaba@redhat.com>" ], "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "files": [ "!*.ts", "!*.{spec,e2e}.ts", "elements/*/*.{js,md,map,txt,d.ts}", "elements/*/*-lightdom.css", "elements/*/*-lightdom-shim.css", "elements/rh-audio-player/i18n/*.json", "rh-*/*.css", "!elements/*/docs/**/*.{js,html,css,md}", "!elements/*/demo/**/*.{js,html,css,md}", "!elements/*/test/*.{spec,e2e}.{ts,d.ts}", "react/**/*", "lib/**/*.{js,md,map,css,svg,md,html,txt,d.ts}", "custom-elements.json", "rhds.min*" ], "scripts": { "๐Ÿ’-DEV": "โ“ Development aids", "start": "wireit", "dev": "wireit", "serve": "wireit", "analyze": "wireit", "new": "npm init @patternfly/element", "๐Ÿšง-BUILD": "โ“ Make packages and artifacts", "build": "wireit", "docs": "wireit", "site": "npm run docs", "๐Ÿงช-TEST": "โ“ Test packages", "test": "wireit", "test:ci": "wtr", "test:watch": "wtr --watch --group default", "test:vue": "wtr --watch --group with-vue", "test:react": "wtr --watch --group with-react", "e2e": "wireit", "e2e:update": "playwright test --update-snapshots", "proxy": "npx spandx -c spandx.config.cjs", "๐Ÿšš-DIST": "โ“ Publish packages", "prepublishOnly": "wireit", "โš™๏ธ--UTIL": "โ“ Manages the repo", "clean": "git clean -dfX -e node_modules", "clean:nuke": "git clean -fX", "lint": "wireit" }, "wireit": { "patch": { "command": "npx patch-package", "files": [ "package-lock.json", "patches/*" ] }, "start": { "service": true, "command": "web-dev-server --open --watch", "dependencies": [ "compile", "watch:compile", "watch:docs" ] }, "dev": { "service": true, "command": "web-dev-server --watch", "dependencies": [ "analyze", "compile", "watch:compile" ] }, "serve": { "service": true, "command": "eleventy --serve", "dependencies": [ "analyze", "compile", "watch:compile" ] }, "build": { "dependencies": [ "patch", "analyze", "react-wrappers", "compile", "bundle", "docs" ] }, "build:test": { "dependencies": [ "patch", "analyze", "compile" ] }, "test": { "command": "wtr --group default", "dependencies": [ "build:test" ] }, "compile": { "command": "tspc", "files": [ "elements/**/*.ts", "lib/**/*.css", "lib/**/*.ts" ], "output": [ "tsconfig.tsbuildinfo", "elements/**/*.{d.ts,js,map}", "lib/**/*.{d.ts,js,map}", "elements/rh-secondary-nav/test/fixtures.js", "!elements/*/{demo,test}/**/*.js" ] }, "react-wrappers": { "command": "npx tsx scripts/generate-react-wrappers.ts", "dependencies": [ "analyze" ], "files": [ "custom-elements.json", "scripts/generate-react-wrappers.ts" ], "output": [ "react/**/*" ] }, "copy-css": { "command": "npx tsx scripts/copy-assets.ts", "files": [ "elements/*/*.css", "scripts/copy-assets.ts" ], "output": [ "./*/*.css" ] }, "bundle": { "command": "node scripts/bundle.js", "files": [ "elements/**/*.{ts,js,map}", "elements/**/*.css" ], "output": [ "rhds.min.js" ] }, "analyze": { "command": "cem analyze && node scripts/cem-tokens.js && node scripts/system-tokens.js", "files": [ "elements/*/demo/*.html", "elements/**/*.{ts,js,map}", "elements/**/*.css", "tsconfig.tsbuildinfo" ], "output": [ "custom-elements.json" ] }, "docs": { "command": "eleventy", "dependencies": [ "patch", "analyze", "compile", "bundle" ], "files": [ "docs" ], "output": [ "_site" ] }, "lint": { "dependencies": [ "eslint", "stylelint", "markdownlint" ] }, "eslint": { "command": "eslint .", "files": [ "**/*.js", "**/*.ts", "**/*.html" ] }, "stylelint": { "command": "stylelint 'elements/**/*.css' 'lib/**/*.css' 'docs/**/*.scss'", "files": [ "docs/**/*.scss", "elements/**/*.css", "lib/**/*.css" ] }, "markdownlint": { "command": "markdownlint-cli2 -c .markdownlint.cjs '.changesets/*.md'", "files": [ "docs/**/*.md", "elements/**/*.md", "README.md" ] }, "watch:compile": { "service": true, "command": "tspc --watch" }, "watch:docs": { "service": true, "command": "eleventy --serve --incremental", "dependencies": [ "analyze", "compile" ] }, "e2e": { "command": "playwright test", "dependencies": [ "build" ] }, "prepublishOnly": { "dependencies": [ "build" ] } }, "dependencies": { "@lit/context": "^1.1.1", "@patternfly/elements": "^3.0.2", "@patternfly/icons": "^1.0.2", "@patternfly/pfe-core": "^3.0.0", "@rhds/tokens": "^2.0.1", "lit": "^3.1.3", "tslib": "^2.6.2" }, "devDependencies": { "@11ty/eleventy": "^2.0.1", "@11ty/eleventy-img": "^3.1.0", "@11ty/eleventy-plugin-rss": "^1.2.0", "@commitlint/cli": "^19.2.2", "@commitlint/config-conventional": "^19.2.2", "@jspm/generator": "^1.1.7", "@lit-labs/eleventy-plugin-lit": "^1.0.3", "@lit/reactive-element": "^2.0.4", "@parse5/tools": "^0.3.0", "@patternfly/create-element": "^1.0.2", "@patternfly/eslint-config-elements": "^3.0.0", "@patternfly/eslint-plugin-elements": "^2.0.0", "@patternfly/pfe-tools": "^2.0.3", "@playwright/test": "^1.31.1", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-typescript": "^11.1.6", "@types/mocha": "^10.0.6", "@web/rollup-plugin-import-meta-assets": "^2.1.0", "async-csv": "^2.1.3", "autoprefixer": "^10.4.19", "cssnano": "^5.1.15", "custom-elements-manifest": "^2.0.0", "element-internals-polyfill": "^1.3.11", "eleventy-plugin-dart-sass": "^1.0.3", "eleventy-plugin-nesting-toc": "^1.3.0", "es-module-shims": "^1.8.2", "esbuild": "^0.17.18", "eslint": "^9.0.0", "fuse.js": "^6.6.2", "git-branch": "^2.0.1", "glob": "^10.3.10", "image-size": "^1.0.2", "leasot": "^13.3.0", "markdown-it-anchor": "^8.6.7", "markdown-it-attrs": "^4.1.6", "markdownlint-cli2": "^0.8.1", "parse5": "^7.1.2", "playground-elements": "^0.18.1", "postcss-pxtorem": "^6.0.0", "renamer": "^4.0.0", "sinon": "^15.0.4", "spandx": "^2.2.5", "stylelint": "^15.10.0", "stylelint-config-standard": "^31.0.0", "stylelint-config-standard-scss": "^7.0.1", "stylelint-stylistic": "^0.4.5", "ts-patch": "^3.1.2", "typescript": "^5.4.5", "wireit": "^0.9.5" }, "optionalDependencies": { "@esbuild/linux-x64": "^0.21.3", "@rollup/rollup-darwin-x64": "4.14.2" } }