diff --git a/package.json b/package.json index f3b1655bea2c889b4607164617299cf730b7c3e2..297c77225150761bbe39dd71995b757b1616cc0e 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "dependencies": { "@antv/data-set": "^0.9.6", "@babel/runtime": "^7.1.2", - "antd": "^3.10.0", + "antd": "^3.10.4", "bizcharts": "^3.2.2", "bizcharts-plugin-slider": "^2.0.3", "classnames": "^2.2.6", @@ -73,9 +73,6 @@ "eslint-plugin-jsx-a11y": "^6.1.2", "eslint-plugin-markdown": "^1.0.0-beta.6", "eslint-plugin-react": "^7.11.1", - "tslint": "^5.10.0", - "tslint-config-prettier": "^1.10.0", - "tslint-react": "^3.6.0", "gh-pages": "^2.0.1", "husky": "^1.1.2", "lint-staged": "^7.2.0", @@ -86,12 +83,15 @@ "stylelint": "^9.4.0", "stylelint-config-prettier": "^4.0.0", "stylelint-config-standard": "^18.0.0", + "tslint": "^5.10.0", + "tslint-config-prettier": "^1.10.0", + "tslint-react": "^3.6.0", "umi": "^2.2.1", "umi-plugin-ga": "^1.1.3", "umi-plugin-react": "^1.2.0" }, "optionalDependencies": { - "puppeteer": "^1.9.0" + "puppeteer": "^1.10.0" }, "lint-staged": { "**/*.{js,jsx,less}": [ diff --git a/src/e2e/layout.e2e.js b/src/e2e/layout.e2e.js index 58525bc98bfbb8da3079074bf1f870b626caa6c8..3d95dc1d06db6acdcb4237ffc548b327de21d916 100644 --- a/src/e2e/layout.e2e.js +++ b/src/e2e/layout.e2e.js @@ -28,6 +28,7 @@ describe('Homepage', () => { }; beforeAll(async () => { + jest.setTimeout(1000000); browser = await puppeteer.launch({ args: ['--no-sandbox'] }); page = await browser.newPage(); });