Skip to content

Commit

Permalink
test: 更新 babel-preset-miaoxing, 移除 core-js 和 `regenerator-runtime…
Browse files Browse the repository at this point in the history
…` 依赖
  • Loading branch information
twinh committed Apr 29, 2021
1 parent 3c0f6f0 commit 908fcd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 0 additions & 3 deletions __tests__/BtnLink.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import 'core-js/stable';
import 'regenerator-runtime/runtime';

import React from 'react';
import {BtnLink} from '../';
import {MemoryRouter} from 'react-router';
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,12 @@
"devDependencies": {
"@miaoxing/dev": "^6.4.0",
"@testing-library/react": "^11.2.5",
"core-js": "^3.6.5",
"jest": "^26.0.1",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router": "^5.2.0",
"react-router-dom": "^5.1.2",
"regenerator-runtime": "^0.13.5",
"rimraf": "^3.0.2",
"ts-jest": "^26.2.0",
"typescript": "^3.8.3"
Expand All @@ -58,7 +56,8 @@
"miaoxing": "miaoxing/miaoxing-js",
"@mxjs/bootstrap": "miaoxing/mxjs-bootstrap",
"@mxjs/router": "miaoxing/mxjs-router",
"@mxjs/router-modal": "miaoxing/mxjs-router-modal"
"@mxjs/router-modal": "miaoxing/mxjs-router-modal",
"babel-preset-miaoxing": "miaoxing/babel-preset-miaoxing"
},
"jest": {
"preset": "jest-preset-miaoxing"
Expand Down

0 comments on commit 908fcd7

Please sign in to comment.