XiongAmao / run-npm-script-via-shellscript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The packaging config on server only supports the following commands, and the only customizable part is env.

npm run build --env=prod

This repo provides implementations for differentnpm run script via shell script or node script.

# shell script
npm run build --env=prod 

# node script
npm run build:js --env=prod

About


Languages

Language:JavaScript 91.0%Language:Shell 9.0%