Skip to content

Commit

Permalink
setPkgScripts
Browse files Browse the repository at this point in the history
  • Loading branch information
574495412 committed Oct 16, 2020
1 parent c718e71 commit 75ad0b9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/@chrise/cli/lib/util/pkg.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* @Descripttion:
* @Author: xiaodong
* @Date: 2020-10-15 13:57:53
*/
const setPkg = options => {
const { name, ...rest } = options;

Expand All @@ -17,8 +22,8 @@ const setPkg = options => {

const setPkgScripts = pkg => {
pkg.scripts = {
dev: 'chrise-scripts dev',
build: 'chrise-scripts build'
dev: 'chrise-webpack dev',
build: 'chrise-webpack build'
};
};

Expand Down

0 comments on commit 75ad0b9

Please sign in to comment.