@cimpress/react-components
Version:
React components to support the MCP styleguide
162 lines (161 loc) • 5.52 kB
JSON
{
"name": "@cimpress/react-components",
"version": "16.21.4",
"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",
"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 --report-unused-disable-directives",
"format": "prettier . --ignore-unknown --write",
"format:check": "prettier . --ignore-unknown --check",
"test": "node --test --import tsx '**/*.test.ts'",
"test:update-snapshot": "npm run test -- --updateSnapshot",
"typecheck": "tsc --noEmit",
"prepare": "is-ci || husky",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test-ct": "playwright test -c playwright-ct.config.ts"
},
"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": {
"moment": "2.x",
"react": ">=16.14 || <=18",
"react-dom": ">=16.14 || <=18"
},
"devDependencies": {
"@babel/preset-env": "^7.25.4",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@chromatic-com/storybook": "^1.7.0",
"@cimpress-technology/react-streamline-icons": "^2.6.0",
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@playwright/experimental-ct-react17": "^1.46.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/gitlab": "^13.2.1",
"@storybook/addon-essentials": "^8.2.9",
"@storybook/addon-interactions": "^8.2.9",
"@storybook/addon-links": "^8.2.9",
"@storybook/addon-mdx-gfm": "^8.2.9",
"@storybook/blocks": "^8.2.9",
"@storybook/builder-vite": "^8.2.9",
"@storybook/manager-api": "^8.2.9",
"@storybook/react": "^8.2.9",
"@storybook/react-vite": "^8.2.9",
"@storybook/test": "^8.2.9",
"@storybook/theming": "^8.2.9",
"@types/country-telephone-data": "^0.6.3",
"@types/dotenv-webpack": "^7.0.7",
"@types/lodash.debounce": "^4.0.9",
"@types/lodash.mapvalues": "^4.6.9",
"@types/node": "^22.5.0",
"@types/react": "^17.0.80",
"@types/react-beautiful-dnd": "^13.1.8",
"@types/react-dom": "^17.0.25",
"@types/react-onclickoutside": "^6.7.10",
"@types/react-router-dom": "^5.3.3",
"@types/react-syntax-highlighter": "^13.5.2",
"@types/react-table": "^6.8.5",
"@types/tether": "1.4.9",
"@types/uuid": "^10.0.0",
"@types/webpack": "^5.28.5",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitejs/plugin-react": "^4.3.1",
"case-sensitive-paths-webpack-plugin": "^2.4.0",
"concurrently": "^8.2.2",
"conventional-changelog-conventionalcommits": "^8.0.0",
"csstype": "^3.1.3",
"dotenv-webpack": "^8.1.0",
"eslint": "^8.57.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-storybook": "^0.8.0",
"html-webpack-plugin": "^5.6.0",
"husky": "^9.1.5",
"is-ci": "^3.0.1",
"lint-staged": "^15.2.9",
"moment": "^2.30.1",
"prettier": "^2.8.8",
"raw-loader": "^4.0.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-hot-loader": "^4.13.1",
"react-router-dom": "^5.3.4",
"semantic-release": "^24.1.0",
"storybook": "^8.2.9",
"ts-loader": "^9.5.1",
"tsx": "^4.18.0",
"typescript": "5.5.3",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4"
},
"dependencies": {
"@accessible/use-id": "^1.1.2",
"@emotion/css": "^11.9.0",
"@twemoji/api": "^15.1.0",
"copy-to-clipboard": "^3.3.3",
"country-telephone-data": "^0.6.3",
"libphonenumber-js": "^1.11.7",
"lodash.debounce": "^4.0.8",
"lodash.mapvalues": "^4.6.0",
"memoize-one": "^6.0.0",
"prop-types": "^15.8.1",
"react-beautiful-dnd": "^13.1.1",
"react-datetime": "^3.2.0",
"react-dock": "^0.6.0",
"react-paginate": "^8.2.0",
"react-select": "^5.8.0",
"react-smooth-collapse": "^2.1.2",
"react-style-proptype": "^3.2.2",
"react-svg": "^16.1.34",
"react-syntax-highlighter": "^15.5.0",
"react-table": "^6.11.5",
"react-tether": "^3.0.3",
"react-transition-group": "^4.4.5",
"ts-deepmerge": "^7.0.1",
"utility-types": "^3.11.0",
"uuid": "^10.0.0"
},
"lint-staged": {
"*": "npm run format"
},
"overrides": {
"react-table": {
"react": "$react",
"react-dom": "$react-dom"
}
}
}