|
5 | 5 | "main": "dist/dashboard.js", |
6 | 6 | "module": "src/index.js", |
7 | 7 | "scripts": { |
8 | | - "test": "mocha-webpack \"src/**/*.test.js\" --webpack-config webpack.test.config.js --require @babel/polyfill --reporter mochawesome", |
| 8 | + "test": "mochapack \"src/**/*.test.js\" --webpack-config webpack.test.config.js --require @babel/polyfill --reporter mochawesome", |
9 | 9 | "test:watch": "mocha-webpack --watch \"src/**/*.test.js\" --webpack-config webpack.test.config.js --require @babel/polyfill --reporter mochawesome", |
10 | 10 | "build": "WEBPACK_ENV=build webpack", |
11 | 11 | "dev": "WEBPACK_ENV=dev webpack --progress --colors --watch", |
12 | | - "html-coverage": "cross-env NODE_ENV=test nyc --reporter=html mocha-webpack \"src/**/*.test.js\" --webpack-config webpack.test.config.js", |
| 12 | + "html-coverage": "cross-env NODE_ENV=test nyc --reporter=html mochapack \"src/**/*.test.js\" --webpack-config webpack.test.config.js", |
13 | 13 | "generate-doc": "jsdoc -c jsdoc.conf.json --readme ./README.md", |
14 | 14 | "lint": "eslint src", |
15 | 15 | "lint:fix": "eslint src --fix", |
|
19 | 19 | "analyze": "yarn analyze:generate && yarn analyze:tool", |
20 | 20 | "manual-test": "webpack-dev-server --webpack-config webpack.test.config.js './src/manual_test.js' --hot --inline --output-filename 'test.js'", |
21 | 21 | "semantic-release": "semantic-release", |
22 | | - "test:e2e": "webpack src/manual_test.js --output-filename test.js --config webpack.config.js --mode development && mocha-webpack \"src/e2e-test.js\" --timeout 80000 --webpack-config webpack.test.config.js --require @babel/polyfill" |
| 22 | + "test:e2e": "webpack src/manual_test.js --output-filename test.js --config webpack.config.js --mode development && mochapack \"src/e2e-test.js\" --timeout 80000 --webpack-config webpack.test.config.js --require @babel/polyfill" |
23 | 23 | }, |
24 | 24 | "keywords": [], |
25 | 25 | "author": "", |
|
38 | 38 | "@babel/cli": "^7.2.3", |
39 | 39 | "@babel/core": "^7.4.0", |
40 | 40 | "@babel/plugin-syntax-dynamic-import": "^7.2.0", |
| 41 | + "@babel/plugin-transform-modules-commonjs": "^7.4.0", |
41 | 42 | "@babel/polyfill": "^7.4.0", |
42 | 43 | "@babel/preset-env": "^7.4.2", |
43 | 44 | "@babel/register": "^7.4.0", |
44 | 45 | "autoprefixer": "^9.5.0", |
45 | 46 | "babel-eslint": "^10.0.1", |
46 | 47 | "babel-loader": "^8.0.5", |
| 48 | + "babel-plugin-dynamic-import-node": "^2.2.0", |
47 | 49 | "css-loader": "^2.1.1", |
48 | 50 | "cz-conventional-changelog": "^2.1.0", |
49 | 51 | "docdash": "^1.1.0", |
|
62 | 64 | "json2yaml": "^1.1.0", |
63 | 65 | "minami": "^1.2.3", |
64 | 66 | "mocha": "^6.0.2", |
65 | | - "mocha-webpack": "^2.0.0-beta.0", |
| 67 | + "mochapack": "^1.1.1", |
66 | 68 | "mochawesome": "^3.1.1", |
67 | 69 | "node-sass": "^4.11.0", |
68 | 70 | "postcss-loader": "^3.0.0", |
|
0 commit comments