Skip to content

Equivalent of npm run <script>? #9753

Answered by buttercubz
lowlighter asked this question in Q&A
Discussion options

You must be logged in to vote

Could not find any info on it, but I'd like to run aliased commands like deno run-script start or deno run-script publish without needed to specify deno run with correct permissions, flags, import map and entry point each time.

Is there some kind of an equivalent of npm run <script> in deno cli ?

If not, is there any plans to have something like this in the future, or has it been ruled out/already discussed and we need to rely on third party modules?

there are some cli that solve these problems:

https://deno.land/x/trex@v1.5.0#run-scripts-experimental
https://deno.land/x/denox@0.4.0
https://deno.land/x/velociraptor@1.0.0-beta.17

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@lowlighter
Comment options

Answer selected by lowlighter
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants