Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How can I run a command directly without creating a new script for it #254

Open
laterdayi opened this issue Mar 25, 2023 · 0 comments
Open

Comments

@laterdayi
Copy link

How can I run a command directly without creating a new script for it

Now run-p needs this

 build: 'run-p type-check build-only',
 'build-only': 'vite build',
 'type-check': 'vue-tsc --noEmit',

How do I run a command directly without creating a new script for it

example

 build: 'run-p 'vue-tsc --noEmit'  vite build'

And now it says

> run-p 'vue-tsc --noEmit' vite build 
 
ERROR: Invalid Option: --noEmit'
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant