UNPKG

@primer/react-brand

Version:

Primer Brand is a GitHub's design system for creating React-based marketing websites and digital experiences.

143 lines (142 loc) 4.26 kB
{ "name": "@primer/react-brand", "version": "0.0.0-20260624121905", "description": "Primer Brand is a GitHub's design system for creating React-based marketing websites and digital experiences.", "keywords": [ "primer", "react", "components", "library", "design-system" ], "homepage": "https://primer.style/brand", "bugs": { "url": "https://github.com/primer/brand/issues" }, "repository": { "type": "git", "url": "git+https://github.com/primer/brand.git" }, "license": "MIT", "author": "GitHub, Inc.", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", "default": "./lib/index.js" }, "./esm": { "types": "./esm/index.esm.d.ts", "default": "./esm/index.esm.js" }, "./lib": { "types": "./lib/index.d.ts", "default": "./lib/index.js" }, "./lib/*": "./lib/*", "./fonts/*": "./fonts/*", "./package.json": "./package.json" }, "sideEffects": [ "**/*.css", "./esm/index.esm.js", "./esm/css/stylesheets.js" ], "files": [ "lib", "esm", "fonts", "docs", "llms.txt" ], "scripts": { "build": "npm run clean && npm run build:css-types && npm run build:umd && npm run build:esm && scripts/postbuild", "build:umd": "webpack && tsc --project tsconfig.umd.json", "build:esm": "vite build --config vite.esm.config.ts && tsc --project tsconfig.esm.json", "build:css-types": "tcm -p 'src/**/*.css' .", "build:types": "tsc --project tsconfig.build.json", "bundle:docs": "node scripts/bundle-docs.mjs", "check": "tsc --noEmit", "clean": "rm -rf lib && rm -rf esm && rm -rf fonts && rm -rf docs && rm -f llms.txt", "format": "prettier --check '**/*.{js,jsx,ts,tsx,md,mdx,css,json}'", "format:fix": "prettier --write '**/*.{js,jsx,ts,tsx,md,mdx,css,json}'", "lint": "eslint '**/*.{js,ts,tsx,md,mdx}' --max-warnings=0", "lint:fix": "npm run lint -- --fix", "prepack": "npm run bundle:docs", "release": "npm run build && changeset publish", "start": "npm run start:css-types", "start:css-types": "tcm -w -p 'src/**/*.css' .", "test": "jest", "bundle:docs:verify": "node scripts/verify-docs-bundle.mjs" }, "dependencies": { "@oddbird/popover-polyfill": "0.5.2", "@primer/behaviors": "^1.8.2" }, "devDependencies": { "@figma/code-connect": "^1.4.3", "@juggle/resize-observer": "^3.4.0", "@primer/octicons-react": "19.23.1", "@primer/octovisuals-react": "0.3.0", "@testing-library/dom": "^10.4.1", "@testing-library/jest-dom": "6.9.1", "@testing-library/react": "16.3.2", "@testing-library/user-event": "14.6.1", "@types/chai": "5.2.3", "@types/jest": "^30.0.0", "@types/jest-axe": "3.5.9", "@types/node": "24.12.0", "@types/react": "19.2.14", "@types/react-dom": "19.2.3", "@types/webpack": "^5.28.5", "@vitejs/plugin-react": "^6.0.1", "autoprefixer": "10.4.27", "axe-playwright": "^2.2.2", "clsx": "^2.1.1", "color2k": "2.0.3", "css-loader": "7.1.4", "identity-obj-proxy": "^3.0.0", "jest-axe": "10.0.0", "jest-environment-jsdom": "^30.3.0", "mdast-util-to-string": "^4.0.0", "mini-css-extract-plugin": "2.10.2", "postcss": "8.5.10", "postcss-loader": "8.2.1", "postcss-preset-env": "11.2.0", "remark-frontmatter": "^5.0.0", "remark-gfm": "^4.0.1", "remark-mdx": "^3.1.1", "remark-parse": "^11.0.0", "remark-stringify": "^11.0.0", "storybook": "^10.3.4", "style-dictionary": "^3.8.0", "style-loader": "4.0.0", "ts-loader": "^9.5.7", "typed-css-modules": "0.9.1", "unified": "^11.0.5", "vite": "^8.0.3", "vite-plugin-lib-inject-css": "^2.2.2", "typescript-plugin-css-modules": "5.2.0", "webpack": "5.105.4", "webpack-cli": "7.0.2" }, "peerDependencies": { "@types/react": ">=18 <20", "@types/react-dom": ">=18 <20", "react": ">=18 <20", "react-dom": ">=18 <20" }, "peerDependenciesMeta": { "@types/react": { "optional": true }, "@types/react-dom": { "optional": true } }, "engines": { "node": ">=24.0.0", "npm": ">=8.0.0" } }