-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 fix scripts in package.json #1469
Conversation
gongshun
commented
May 25, 2021
@@ -17,7 +17,7 @@ | |||
"scripts": { | |||
"examples:install": "npm-run-all --serial build install:*", | |||
"examples:start": "npm-run-all --parallel start:*", | |||
"examples:start-multiple": "run-p start:main-multiple start:react15 start:vue", | |||
"examples:start-multiple": "run-p start-main-multiple start:react15 start:vue", | |||
"install:main": "cd examples/main && yarn", | |||
"start:main": "cd examples/main && yarn start", | |||
"start-main-multiple": "cd examples/main && yarn start:multiple", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
应该把这里改成 start:main-multiple
更好一点,跟其他 script 保持一致
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果把 start-main-multiple
改成 start:main-multiple
,那么examples:start
命令也会运行 start:main-multiple
的,这是不必要的。最开始写的就是 start:main-multiple
,后面被修改了,8c7efcc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
想起来了~
@@ -17,7 +17,7 @@ | |||
"scripts": { | |||
"examples:install": "npm-run-all --serial build install:*", | |||
"examples:start": "npm-run-all --parallel start:*", | |||
"examples:start-multiple": "run-p start:main-multiple start:react15 start:vue", | |||
"examples:start-multiple": "run-p start-main-multiple start:react15 start:vue", | |||
"install:main": "cd examples/main && yarn", | |||
"start:main": "cd examples/main && yarn start", | |||
"start-main-multiple": "cd examples/main && yarn start:multiple", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
想起来了~