139 lines
4.8 KiB
JSON
139 lines
4.8 KiB
JSON
{
|
|
"name": "syso",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/betagouv/syso.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.10.0 <10.0.0"
|
|
},
|
|
"browserslist": ["> 1% in FR", "not ie < 11"],
|
|
"dependencies": {
|
|
"@researchgate/react-intersection-observer": "^0.7.3",
|
|
"classnames": "^2.2.5",
|
|
"color-convert": "^1.9.2",
|
|
"focus-trap-react": "^3.1.2",
|
|
"fuse.js": "^3.2.1",
|
|
"i18next": "^10.0.7",
|
|
"iframe-resizer": "^3.6.1",
|
|
"marked": "^0.3.17",
|
|
"nearley": "^2.13.0",
|
|
"ramda": "^0.25.0",
|
|
"raven-for-redux": "^1.3.1",
|
|
"raven-js": "^3.26.4",
|
|
"rc-progress": "^2.2.5",
|
|
"react": "^16.3.1",
|
|
"react-addons-css-transition-group": "^15.6.2",
|
|
"react-color": "^2.14.0",
|
|
"react-dom": "^16.3.1",
|
|
"react-easy-emoji": "^1.2.0",
|
|
"react-helmet": "^5.2.0",
|
|
"react-highlight-words": "^0.11.0",
|
|
"react-hot-loader": "^4.3.5",
|
|
"react-i18next": "^7.5.0",
|
|
"react-redux": "^5.0.7",
|
|
"react-router": "^4.2.0",
|
|
"react-router-dom": "^4.2.2",
|
|
"react-select": "^1.2.1",
|
|
"react-select-fast-filter-options": "^0.2.3",
|
|
"react-spring": "^5.3.18",
|
|
"react-transition-group": "^2.2.1",
|
|
"react-virtualized": "^9.20.0",
|
|
"react-virtualized-select": "^3.1.3",
|
|
"reduce-reducers": "^0.1.2",
|
|
"redux": "^3.7.2",
|
|
"redux-form": "^7.4.2",
|
|
"redux-thunk": "^2.3.0",
|
|
"reselect": "^3.0.1",
|
|
"screenfull": "^3.3.2"
|
|
},
|
|
"scripts": {
|
|
"compile": "webpack --config source/webpack.prod.js",
|
|
"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",
|
|
"externalize": "node source/externalize.js",
|
|
"heroku-postbuild": "yarn install --production=false && yarn compile",
|
|
"prepare": "flow-typed update-cache",
|
|
"pretest":
|
|
"LIST=`git diff --name-only --diff-filter=AMR HEAD^..HEAD | grep .*\\.js | grep -v json`; if [ \"$LIST\" ]; then eslint $LIST; fi && flow check",
|
|
"start": "webpack-serve ./source/webpack.dev.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-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-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"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "=7.0.0-beta.51",
|
|
"@babel/plugin-proposal-decorators": "=7.0.0-beta.51",
|
|
"@babel/plugin-proposal-object-rest-spread": "=7.0.0-beta.51",
|
|
"@babel/plugin-syntax-decorators": "=7.0.0-beta.51",
|
|
"@babel/polyfill": "=7.0.0-beta.51",
|
|
"@babel/preset-env": "=7.0.0-beta.51",
|
|
"@babel/preset-flow": "^7.0.0-beta.51",
|
|
"@babel/preset-react": "=7.0.0-beta.51",
|
|
"akh": "^3.1.2",
|
|
"autoprefixer": "^8.6.3",
|
|
"babel-eslint": "^8.2.5",
|
|
"babel-loader": "8.0.0-beta.2",
|
|
"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",
|
|
"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.2.0",
|
|
"dedent-js": "^1.0.1",
|
|
"enzyme": "^3.3.0",
|
|
"enzyme-adapter-react-16": "^1.1.1",
|
|
"eslint": "^5.5.0",
|
|
"eslint-config-prettier": "^3.0.1",
|
|
"eslint-plugin-flowtype": "^2.46.3",
|
|
"eslint-plugin-react": "^7.11.1",
|
|
"file-loader": "^1.1.11",
|
|
"flow-bin": "^0.72.0",
|
|
"flow-typed": "^2.4.0",
|
|
"google-translate-api": "^2.3.0",
|
|
"html-loader": "^0.5.5",
|
|
"html-webpack-plugin": "^3.2.0",
|
|
"intl": "^1.2.5",
|
|
"intl-locales-supported": "^1.0.0",
|
|
"js-yaml": "^3.12.0",
|
|
"jsdom": "^12.0.0",
|
|
"json-loader": "^0.5.7",
|
|
"koa-connect": "^2.0.1",
|
|
"live-server": "^1.2.0",
|
|
"mocha": "^5.0.4",
|
|
"mocha-webpack": "^2.0.0-beta.0",
|
|
"mock-local-storage": "^1.0.5",
|
|
"nearley-loader": "^2.0.0",
|
|
"postcss-loader": "^2.1.2",
|
|
"ramda-fantasy": "^0.8.0",
|
|
"sinon": "^4.5.0",
|
|
"sinon-chai": "^3.0.0",
|
|
"source-map-support": "^0.5.4",
|
|
"style-loader": "^0.20.3",
|
|
"url-loader": "^1.0.1",
|
|
"webpack": "^4.17.1",
|
|
"webpack-cli": "^3.0.8",
|
|
"webpack-pwa-manifest": "^3.6.2",
|
|
"webpack-serve": "^2.0.2",
|
|
"webpack-serve-overlay": "^0.2.2",
|
|
"webpack-serve-waitpage": "^1.0.2",
|
|
"workbox-webpack-plugin": "^3.3.1",
|
|
"yaml-loader": "^0.5.0"
|
|
}
|
|
}
|