2016-06-29 10:27:04 +00:00
|
|
|
{
|
2018-01-03 15:32:20 +00:00
|
|
|
"name": "syso",
|
2018-03-15 15:20:26 +00:00
|
|
|
"license": "MIT",
|
2018-01-03 15:32:20 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2018-06-26 10:14:22 +00:00
|
|
|
"url": "https://github.com/betagouv/syso.git"
|
2018-01-03 15:32:20 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2018-05-15 10:39:53 +00:00
|
|
|
"node": ">=8.10.0 <10.0.0"
|
2018-01-03 15:32:20 +00:00
|
|
|
},
|
2018-09-05 15:25:06 +00:00
|
|
|
"browserslist": [
|
|
|
|
"> 1% in FR",
|
|
|
|
"not ie < 11"
|
|
|
|
],
|
2018-01-03 15:32:20 +00:00
|
|
|
"dependencies": {
|
2018-06-12 10:21:36 +00:00
|
|
|
"@researchgate/react-intersection-observer": "^0.7.3",
|
2018-01-03 15:32:20 +00:00
|
|
|
"classnames": "^2.2.5",
|
2018-06-12 10:21:36 +00:00
|
|
|
"color-convert": "^1.9.2",
|
2018-05-24 12:38:21 +00:00
|
|
|
"focus-trap-react": "^3.1.2",
|
2018-06-26 09:35:38 +00:00
|
|
|
"fuse.js": "^3.2.1",
|
2018-04-30 17:14:31 +00:00
|
|
|
"i18next": "^10.0.7",
|
2018-09-25 16:27:23 +00:00
|
|
|
"iframe-resizer": "^3.6.2",
|
2018-03-01 19:30:57 +00:00
|
|
|
"marked": "^0.3.17",
|
2018-03-12 15:37:23 +00:00
|
|
|
"nearley": "^2.13.0",
|
2018-01-08 15:07:26 +00:00
|
|
|
"ramda": "^0.25.0",
|
2018-08-30 09:30:33 +00:00
|
|
|
"raven-for-redux": "^1.3.1",
|
|
|
|
"raven-js": "^3.26.4",
|
2018-09-25 16:27:23 +00:00
|
|
|
"rc-progress": "^2.2.6",
|
|
|
|
"react": "^16.5.2",
|
2018-01-03 15:32:20 +00:00
|
|
|
"react-addons-css-transition-group": "^15.6.2",
|
2018-03-01 19:30:57 +00:00
|
|
|
"react-color": "^2.14.0",
|
2018-09-25 16:27:23 +00:00
|
|
|
"react-dom": "^16.5.2",
|
2018-06-26 09:35:38 +00:00
|
|
|
"react-easy-emoji": "^1.2.0",
|
2018-01-03 15:32:20 +00:00
|
|
|
"react-helmet": "^5.2.0",
|
2018-03-01 19:30:57 +00:00
|
|
|
"react-highlight-words": "^0.11.0",
|
2018-09-25 16:27:23 +00:00
|
|
|
"react-hot-loader": "^4.3.11",
|
|
|
|
"react-i18next": "^7.13.0",
|
2018-03-01 19:30:57 +00:00
|
|
|
"react-redux": "^5.0.7",
|
2018-01-03 15:32:20 +00:00
|
|
|
"react-router": "^4.2.0",
|
|
|
|
"react-router-dom": "^4.2.2",
|
2018-03-01 19:30:57 +00:00
|
|
|
"react-select": "^1.2.1",
|
2018-01-03 15:32:20 +00:00
|
|
|
"react-select-fast-filter-options": "^0.2.3",
|
2018-09-25 16:27:23 +00:00
|
|
|
"react-spring": "^5.8.0",
|
2018-01-03 15:32:20 +00:00
|
|
|
"react-transition-group": "^2.2.1",
|
2018-06-26 09:35:38 +00:00
|
|
|
"react-virtualized": "^9.20.0",
|
2018-03-01 19:30:57 +00:00
|
|
|
"react-virtualized-select": "^3.1.3",
|
2018-01-03 15:32:20 +00:00
|
|
|
"reduce-reducers": "^0.1.2",
|
|
|
|
"redux": "^3.7.2",
|
2018-06-26 09:35:38 +00:00
|
|
|
"redux-form": "^7.4.2",
|
2018-07-23 13:21:00 +00:00
|
|
|
"redux-thunk": "^2.3.0",
|
2018-01-03 15:32:20 +00:00
|
|
|
"reselect": "^3.0.1",
|
2018-07-12 08:09:41 +00:00
|
|
|
"screenfull": "^3.3.2"
|
2018-01-03 15:32:20 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2018-03-01 19:30:57 +00:00
|
|
|
"compile": "webpack --config source/webpack.prod.js",
|
2018-09-10 15:09:25 +00:00
|
|
|
"serve:embauche": "cp dist/embauche.html dist/index.html && serve -s dist",
|
2018-09-05 15:25:06 +00:00
|
|
|
"eslint-check": "eslint --print-config .eslintrc | eslint-config-prettier-check",
|
|
|
|
"eslint": "LIST=`git diff --cached --name-only --diff-filter=AMR HEAD | grep .*\\.js | grep -v json`; if [ \"$LIST\" ]; then eslint $LIST; fi",
|
2018-07-12 08:09:41 +00:00
|
|
|
"externalize": "node source/externalize.js",
|
2018-04-26 17:06:48 +00:00
|
|
|
"heroku-postbuild": "yarn install --production=false && yarn compile",
|
2018-10-18 14:36:30 +00:00
|
|
|
"serve:infrance": "serve --config serve.infrance.json",
|
2018-09-05 15:25:06 +00:00
|
|
|
"pretest": "LIST=`git diff --name-only --diff-filter=AMR HEAD^..HEAD | grep .*\\.js | grep -v json`; if [ \"$LIST\" ]; then eslint $LIST; fi && flow check",
|
2018-09-25 15:05:21 +00:00
|
|
|
"start": "node source/server.js",
|
2018-09-03 15:05:37 +00:00
|
|
|
"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-watch": "yarn test-common --watch",
|
2018-09-05 15:25:06 +00:00
|
|
|
"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\"",
|
2018-09-03 15:05:37 +00:00
|
|
|
"test": "yarn test-common",
|
2018-09-05 15:25:06 +00:00
|
|
|
"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"
|
2018-04-26 17:06:48 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-09-25 16:18:02 +00:00
|
|
|
"@babel/core": "^7.1.0",
|
|
|
|
"@babel/plugin-proposal-decorators": "^7.1.0",
|
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
|
2018-09-10 15:09:25 +00:00
|
|
|
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
|
2018-09-25 16:18:02 +00:00
|
|
|
"@babel/plugin-syntax-decorators": "^7.1.0",
|
|
|
|
"@babel/polyfill": "^7.0.0",
|
|
|
|
"@babel/preset-env": "^7.1.0",
|
2018-06-18 09:10:26 +00:00
|
|
|
"@babel/preset-flow": "^7.0.0-beta.51",
|
2018-09-25 16:18:02 +00:00
|
|
|
"@babel/preset-react": "^7.0.0",
|
2018-07-12 08:09:41 +00:00
|
|
|
"akh": "^3.1.2",
|
|
|
|
"autoprefixer": "^8.6.3",
|
2018-09-25 16:18:02 +00:00
|
|
|
"babel-eslint": "^9.0.0",
|
|
|
|
"babel-loader": "^8.0.2",
|
2018-07-12 08:09:41 +00:00
|
|
|
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
|
|
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
|
|
"babel-plugin-transform-decorators": "^6.24.1",
|
|
|
|
"babel-plugin-transform-do-expressions": "^6.22.0",
|
|
|
|
"babel-plugin-webpack-alias": "^2.1.2",
|
2018-05-15 10:39:53 +00:00
|
|
|
"chai": "^4.1.2",
|
2018-07-12 08:09:41 +00:00
|
|
|
"co-request": "^1.0.0",
|
|
|
|
"connect-history-api-fallback": "^1.5.0",
|
2018-07-05 09:54:41 +00:00
|
|
|
"copy-webpack-plugin": "^4.5.2",
|
2018-07-12 08:09:41 +00:00
|
|
|
"css-loader": "^0.28.11",
|
|
|
|
"csv-loader": "^2.1.1",
|
2018-09-05 15:25:06 +00:00
|
|
|
"cypress": "^3.1.0",
|
2018-09-25 16:27:23 +00:00
|
|
|
"daggy": "^1.3.0",
|
2018-07-12 08:09:41 +00:00
|
|
|
"dedent-js": "^1.0.1",
|
2018-04-27 13:51:31 +00:00
|
|
|
"enzyme": "^3.3.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.1.1",
|
2018-09-25 16:27:23 +00:00
|
|
|
"eslint": "^5.6.0",
|
|
|
|
"eslint-config-prettier": "^3.1.0",
|
|
|
|
"eslint-plugin-flowtype": "^2.50.1",
|
2018-09-03 15:05:37 +00:00
|
|
|
"eslint-plugin-react": "^7.11.1",
|
2018-09-25 15:05:21 +00:00
|
|
|
"express": "^4.16.3",
|
2018-07-12 08:09:41 +00:00
|
|
|
"file-loader": "^1.1.11",
|
2018-05-15 10:39:53 +00:00
|
|
|
"flow-bin": "^0.72.0",
|
|
|
|
"flow-typed": "^2.4.0",
|
2018-07-12 08:09:41 +00:00
|
|
|
"google-translate-api": "^2.3.0",
|
|
|
|
"html-loader": "^0.5.5",
|
2018-09-04 14:23:06 +00:00
|
|
|
"html-webpack-plugin": "^3.2.0",
|
2018-09-06 09:38:10 +00:00
|
|
|
"http-server": "^0.11.1",
|
2018-04-27 13:51:31 +00:00
|
|
|
"intl": "^1.2.5",
|
|
|
|
"intl-locales-supported": "^1.0.0",
|
2018-07-12 08:09:41 +00:00
|
|
|
"js-yaml": "^3.12.0",
|
2018-09-03 15:05:37 +00:00
|
|
|
"jsdom": "^12.0.0",
|
2018-07-12 08:09:41 +00:00
|
|
|
"json-loader": "^0.5.7",
|
|
|
|
"koa-connect": "^2.0.1",
|
2018-10-18 14:36:30 +00:00
|
|
|
"mini-css-extract-plugin": "^0.4.4",
|
2018-04-27 13:51:31 +00:00
|
|
|
"mocha": "^5.0.4",
|
|
|
|
"mocha-webpack": "^2.0.0-beta.0",
|
2018-09-03 15:05:37 +00:00
|
|
|
"mock-local-storage": "^1.0.5",
|
2018-07-12 08:09:41 +00:00
|
|
|
"nearley-loader": "^2.0.0",
|
|
|
|
"postcss-loader": "^2.1.2",
|
2018-10-18 14:36:30 +00:00
|
|
|
"prerender-spa-plugin": "^3.4.0",
|
2018-07-12 08:09:41 +00:00
|
|
|
"ramda-fantasy": "^0.8.0",
|
2018-09-25 16:27:23 +00:00
|
|
|
"serve": "^10.0.2",
|
2018-10-18 14:36:30 +00:00
|
|
|
"serve-handler": "^5.0.5",
|
2018-04-27 13:51:31 +00:00
|
|
|
"sinon": "^4.5.0",
|
2018-07-04 17:45:43 +00:00
|
|
|
"sinon-chai": "^3.0.0",
|
2018-07-12 08:09:41 +00:00
|
|
|
"source-map-support": "^0.5.4",
|
|
|
|
"style-loader": "^0.20.3",
|
|
|
|
"url-loader": "^1.0.1",
|
2018-09-25 16:27:23 +00:00
|
|
|
"webpack": "^4.20.1",
|
|
|
|
"webpack-cli": "^3.1.1",
|
2018-09-25 15:05:21 +00:00
|
|
|
"webpack-dev-middleware": "^3.4.0",
|
|
|
|
"webpack-hot-middleware": "^2.24.2",
|
2018-07-05 09:54:41 +00:00
|
|
|
"webpack-pwa-manifest": "^3.6.2",
|
2018-09-25 16:27:23 +00:00
|
|
|
"workbox-webpack-plugin": "^3.6.1",
|
2018-07-12 08:09:41 +00:00
|
|
|
"yaml-loader": "^0.5.0"
|
2018-01-03 15:32:20 +00:00
|
|
|
}
|
2016-06-29 10:27:04 +00:00
|
|
|
}
|