UNPKG

@cimpress/react-components

Version:
158 lines (157 loc) 5.11 kB
{ "name": "@cimpress/react-components", "version": "16.3.10", "description": "React components to support the MCP styleguide", "main": "./dist/src/index.js", "module": "./dist/esm/src/index.js", "types": "./dist/src/index.d.ts", "typesVersions": { "*": { "*": [ "./dist/src/index" ] } }, "files": [ "dist" ], "sideEffects": [ "**/*.css", "**/*.scss" ], "scripts": { "watch:esm": "npm run build:esm -- --watch", "docs:start": "webpack-dev-server", "start": "concurrently \"npm run watch:esm\" \"npm run docs:start\"", "build": "npx rimraf dist && npm run build:cjs && npm run build:esm", "build:cjs": "tsc -p ./tsconfig.build.json --outDir dist", "build:esm": "tsc -p ./tsconfig.build.json -m esnext --outDir dist/esm", "build:all": "npm run build && npm run build:docs", "build:docs": "webpack", "lint": "npm run lint:check -- --fix", "lint:check": "eslint ./src --ext .ts,.tsx", "format": "prettier . --ignore-unknown --write", "format:check": "prettier . --ignore-unknown --check", "test": "jest -c jest.config.js", "test:update-snapshot": "npm run test -- --updateSnapshot", "typecheck": "tsc --noEmit", "increment-version": "gulp version", "prepare": "is-ci || husky install" }, "repository": { "type": "git", "url": "git@gitlab.com:Cimpress-Technology/internal-open-source/component-library/react-components.git" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "author": "Cimpress", "license": "Apache-2.0", "peerDependencies": { "react": ">=16.8 || <=18", "react-dom": ">=16.8 || <=18", "moment": "2.x" }, "devDependencies": { "@cimpress-technology/react-streamline-icons": "^1.3.0", "@commitlint/cli": "^16.2.1", "@commitlint/config-conventional": "^16.2.1", "@semantic-release/changelog": "^6.0.1", "@semantic-release/git": "^10.0.1", "@semantic-release/gitlab": "^7.0.4", "@testing-library/jest-dom": "^5.16.2", "@testing-library/react": "^12.1.3", "@types/country-telephone-data": "^0.6.1", "@types/jest": "27.4.1", "@types/lodash": "4.14.108", "@types/lodash.debounce": "^4.0.6", "@types/lodash.mapvalues": "^4.6.6", "@types/node": "^18.15.7", "@types/react": "^16.9.3", "@types/react-beautiful-dnd": "^13.0.0", "@types/react-dom": "^18.0.11", "@types/react-onclickoutside": "^6.7.3", "@types/react-router-dom": "^5.1.3", "@types/react-select": "3.0.14", "@types/react-syntax-highlighter": "^13.5.2", "@types/react-table": "^6.8.5", "@types/react-test-renderer": "^17.0.1", "@types/tether": "1.4.3", "@types/twemoji": "^13.1.2", "@types/uuid": "^3.4.10", "@types/webpack": "^5.28.0", "@typescript-eslint/eslint-plugin": "^5.14.0", "@typescript-eslint/parser": "^5.14.0", "case-sensitive-paths-webpack-plugin": "^2.4.0", "concurrently": "^7.0.0", "conventional-changelog-conventionalcommits": "^4.6.3", "csstype": "^2.6.19", "dotenv-webpack": "^8.0.1", "eslint": "^8.9.0", "eslint-config-airbnb": "19.0.4", "eslint-config-airbnb-typescript": "16.1.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import": "^2.25.4", "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-react": "^7.28.0", "eslint-plugin-react-hooks": "^4.3.0", "gulp": "^4.0.2", "html-webpack-plugin": "^5.5.0", "husky": "^7.0.4", "is-ci": "^3.0.1", "jest": "27.5.1", "lint-staged": "^12.3.5", "moment": "^2.24.0", "prettier": "^2.5.1", "raw-loader": "^4.0.2", "react": "^17.0.2", "react-dom": "^17.0.2", "react-hot-loader": "^4.13.0", "react-router-dom": "^5.1.2", "react-test-renderer": "^17.0.2", "semantic-release": "^19.0.2", "semver": "^5.7.1", "ts-jest": "^27.1.3", "ts-loader": "^9.4.2", "ts-node": "^10.9.1", "typescript": "^4.9.5", "webpack": "^5.76.3", "webpack-cli": "^5.0.1", "webpack-dev-server": "^4.13.1" }, "dependencies": { "@emotion/css": "^11.9.0", "classnames": "^2.2.6", "copy-to-clipboard": "^3.3.1", "country-telephone-data": "^0.5.5", "emoji-flags": "^1.2.0", "libphonenumber-js": "1.4.2", "lodash.debounce": "^4.0.8", "lodash.frompairs": "^4.0.1", "lodash.get": "^4.4.2", "lodash.isempty": "^4.4.0", "lodash.isequal": "^4.5.0", "lodash.mapvalues": "^4.6.0", "memoize-one": "^6.0.0", "prop-types": "^15.7.2", "react-beautiful-dnd": "^13.1.0", "react-datetime": "^3.1.1", "react-dock": "^0.4.0", "react-onclickoutside": "^6.10.0", "react-paginate": "^8.2.0", "react-select": "^5.2.2", "react-smooth-collapse": "^2.1.1", "react-style-proptype": "^3.2.2", "react-svg": "^11.1.1", "react-syntax-highlighter": "^15.4.5", "react-table": "^6.11.5", "react-tether": "^2.0.8", "react-transition-group": "^4.3.0", "twemoji": "^14.0.2", "utility-types": "^3.10.0", "uuid": "^3.3.3" }, "lint-staged": { "*": "npm run format" } }