:up_arrow: Mises à jour importantes

pull/294/head
Mael 2018-07-07 12:54:43 +00:00
parent ae84ff12e5
commit ca0e20cc3f
2 changed files with 238 additions and 1518 deletions

View File

@ -8,10 +8,7 @@
"engines": {
"node": ">=8.10.0 <10.0.0"
},
"browserslist": [
"> 1% in FR",
"not ie < 11"
],
"browserslist": ["> 1% in FR", "not ie < 11"],
"dependencies": {
"@babel/core": "=7.0.0-beta.51",
"@babel/plugin-proposal-decorators": "=7.0.0-beta.51",
@ -43,7 +40,6 @@
"fuse.js": "^3.2.1",
"global": "^4.3.2",
"google-translate-api": "^2.3.0",
"hard-source-webpack-plugin": "^0.6.4",
"html-loader": "^0.5.5",
"i18next": "^10.0.7",
"ignore-loader": "^0.1.2",
@ -87,26 +83,35 @@
"style-loader": "^0.20.3",
"url-loader": "^1.0.1",
"webpack": "^4.12.1",
"webpack-cli": "^2.0.12",
"webpack-cli": "^3.0.8",
"webpack-dev-server": "^3.1.1",
"whatwg-fetch": "^2.0.3",
"yaml-loader": "^0.5.0"
},
"scripts": {
"pretest": "LIST=`git diff --name-only HEAD..HEAD^ | grep .*\\.js | grep -v json`; if [ \"$LIST\" ]; then eslint $LIST; fi && flow check",
"pretest":
"LIST=`git diff --name-only HEAD..HEAD^ | grep .*\\.js | grep -v json`; if [ \"$LIST\" ]; then eslint $LIST; fi && flow check",
"start": "node source/server.js",
"externalize": "node source/externalize.js",
"prepare": "flow-typed update-cache",
"compile": "webpack --config source/webpack.prod.js",
"test": "mocha-webpack --webpack-config source/webpack.test.js --require source-map-support/register --include componentTestSetup.js --require test/helpers/browser.js \"./{,!(node_modules)/**/}!(webpack).test.js\"",
"test-watch": "mocha-webpack --webpack-config source/webpack.test.js --require source-map-support/register --require test/helpers/browser.js \"test/**/*.test.js\" --watch",
"test-meca": "mocha-webpack --webpack-config source/webpack.test.js --require source-map-support/register --require test/helpers/browser.js test/mecanisms.test.js --watch",
"test-rules": "mocha-webpack --webpack-config source/webpack.test.js --require source-map-support/register --require test/helpers/browser.js test/real-rules.test.js --watch",
"test-inversions": "mocha-webpack --webpack-config source/webpack.test.js --require source-map-support/register --require test/helpers/browser.js \"test/inversion.test.js\" --watch",
"test-components": "mocha-webpack --webpack-config source/webpack.test.js --require source-map-support/register --include componentTestSetup.js --require test/helpers/browser.js \"source/components/**/*.test.js\" --watch",
"test":
"mocha-webpack --webpack-config source/webpack.test.js --require source-map-support/register --include componentTestSetup.js --require test/helpers/browser.js \"./{,!(node_modules)/**/}!(webpack).test.js\"",
"test-watch":
"mocha-webpack --webpack-config source/webpack.test.js --require source-map-support/register --require test/helpers/browser.js \"test/**/*.test.js\" --watch",
"test-meca":
"mocha-webpack --webpack-config source/webpack.test.js --require source-map-support/register --require test/helpers/browser.js test/mecanisms.test.js --watch",
"test-rules":
"mocha-webpack --webpack-config source/webpack.test.js --require source-map-support/register --require test/helpers/browser.js test/real-rules.test.js --watch",
"test-inversions":
"mocha-webpack --webpack-config source/webpack.test.js --require source-map-support/register --require test/helpers/browser.js \"test/inversion.test.js\" --watch",
"test-components":
"mocha-webpack --webpack-config source/webpack.test.js --require source-map-support/register --include componentTestSetup.js --require test/helpers/browser.js \"source/components/**/*.test.js\" --watch",
"heroku-postbuild": "yarn install --production=false && yarn compile",
"eslint": "LIST=`git diff --cached --name-only HEAD | grep .*\\.js | grep -v json`; if [ \"$LIST\" ]; then eslint $LIST; fi",
"eslint-check": "eslint --print-config .eslintrc | eslint-config-prettier-check"
"eslint":
"LIST=`git diff --cached --name-only HEAD | grep .*\\.js | grep -v json`; if [ \"$LIST\" ]; then eslint $LIST; fi",
"eslint-check":
"eslint --print-config .eslintrc | eslint-config-prettier-check"
},
"devDependencies": {
"@babel/preset-flow": "^7.0.0-beta.51",
@ -114,7 +119,7 @@
"copy-webpack-plugin": "^4.5.2",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.19.0",
"eslint": "^5.0.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-flowtype": "^2.46.3",
"eslint-plugin-react": "^7.10.0",

1719
yarn.lock

File diff suppressed because it is too large Load Diff