2020-05-08 12:04:00 +02:00
{
"name" : "mon-entreprise" ,
"license" : "MIT" ,
"version" : "1.2.8" ,
"description" : "Library to compute the french social security contributions. Also a website that explains the calculations, and a generic engine to build cool forms that asks the question needed to compute an objective." ,
"repository" : {
"type" : "git" ,
"url" : "https://github.com/betagouv/mon-entreprise.git" ,
"directory" : "mon-entreprise"
} ,
2020-12-19 15:08:22 +01:00
"private" : true ,
2020-05-08 12:04:00 +02:00
"engines" : {
"node" : ">=12.16.1"
} ,
"browserslist" : [
"> 1% in FR" ,
"not ie < 11"
] ,
"devDependencies" : {
2020-08-24 11:34:26 +02:00
"@babel/core" : "^7.9.0" ,
"@babel/plugin-proposal-class-properties" : "^7.8.3" ,
"@babel/plugin-proposal-nullish-coalescing-operator" : "^7.8.3" ,
"@babel/plugin-proposal-object-rest-spread" : "^7.9.5" ,
"@babel/plugin-proposal-optional-chaining" : "^7.9.0" ,
"@babel/preset-env" : "^7.9.5" ,
"@babel/preset-react" : "^7.9.4" ,
"@babel/preset-typescript" : "^7.9.0" ,
"@types/cheerio" : "^0.22.18" ,
"@types/js-yaml" : "^3.12.2" ,
2021-06-08 12:25:46 +02:00
"@types/mocha" : "^8.2.2" ,
2020-11-23 15:16:13 +01:00
"@types/react" : "^17.0.0" ,
2020-08-24 11:34:26 +02:00
"@types/react-color" : "^3.0.1" ,
2020-11-23 15:16:13 +01:00
"@types/react-dom" : "^17.0.0" ,
2021-05-03 13:28:31 +02:00
"@types/react-helmet" : "^6.1.0" ,
2020-11-23 15:16:13 +01:00
"@types/react-redux" : "^7.1.11" ,
2020-08-24 11:34:26 +02:00
"@types/react-router" : "^5.1.2" ,
2020-11-23 15:16:13 +01:00
"@types/recharts" : "^1.8.16" ,
"@types/redux-sentry-middleware" : "^0.1.2" ,
2021-05-09 19:15:57 +02:00
"@types/styled-components" : "^5.1.9" ,
2020-08-24 11:34:26 +02:00
"@types/webpack" : "^4.41.10" ,
2020-08-31 15:14:27 +02:00
"@typescript-eslint/eslint-plugin" : "^4.0.1" ,
"@typescript-eslint/parser" : "^4.0.1" ,
2020-11-20 02:37:57 +01:00
"@wojtekmaj/enzyme-adapter-react-17" : "^0.3.1" ,
2020-08-24 11:34:26 +02:00
"autoprefixer" : "^9.7.6" ,
"babel-plugin-styled-components" : "^1.10.7" ,
2020-05-15 16:16:13 +02:00
"copy-webpack-plugin" : "^4.5.2" ,
2021-06-02 18:16:57 +02:00
"cypress" : "^7.4.0" ,
2020-09-23 15:55:13 +02:00
"cypress-plugin-tab" : "^1.0.5" ,
2020-08-24 11:34:26 +02:00
"eslint-plugin-react" : "^7.12.4" ,
2020-05-15 16:16:13 +02:00
"html-webpack-plugin" : "^3.2.0" ,
2020-11-23 15:16:13 +01:00
"i18next-parser" : "^3.3.0" ,
2020-08-24 11:34:26 +02:00
"intl-locales-supported" : "^1.0.0" ,
"mock-local-storage" : "^1.0.5" ,
2020-05-15 16:16:13 +02:00
"monaco-editor-webpack-plugin" : "^1.9.0" ,
2020-08-24 11:34:26 +02:00
"serve" : "^11.1.0" ,
"terser-webpack-plugin" : "^3.0.2" ,
"webpack" : "^4.42.0" ,
"webpack-bundle-analyzer" : "^3.7.0" ,
"webpack-cli" : "^3.1.2" ,
2020-12-07 11:28:21 +01:00
"workbox-webpack-plugin" : "^6.0.2" ,
2020-05-15 16:16:13 +02:00
"worker-loader" : "^2.0.0"
2020-05-08 12:04:00 +02:00
} ,
"dependencies" : {
"@babel/runtime" : "^7.3.4" ,
2020-08-27 18:09:10 +02:00
"@react-pdf/renderer" : "^1.6.10" ,
2020-05-08 12:04:00 +02:00
"@rehooks/local-storage" : "^2.1.1" ,
2021-05-03 13:28:31 +02:00
"@sentry/react" : "^6.3.5" ,
"@sentry/tracing" : "^6.3.5" ,
2020-05-08 12:04:00 +02:00
"classnames" : "^2.2.5" ,
"color-convert" : "^1.9.2" ,
"core-js" : "^3.2.1" ,
2020-06-15 14:42:44 +02:00
"focus-trap-react" : "^3.1.2" ,
2020-05-08 12:04:00 +02:00
"fuse.js" : "5.2.1" ,
"iframe-resizer" : "^4.1.1" ,
2021-01-27 15:17:44 +01:00
"modele-social" : "^0.2.0" ,
2021-04-21 10:55:58 +02:00
"publicodes" : "^1.0.0-beta.15" ,
"publicodes-react" : "^1.0.0-beta.15" ,
2020-05-08 12:04:00 +02:00
"ramda" : "^0.27.0" ,
2020-10-27 17:28:23 +01:00
"react" : "^17.0.0" ,
2020-05-08 12:04:00 +02:00
"react-color" : "^2.14.0" ,
"react-dom" : "npm:@hot-loader/react-dom" ,
"react-easy-emoji" : "^1.2.0" ,
2021-03-16 16:19:03 +01:00
"react-helmet" : "^6.1.0" ,
2020-05-08 12:04:00 +02:00
"react-i18next" : "^11.0.0" ,
"react-markdown" : "^4.1.0" ,
2020-11-23 15:16:13 +01:00
"react-monaco-editor" : "^0.40.0" ,
2020-05-08 12:04:00 +02:00
"react-number-format" : "^4.3.1" ,
"react-redux" : "^7.0.3" ,
"react-router-dom" : "^5.1.1" ,
"react-router-hash-link" : "^1.2.2" ,
2020-06-25 19:41:58 +02:00
"react-signature-pad-wrapper" : "^1.2.11" ,
2020-05-08 12:04:00 +02:00
"react-spring" : "=8.0.27" ,
"react-syntax-highlighter" : "^10.1.1" ,
"react-transition-group" : "^2.2.1" ,
2020-05-13 12:13:28 +02:00
"react-useportal" : "^1.0.13" ,
2020-05-08 12:04:00 +02:00
"recharts" : "^1.8.5" ,
"reduce-reducers" : "^1.0.4" ,
"redux" : "^4.0.4" ,
"regenerator-runtime" : "^0.13.3" ,
"reselect" : "^4.0.0" ,
"styled-components" : "^5.1.0" ,
"swr" : "^0.1.16" ,
"whatwg-fetch" : "^3.0.0" ,
"yaml" : "^1.9.2"
} ,
"scripts" : {
"prepare" : "node scripts/prepare.js" ,
2020-05-18 16:43:29 +02:00
"build" : "yarn run build:prod && yarn run build:legacy" ,
"build:prod" : "yarn run webpack --config webpack.prod.js" ,
"build:legacy" : "yarn run webpack --config webpack.prod.legacyBrowser.js" ,
"build:stats" : "webpack --config webpack.prod.js --profile --json > stats.json" ,
"build:analyze-bundle" : "ANALYZE_BUNDLE=1 yarn run build" ,
2021-03-18 13:15:07 +01:00
"build:dev" : "FR_BASE_URL='http://localhost:5000${path}' EN_BASE_URL='http://localhost:5001${path}' yarn run build" ,
2021-04-08 10:37:19 +02:00
"clean" : "rimraf dist node_modules 'source/data/!(versement-transport.json)'" ,
2020-12-23 14:08:22 +01:00
"test" : "yarn test:file \"./{,!(node_modules)/**/}!(webpack).test.{js,ts}\"" ,
2020-05-15 16:16:13 +02:00
"test:file" : "yarn mocha-webpack --webpack-config ./webpack.dev.js --include test/componentTestSetup.js --require mock-local-storage --require test/helpers/browser.js" ,
2020-05-08 12:04:00 +02:00
"test:bundlesize" : "bundlesize" ,
2021-05-12 16:12:14 +02:00
"test:dev-e2e:publicodes" : "cypress open --browser chromium --config baseUrl=http://localhost:8080/publicodes,integrationFolder=cypress/integration/publi.codes" ,
2020-05-08 12:04:00 +02:00
"test:dev-e2e:mon-entreprise" : "cypress open --browser chromium" ,
2021-06-08 21:32:07 +02:00
"test:dev-e2e:mycompanyinfrance" : "cypress open --browser chromium --config baseUrl=http://localhost:8080/infrance,integrationFolder=cypress/integration/mon-entreprise/english --env language=en" ,
2021-06-02 11:02:57 +02:00
"test:record-http-calls:mon-entreprise" : "cypress run --env record_http=" ,
2020-05-08 12:04:00 +02:00
"i18n:rules:check" : "node scripts/i18n/check-missing-rule-translation.js" ,
"i18n:rules:translate" : "node scripts/i18n/translate-rules.js" ,
"i18n:ui:check" : "yarn run i18next -c scripts/i18n/parser.config.js && node scripts/i18n/check-missing-UI-translation" ,
2020-05-28 12:42:23 +02:00
"i18n:ui:translate" : "rm -rf source/locales/static-analysis-fr.json && yarn run i18next -c scripts/i18n/parser.config.js && node scripts/i18n/translate-ui.js" ,
2021-01-18 14:34:27 +01:00
"start" : "node dev-server.js" ,
2021-05-03 17:34:10 +02:00
"serve:dev" : "concurrently -k \"yarn run serve:dev:mon-entreprise\" \"yarn run serve:dev:mycompanyinfrance & yarn run serve:dev:publicodes\"" ,
2020-05-08 12:04:00 +02:00
"serve:dev:mon-entreprise" : "PORT=5000 serve --config serve.mon-entreprise.json --no-clipboard" ,
"serve:dev:publicodes" : "PORT=5002 serve --config serve.publicodes.json --no-clipboard" ,
2021-05-03 17:34:10 +02:00
"serve:dev:mycompanyinfrance" : "PORT=5001 serve --config serve.infrance.json --no-clipboard"
2020-05-08 12:04:00 +02:00
}
}