Merge housekeeping: update mocha with webpack env
Showing
.babelrc
已删除
100644 → 0
.mocharc.yaml
0 → 100644
babel.config.json
0 → 100644
... | ... | @@ -31,7 +31,7 @@ |
"lint-fix": "eslint --cache --ext \".js,.jsx\" src test --fix", | ||
"test": "run-s just-test-in-node e2e-cypress lint-errors", | ||
"test-in-node": "run-s lint-errors just-test-in-node", | ||
"just-test-in-node": "mocha --require test/mocha/setup.js --recursive --compilers js:@babel/register --require source-map-support \"test/mocha/**/*.{js,jsx}\"", | ||
"just-test-in-node": "cross-env BABEL_ENV=test mocha \"test/mocha/**/*.{js,jsx}\"", | ||
"test-e2e-cypress": "cypress run", | ||
"test-e2e-selenium": "sleep 3 && nightwatch test/e2e-selenium/scenarios/ --config test/e2e-selenium/nightwatch.json", | ||
"e2e-initial-render": "nightwatch test/e2e-selenium/scenarios/ --config test/e2e-selenium/nightwatch.json --group initial-render", | ||
... | ... | @@ -111,6 +111,7 @@ |
"chromedriver": "^80.0.2", | ||
"copy-webpack-plugin": "^6.0.0", | ||
"cors": "^2.8.5", | ||
"cross-env": "=7.0.2", | ||
"css-loader": "^3.5.3", | ||
"cypress": "^3.8.3", | ||
"dedent": "^0.7.0", | ||
... | ... | @@ -120,6 +121,7 @@ |
"eslint-plugin-import": "^2.21.1", | ||
"eslint-plugin-mocha": "^6.3.0", | ||
"eslint-plugin-react": "^7.20.0", | ||
"esm": "=3.2.25", | ||
"expect": "^1.20.2", | ||
"express": "^4.17.1", | ||
"file-loader": "^6.0.0", | ||
... | ... | @@ -135,7 +137,7 @@ |
"less": "^3.11.2", | ||
"license-checker": "^25.0.0", | ||
"mini-css-extract-plugin": "^0.9.0", | ||
"mocha": "^5.2.0", | ||
"mocha": "=7.2.0", | ||
"nightwatch": "^1.3.6", | ||
"node-sass": "^4.14.1", | ||
"npm-audit-ci-wrapper": "^2.5.4", | ||
... | ... | @@ -159,7 +161,8 @@ |
"webpack": "^4.43.0", | ||
"webpack-bundle-size-analyzer": "^3.1.0", | ||
"webpack-cli": "^3.3.11", | ||
"webpack-dev-server": "^3.11.0" | ||
"webpack-dev-server": "^3.11.0", | ||
"webpack-stats-plugin": "=0.3.2" | ||
}, | ||
"config": { | ||
"deps_check_dir": ".deps_check" | ||
... | ... |
想要评论请 注册 或 登录