Skip to content

Commit

Permalink
将library boilerplate的依赖umi-library替换为father (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
icarusysuper authored and sorrycc committed Aug 29, 2019
1 parent c89e205 commit 654aa27
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IBundleOptions } from 'umi-library/src/types';
import { IBundleOptions } from 'father';

const options: IBundleOptions = {
cjs: 'rollup',
Expand Down
8 changes: 4 additions & 4 deletions lib/generators/library/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
},
"repository": "<%= repo %>/<%= name %>",
"scripts": {
"dev": "umi-lib doc dev",
"build": "umi-lib build"
"dev": "father doc dev",
"build": "father build"
},
"peerDependencies": {
"react": "16.x"
},
"devDependencies": {
<% if (isTypeScript) { -%>
"umi-library": "^1.1.1",
"father": "^2.16.0",
"typescript": "^3.3.3"
<% } else { -%>
"umi-library": "^1.1.1"
"father": "^2.16.0"
<% } -%>
},
"license": "MIT"
Expand Down

0 comments on commit 654aa27

Please sign in to comment.