cli-run

1.2.1 • Public • Published

start

create .env.dev file

RUN_APP_ENV=dev

create .env.dev file

RUN_APP_ENV=dev

arg

--mode : dev or prod 
--path : build file

package.json

script

    "start": "cli-run --mode dev --path scripts/start.js",
    "test": "cli-run --mode test --path scripts/build.js",
    "pre": "cli-run --mode pre --path scripts/build.js",
    "prod": "cli-run --mode prod --path scripts/build.js",

Readme

Keywords

none

Package Sidebar

Install

npm i cli-run

Weekly Downloads

17

Version

1.2.1

License

ISC

Unpacked Size

6.48 kB

Total Files

12

Last publish

Collaborators

  • shudong