mon-entreprise/example/publicodes-react/package.json

53 lines
1.3 KiB
JSON

{
"name": "publicodes-react",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"publicodes": "../../core/publicodes-1.0.0-beta.16.tgz",
"publicodes-react": "../../ui-react/publicodes-react-1.0.0-beta.16.tgz",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"web-vitals": "^1.0.1"
},
"scripts": {
"preinstall": "cd ../../core && npm pack && cd ../ui-react && npm pack",
"refresh-publicodes": "yarn preinstall && yarn upgrade publicodes publicodes-react",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"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"
]
},
"devDependencies": {
"msw": "^0.28.1"
},
"jest": {
"moduleNameMapper": {
"CO2-douche.publicodes.yaml$": "<rootDir>/__mocks__/CO2-douche.publicodes.yaml.js"
}
}
}