@procore/core-react
Version:
React library of Procore Design Guidelines
194 lines • 6.7 kB
JSON
{
"name": "@procore/core-react",
"version": "12.44.0",
"description": "React library of Procore Design Guidelines",
"author": "Procore Technologies",
"homepage": "https://github.com/procore/core/tree/main/packages/core-react",
"repository": {
"type": "git",
"url": "git+https://github.com/procore/core.git",
"directory": "packages/core-react"
},
"bugs": "https://github.com/procore/core/issues",
"license": "SEE LICENSE IN LICENSE",
"keywords": [
"components",
"javascript",
"js",
"jsx",
"library",
"procore",
"react"
],
"publishConfig": {
"access": "public"
},
"exports": {
".": "./dist/index.js",
"./jestConfig": {
"types": "./jestConfig.d.ts",
"import": "./jestConfig.js",
"require": "./jestConfig.js"
},
"./dist/_typedoc/*.json": "./dist/_typedoc/*.json",
"./dist/_typedoc/**/*.json": "./dist/_typedoc/**/*.json"
},
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
".jest",
"jestConfig.js",
"jestConfig.d.ts"
],
"scripts": {
"build": "yarn run clean && yarn run build:esm & yarn run build:types & yarn run build:typedoc",
"build-storybook": "storybook build --webpack-stats-json",
"build:esm": "BUNDLING=true babel src --out-dir dist --extensions '.ts,.tsx,.js,.snap' -s --copy-files --no-copy-ignored",
"build:typedoc": "ts-node typedoc.ts",
"build:types": "tsc --declaration --emitDeclarationOnly -p tsconfig.prod.json",
"chromatic": "dotenvx run -- chromatic",
"chromatic:ci": "chromatic --ci --storybook-build-dir ./storybook-static --project-token=${CHROMATIC_CORE_REACT_TOKEN} --exit-once-uploaded --only-changed --skip=\"dependabot*\"",
"clean": "rimraf dist",
"dev": "NODE_ENV=development TZ_LOG=true yarn run build:typedoc && yarn run dev:ts",
"dev:ts": "tsc -p tsconfig.prod.json --watch",
"lint": "eslint --ext .js,.jsx,.ts,.tsx src",
"lint:types": "tsc -p tsconfig.prod.json --noEmit",
"lint:types:watch": "tsc -p . --noEmit --watch",
"pseudo": "pseudolocalize run ./src/_locales",
"storybook": "storybook dev -p 6007",
"test": "TZ=America/Los_Angeles jest --silent --runInBand --logHeapUsage",
"test:update": "TZ=America/Los_Angeles jest --runInBand -u",
"test:watch": "yarn run test --watch"
},
"peerDependencies": {
"@procore/globalization-toolkit": ">= 3 < 4",
"formik": ">= 2.1.5 < 3",
"react": ">=16.8.0 < 19",
"react-dom": ">=16.8.0 < 19",
"styled-components": ">= 5.1.1 < 7"
},
"peerDependenciesMeta": {
"formik": {
"optional": true
}
},
"dependencies": {
"@atlaskit/pragmatic-drag-and-drop": "1.3.0",
"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration": "1.2.1",
"@floating-ui/react": "0.25.2",
"@floating-ui/react-dom": "2.0.2",
"@procore/cdn-translations": "0.1.13",
"@procore/core-i18n-js": "^10.30.0",
"@procore/core-icons": "^12.15.0",
"@react-aria/button": "3.14.2",
"@react-aria/checkbox": "3.16.2",
"@react-aria/focus": "3.21.2",
"@react-aria/interactions": "3.25.6",
"@react-aria/label": "3.7.22",
"@react-aria/overlays": "3.30.0",
"@react-aria/radio": "3.12.2",
"@react-aria/utils": "3.31.0",
"@react-aria/visually-hidden": "3.8.28",
"@react-types/checkbox": "3.10.2",
"@tinymce/tinymce-react": "6.1.0",
"axios": "^1.13.5",
"classnames": "2.3.2",
"date-fns": "2.29.1",
"date-fns-tz": "2.0.0",
"lodash.debounce": "4.0.8",
"lodash.groupby": "4.6.0",
"lodash.merge": "4.6.2",
"lodash.throttle": "4.1.1",
"lodash.times": "4.3.2",
"lodash.uniq": "4.5.0",
"ramda": "0.30.1",
"react-dropzone": "11.5.1",
"react-stately": "3.42.0",
"react-virtuoso": "2.16.1",
"react-window": "^1.8.7",
"react-window-infinite-loader": "^1.0.9",
"ulid": "2.3.0"
},
"devDependencies": {
"@atlaskit/pragmatic-drag-and-drop-unit-testing": "^1.1.0",
"@babel/cli": "^7.22.10",
"@babel/core": "^7.22.1",
"@babel/plugin-proposal-object-rest-spread": "7.20.7",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/preset-env": "7.18.10",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.18.6",
"@babel/register": "7.18.9",
"@dotenvx/dotenvx": "1.24.0",
"@etchteam/storybook-addon-status": "4.2.4",
"@figma/code-connect": "^1.4.2",
"@procore/globalization-toolkit": "3.0.0",
"@procore/pseudolocalize": "^0.1.1",
"@procore/storybook-addon": "^4.6.0",
"@storybook/addon-webpack5-compiler-swc": "^4.0.2",
"@storybook/jest": "^0.2.3",
"@storybook/react-webpack5": "^9.1.16",
"@storybook/testing-library": "^0.2.2",
"@testing-library/dom": "8.20.0",
"@testing-library/jest-dom": "5.16.4",
"@testing-library/react": "16.3.0",
"@testing-library/user-event": "14.4.3",
"@types/fs-extra": "11.0.1",
"@types/glob": "8.0.1",
"@types/jest": "29.4.0",
"@types/jest-axe": "^3.5.5",
"@types/lodash": "4.14.192",
"@types/lodash.chunk": "^4",
"@types/lodash.debounce": "4.0.7",
"@types/lodash.groupby": "4.6.7",
"@types/lodash.merge": "4.6.7",
"@types/lodash.throttle": "4.1.7",
"@types/lodash.times": "4.3.7",
"@types/lodash.uniq": "4.5.7",
"@types/node": "17.0.38",
"@types/prop-types": "15.7.5",
"@types/ramda": "0.28.23",
"@types/react": "18.3.1",
"@types/react-dom": "18.3.1",
"@types/react-window": "1.8.5",
"@types/react-window-infinite-loader": "1.0.6",
"@types/testing-library__jest-dom": "5.14.5",
"@types/yup": "0.29.14",
"@typescript-eslint/eslint-plugin": "5.48.2",
"@typescript-eslint/parser": "5.48.1",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "29.1.2",
"babel-loader": "8.2.5",
"babel-plugin-styled-components": "2.1.4",
"chromatic": "^13.1.3",
"eslint": "8.31.0",
"eslint-config-prettier": "8.6.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-react-hooks": "4.6.0",
"formik": "2.2.9",
"glob": "8.1.0",
"jest": "29.4.1",
"jest-axe": "^7.0.1",
"jest-styled-components": "7.2.0",
"lodash.chunk": "4.2.0",
"miragejs": "^0.1.48",
"raf-stub": "^3.0.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"rimraf": "^6.0.1",
"storybook": "^9.1.17",
"styled-components": "6.1.18",
"ts-jest": "^29.0.5",
"ts-node": "10.9.1",
"typedoc": "0.22.17",
"typescript": "4.7.4",
"webpack": "5.96.1",
"yup": "0.32.11"
},
"sideEffects": [
"./dist/OverlayTrigger/OverlayTrigger.js",
"./dist/_hooks/ResizeObserver.js"
]
}