mon-entreprise/package.json

225 lines
9.2 KiB
JSON

{
"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.",
"main": "./dist/engine.js",
"files": [
"dist/engine.js"
],
"repository": {
"type": "git",
"url": "https://github.com/betagouv/mon-entreprise.git"
},
"engines": {
"node": ">=12.16.1"
},
"browserslist": [
"> 1% in FR",
"not ie < 11"
],
"dependencies": {
"@babel/runtime": "^7.3.4",
"@rehooks/local-storage": "^2.1.1",
"@sentry/browser": "5.15.5",
"classnames": "^2.2.5",
"color-convert": "^1.9.2",
"core-js": "^3.2.1",
"focus-trap-react": "^3.1.2",
"fuse.js": "3.4.1",
"i18next": "^18.0.1",
"iframe-resizer": "^4.1.1",
"js-yaml": "^3.13.1",
"moo": "^0.5.0",
"nearley": "^2.19.0",
"puppeteer": "^2.1.1",
"ramda": "^0.25.0",
"react": "^16.8.6",
"react-color": "^2.14.0",
"react-dom": "npm:@hot-loader/react-dom",
"react-easy-emoji": "^1.4.0",
"react-fuzzy-highlighter": "^0.3.1",
"react-helmet": "^6.0.0",
"react-i18next": "^11.0.0",
"react-loading-skeleton": "^2.0.1",
"react-markdown": "^4.1.0",
"react-monaco-editor": "^0.36.0",
"react-number-format": "^4.3.1",
"react-redux": "^7.0.3",
"react-router": "^5.1.1",
"react-router-dom": "^5.1.1",
"react-router-hash-link": "^1.2.2",
"react-spring": "=8.0.27",
"react-syntax-highlighter": "^10.1.1",
"react-to-print": "^2.5.1",
"recharts": "^1.8.5",
"reduce-reducers": "^1.0.4",
"redux": "^4.0.4",
"redux-sentry-middleware": "^0.1.8",
"redux-thunk": "^2.3.0",
"regenerator-runtime": "^0.13.3",
"reselect": "^4.0.0",
"swr": "^0.1.16",
"whatwg-fetch": "^3.0.0",
"yaml": "^1.9.2"
},
"scripts": {
"prepare": "node source/scripts/prepare.js",
"compile": "yarn run webpack --config source/webpack.prod.js && yarn run webpack --config source/webpack.prod.legacyBrowser.js",
"simple-compile": "yarn run webpack --config source/webpack.prod.js",
"stats": "webpack --config source/webpack.prod.js --profile --json > stats.json",
"eslintrc-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check",
"eslint-check": "eslint . --ext .js,.jsx,.ts,.tsx",
"prettier-check": "prettier --check \"{source,test,cypress}/**/*.{js,jsx,ts,tsx}\"",
"lint": "yarn eslintrc-check && yarn eslint-check && yarn prettier-check",
"type-check": "tsc --noEmit",
"externalize": "node source/scripts/externalize.js",
"analyze-bundle": "ANALYZE_BUNDLE=1 yarn run compile",
"heroku-postbuild": "yarn install --production=false && yarn compile",
"start": "node source/server.js",
"test-inversions": "yarn test-watch --grep 'inversions'",
"test-meca": "yarn test-watch --grep 'Mécanismes'",
"test-rules": "yarn test-watch --grep 'notre base de règles'",
"test-cypress": "yarn run cypress run",
"test-watch": "yarn test-common --watch",
"test-common": "mocha-webpack --webpack-config source/webpack.test.js --require source-map-support/register --include componentTestSetup.js --require mock-local-storage --require test/helpers/browser.js \"./{,!(node_modules)/**/}!(webpack).test.js\"",
"test": "yarn test-common",
"test-one": "yarn mocha-webpack --webpack-config source/webpack.test.js --require source-map-support/register --include componentTestSetup.js --require mock-local-storage --require test/helpers/browser.js",
"test-components": "mocha-webpack --webpack-config source/webpack.test.js --require source-map-support/register --include componentTestSetup.js --require mock-local-storage ---require test/helpers/browser.js \"source/components/**/*.test.js\" --watch",
"test-lib": "mocha-webpack --webpack-config source/webpack.lib.js --require source-map-support/register --include componentTestSetup.js --require mock-local-storage test/library.test.js",
"test-expressions": "yarn test-common --grep 'Suite expressions'",
"test-units": "mocha-webpack --webpack-config source/webpack.test.js --require source-map-support/register --include componentTestSetup.js --require mock-local-storage --require test/helpers/browser.js test/units.test.js",
"test-regressions": "jest",
"test-bundlesize": "bundlesize",
"compile-lib": "yarn webpack --config source/webpack.lib.js",
"compile-dev": "FR_SITE='http://localhost:5000${path}' EN_SITE='http://localhost:5001${path}' yarn run compile",
"i18n:rules:check": "node source/scripts/i18n/check-missing-rule-translation.js",
"i18n:rules:translate": "node source/scripts/i18n/translate-rules.js",
"i18n:ui:check": "yarn run i18next && node source/scripts/i18n/check-missing-UI-translation",
"i18n:ui:translate": "rm -rf source/locales/static-analysis-fr.json && yarn run i18next && node source/scripts/i18n/translate-ui.js",
"publicodes:serve": "PORT=5002 serve --config serve.publicodes.json --no-clipboard",
"publicodes:test-dev": "cypress open --browser chromium --config baseUrl=http://localhost:8080/publicodes,integrationFolder=cypress/integration/publi.codes",
"mon-entreprise:serve": "PORT=5000 serve --config serve.mon-entreprise.json --no-clipboard",
"mon-entreprise:test-dev": "cypress open --browser chromium",
"mycompanyinfrance:serve": "PORT=5001 serve --config serve.infrance.json --no-clipboard",
"mycompanyinfrance:test-dev": "cypress open --browser chromium --config baseUrl=http://localhost:8080/infrance",
"serve-dev": "yarn run mon-entreprise:serve & yarn run mycompanyinfrance:serve & yarn run publicodes:serve"
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/preset-env": "^7.6.3",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.6.0",
"@types/cheerio": "^0.22.18",
"@types/classnames": "^2.2.9",
"@types/color-convert": "^1.9.0",
"@types/copy-webpack-plugin": "^5.0.0",
"@types/html-webpack-plugin": "^3.2.2",
"@types/iframe-resizer": "^3.5.7",
"@types/js-yaml": "^3.12.2",
"@types/mini-css-extract-plugin": "^0.9.1",
"@types/nearley": "^2.11.1",
"@types/ramda": "^0.26.43",
"@types/raven-for-redux": "^1.1.1",
"@types/react": "^16.9.11",
"@types/react-color": "^3.0.1",
"@types/react-dom": "^16.9.3",
"@types/react-helmet": "^5.0.13",
"@types/react-highlight-words": "^0.16.0",
"@types/react-redux": "^7.1.5",
"@types/react-router": "^5.1.2",
"@types/react-router-dom": "^5.1.0",
"@types/react-router-hash-link": "^1.2.1",
"@types/react-syntax-highlighter": "^11.0.4",
"@types/recharts": "^1.8.9",
"@types/styled-components": "^5.1.0",
"@types/webpack": "^4.41.10",
"@types/webpack-bundle-analyzer": "^2.13.3",
"@types/webpack-env": "^1.14.1",
"@types/workbox-webpack-plugin": "^5.1.0",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0",
"akh": "^3.1.2",
"autoprefixer": "^9.3.1",
"babel-eslint": "^11.0.0-beta.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.2",
"babel-plugin-ramda": "^1.6.3",
"babel-plugin-styled-components": "^1.10.7",
"babel-plugin-webpack-alias": "^2.1.2",
"bundlesize": "^0.18.0",
"chai": "^4.1.2",
"co-request": "^1.0.0",
"connect-history-api-fallback": "^1.5.0",
"copy-webpack-plugin": "^4.5.2",
"css-loader": "^0.28.11",
"csv-loader": "^2.1.1",
"daggy": "^1.3.0",
"dedent-js": "^1.0.1",
"dotenv": "=8.1.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^6.8.0",
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-hooks": "^2.0.1",
"express": "^4.16.3",
"file-loader": "^1.1.11",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"http-server": "^0.11.1",
"i18next-parser": "https://github.com/i18next/i18next-parser#master",
"intl": "^1.2.5",
"intl-locales-supported": "^1.0.0",
"isomorphic-fetch": "^2.2.1",
"isomorphic-style-loader": "^5.1.0",
"jest": "^24.9.0",
"jest-transform-nearley": "^1.0.0",
"jsdom": "^12.0.0",
"json-loader": "^0.5.7",
"koa-connect": "^2.0.1",
"mini-css-extract-plugin": "^0.4.4",
"mocha": "^5.0.4",
"mocha-webpack": "^2.0.0-beta.0",
"mock-local-storage": "^1.0.5",
"monaco-editor-webpack-plugin": "^1.9.0",
"nearley-loader": "^2.0.0",
"postcss-loader": "^2.1.2",
"prettier": "^1.19.1",
"ramda-fantasy": "^0.8.0",
"raw-loader": "^0.5.1",
"react-hot-loader": "^4.12.21",
"serve": "^11.1.0",
"serve-handler": "^6.1.1",
"sinon": "^4.5.0",
"sinon-chai": "^3.0.0",
"source-map-support": "^0.5.4",
"style-loader": "^0.23.1",
"styled-components": "^5.1.0",
"toml-loader": "^1.0.0",
"typescript": "^3.8.3",
"url-loader": "^1.0.1",
"webpack": "^4.39.3",
"webpack-bundle-analyzer": "^3.7.0",
"webpack-cli": "^3.1.2",
"webpack-dev-middleware": "^3.4.0",
"webpack-hot-middleware": "^2.24.2",
"workbox-webpack-plugin": "^3.6.1",
"worker-loader": "^2.0.0",
"yaml-jest": "^1.0.5",
"yaml-loader": "^0.5.0"
},
"optionalDependencies": {
"cypress": "^3.6.1",
"prerender-spa-plugin": "^3.4.0"
},
"resolutions": {
"react-fuzzy-highlighter/**/fuse.js": "3.4.1"
}
}