diff --git a/package.json b/package.json index a76b52f8c697380f73e5655e574b101327d478e8..1b59d839b58453d006fa5461522d9e858d8b6ee7 100755 --- a/package.json +++ b/package.json @@ -53,7 +53,6 @@ "@types/react": "^16.4.11", "@types/react-dom": "^16.0.6", "antd-pro-merge-less": "^0.0.6", - "merge-umi-mock-data": "^0.0.2", "antd-theme-webpack-plugin": "^1.0.8", "babel-eslint": "^8.2.6", "babel-runtime": "^6.9.2", @@ -73,6 +72,7 @@ "eslint-plugin-react": "^7.11.1", "gh-pages": "^1.2.0", "lint-staged": "^7.2.0", + "merge-umi-mock-data": "^0.0.3", "mockjs": "^1.0.1-beta3", "prettier": "1.14.2", "pro-download": "^1.0.1", diff --git a/scripts/generateMock.js b/scripts/generateMock.js index 1f1fbbf8d94aa0f8560a0e2097c1be8b208fb0e2..54c7d6d624fcefd98cec3600538284a5056910a7 100644 --- a/scripts/generateMock.js +++ b/scripts/generateMock.js @@ -1,4 +1,3 @@ const generateMock = require('merge-umi-mock-data'); const path = require('path'); -console.log(path.join(__dirname, '../mock'), path.join(__dirname, '../functions/mock/index.js')); generateMock(path.join(__dirname, '../mock'), path.join(__dirname, '../functions/mock/index.js'));