joe2016

让你在命令行即可方便的查看、设置和删除 package.json 中的 script 命令。

  •  
  •   joe2016 · Jul 18, 2017 · 3056 views
    This topic created in 3330 days ago, the information mentioned may be changed or developed.

    npm 提供非常方便的 npm-scripts 功能,让我们在命令行即可执行如 npm start 等预定义的命令。但是定义命令却稍显麻烦,需要打开 package.json 文件,找到 scripts 字段,增加或者删除 script 命令,最后再关闭文件。

    nps-cli 提供 nps ls, nps setnps remove 3 个命令,让你在命令行就可以轻松的完成这一系列操作。更详细的的使用方法可在 GitHub - zhengjunxin/nps-cli: Easily ls/set/remove package.json ’ s scripts field in cli.查看

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   954 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 18:24 · PVG 02:24 · LAX 11:24 · JFK 14:24
    ♥ Do have faith in what you're doing.