UNPKG

@primer/components

Version:
158 lines (157 loc) • 4.84 kB
{ "name": "@primer/components", "version": "0.0.0-202195191245", "description": "Primer react components", "main": "lib/index.js", "module": "lib-esm/index.js", "typings": "lib/index.d.ts", "sideEffects": [ "(lib|lib-esm)/behaviors/focusZone.js", "(lib|lib-esm)/behaviors/focusTrap.js" ], "scripts": { "setup": "./script/setup", "build": "./script/build", "start": "concurrently npm:start:*", "start:docs": "cd docs && npm run develop", "start:storybook": "start-storybook -p 6006", "lint": "eslint '**/*.{js,ts,tsx,md,mdx}'", "lint:fix": "npm run lint -- --fix", "test": "jest", "test:update": "npm run test -- --updateSnapshot", "release": "npm run build && changeset publish", "size": "size-limit" }, "repository": "primer/react", "keywords": [ "react", "components", "library", "design-system" ], "files": [ "codemods", "dist", "lib", "lib-esm", "index.d.ts", "!lib/__tests__", "!lib/stories", "!lib-esm/__tests__", "!lib-esm/stories" ], "author": "GitHub, Inc.", "license": "MIT", "dependencies": { "@primer/octicons-react": "^13.0.0", "@primer/primitives": "4.8.1", "@radix-ui/react-polymorphic": "0.0.14", "@react-aria/ssr": "3.1.0", "@styled-system/css": "5.1.5", "@styled-system/props": "5.1.5", "@styled-system/theme-get": "5.1.2", "@types/history": "4.7.8", "@types/styled-components": "5.1.11", "@types/styled-system": "5.1.12", "@types/styled-system__css": "5.0.16", "@types/styled-system__theme-get": "5.0.1", "classnames": "2.3.1", "deepmerge": "4.2.2", "focus-visible": "5.2.0", "styled-system": "5.1.5", "tinycolor2": "1.4.2" }, "devDependencies": { "@babel/cli": "7.14.5", "@babel/core": "7.14.8", "@babel/eslint-parser": "7.15.7", "@babel/plugin-proposal-nullish-coalescing-operator": "7.14.5", "@babel/plugin-proposal-optional-chaining": "7.14.5", "@babel/plugin-transform-modules-commonjs": "7.14.5", "@babel/preset-react": "7.14.5", "@babel/preset-typescript": "7.15.0", "@changesets/changelog-github": "0.4.0", "@changesets/cli": "2.17.0", "@github/prettier-config": "0.0.4", "@rollup/plugin-commonjs": "19.0.2", "@rollup/plugin-node-resolve": "13.0.5", "@size-limit/preset-big-lib": "5.0.2", "@storybook/addon-a11y": "6.3.4", "@storybook/addon-actions": "^6.2.9", "@storybook/addon-essentials": "6.2.9", "@storybook/addon-links": "^6.2.9", "@storybook/react": "6.3.8", "@testing-library/dom": "7.31.2", "@testing-library/react": "11.2.7", "@testing-library/react-hooks": "7.0.2", "@testing-library/user-event": "13.1.9", "@types/chroma-js": "2.1.3", "@types/enzyme": "3.10.9", "@types/jest": "26.0.23", "@types/jest-axe": "3.5.3", "@types/lodash.isempty": "4.4.6", "@types/lodash.isobject": "3.0.6", "@types/tinycolor2": "1.4.3", "@typescript-eslint/eslint-plugin": "4.31.2", "@typescript-eslint/parser": "4.26.1", "@wojtekmaj/enzyme-adapter-react-17": "0.6.3", "babel-core": "7.0.0-bridge.0", "babel-loader": "^8.2.2", "babel-plugin-add-react-displayname": "0.0.5", "babel-plugin-macros": "3.1.0", "babel-plugin-preval": "5.0.0", "babel-plugin-styled-components": "1.12.0", "babel-plugin-transform-replace-expressions": "0.2.0", "babel-polyfill": "6.26.0", "chroma-js": "2.1.2", "concurrently": "6.2.1", "copyfiles": "2.4.1", "cross-env": "7.0.3", "enzyme": "3.11.0", "eslint": "7.28.0", "eslint-plugin-github": "4.1.3", "eslint-plugin-jest": "24.3.6", "eslint-plugin-jsx-a11y": "6.4.1", "eslint-plugin-mdx": "1.15.1", "eslint-plugin-prettier": "3.4.0", "eslint-plugin-primer-react": "0.5.0", "eslint-plugin-react": "7.24.0", "eslint-plugin-react-hooks": "4.2.0", "jest": "27.0.4", "jest-axe": "5.0.1", "jest-styled-components": "6.3.4", "jscodeshift": "0.13.0", "lodash.isempty": "4.4.0", "lodash.isobject": "3.0.2", "prettier": "2.3.2", "react": "17.0.2", "react-dom": "17.0.2", "react-test-renderer": "17.0.2", "rollup": "2.56.3", "rollup-plugin-babel": "4.4.0", "rollup-plugin-terser": "7.0.2", "rollup-plugin-visualizer": "5.5.0", "semver": "7.3.5", "size-limit": "5.0.2", "styled-components": "4.4.1", "typescript": "4.2.2" }, "peerDependencies": { "react": "^17.0.0", "react-dom": "^17.0.0", "styled-components": "4.x || 5.x" }, "prettier": "@github/prettier-config", "size-limit": [ { "path": "dist/browser.esm.js", "webpack": false, "running": false }, { "path": "dist/browser.umd.js", "webpack": false, "running": false } ] }