@dataesr/react-dsfr
Version:
A React implementation of the french government design system.
133 lines (132 loc) • 4 kB
JSON
{
"name": "@dataesr/react-dsfr",
"version": "3.10.0",
"private": false,
"description": "A React implementation of the french government design system.",
"license": "MIT",
"repository": "dataesr/react-dsfr",
"main": "dist/index.min.cjs.js",
"source": "src/index.js",
"types": "dist/index.d.ts",
"keywords": [
"react",
"components",
"design-system",
"gouvfr"
],
"engines": {
"node": ">=14.18",
"npm": ">=8.15"
},
"dependencies": {
"@babel/runtime": "^7.19.4",
"@gouvfr/dsfr": "1.7.2",
"classnames": "^2.3.2",
"prop-types": "^15.8.1",
"uuid": "^9.0.0"
},
"devDependencies": {
"@storybook/react": "^6.5.13",
"@axe-core/react": "^4.3.1",
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.16.4",
"@babel/preset-env": "^7.16.4",
"@babel/preset-react": "^7.16.0",
"@cfaester/enzyme-adapter-react-18": "^0.5.1",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-eslint": "^8.0.1",
"@rollup/plugin-image": "^2.1.1",
"@rollup/plugin-node-resolve": "^13.0.6",
"@storybook/addon-actions": "^6.5.13",
"@storybook/addon-essentials": "^6.5.13",
"@storybook/addon-interactions": "^6.5.13",
"@storybook/addon-links": "^6.5.13",
"@storybook/builder-webpack4": "^6.5.13",
"@storybook/builder-webpack5": "^6.5.13",
"@storybook/manager-webpack4": "^6.5.13",
"@storybook/manager-webpack5": "^6.5.13",
"@storybook/storybook-deployer": "^2.8.12",
"@storybook/testing-library": "^0.0.13",
"@svgr/rollup": "^6.1.2",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.3.0",
"@types/react": "^17.0.39",
"@typescript-eslint/parser": "^5.41.0",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.3",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"cross-env": "^7.0.3",
"css-loader": "^5.2.7",
"enzyme": "^3.11.0",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^19.0.1",
"eslint-config-airbnb-typescript": "^17.0.0",
"gh-pages": "^4.0.0",
"install": "^0.13.0",
"postcss": "^8.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.3.0",
"react-scripts": "^5.0.1",
"react-test-renderer": "^18.2.0",
"rollup": "^2.60.1",
"rollup-plugin-dts": "^4.0.1",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^5.5.2",
"typescript": "^4.5.5",
"webpack": "^5.74.0"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"scripts": {
"build": "rollup -c",
"build-storybook": "build-storybook",
"deploy-storybook": "storybook-to-ghpages",
"homepage": "https://dataesr.github.io/react-dsfr",
"lint": "eslint .",
"predeploy": "npm run build-storybook",
"start": "rollup -c --watch",
"storybook": "start-storybook -p 6006",
"test": "cross-env CI=1 react-scripts test --env=jsdom",
"test:coverage": "CI=true npm test -- --coverage",
"test:debug": "react-scripts --inspect test --runInBand --no-cache",
"test:dev": "react-scripts test --watchAll",
"test:dev:coverage": "react-scripts test --watchAll --coverage",
"test:nowatch": "react-scripts test --watchAll=false",
"test:watch": "react-scripts test --env=jsdom"
},
"files": [
"dist"
],
"jest": {
"transformIgnorePatterns": [
"/node_modules/(?![@testing-library]).+\\.js$"
]
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}