From e37787a2241953631c910723b2bb461494c4fe10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Wed, 22 Aug 2018 13:48:50 +0800 Subject: [PATCH] upgrade merge-umi-mock-data version --- package.json | 2 +- scripts/generateMock.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index a76b52f8..1b59d839 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 1f1fbbf8..54c7d6d6 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')); -- GitLab