npm-package.json

npm-package.json 

Specifics of npm's package.json handling

DESCRIPTION§

This document is all you need to know about what’s required in your package.json file. It must be actual JSON, not just a JavaScript object literal.

A lot of the behavior described in this document is affected by the config settings described in npm-config.

 

scripts§

The “scripts” property is a dictionary containing script commands that are run at various times in the lifecycle of your package. The key is the lifecycle event, and the value is the command to run at that point.

See npm-scripts to find out more about writing package scripts.

上一篇:awk命令


下一篇:CentOS7将dhcp获取到的地址固定改为静态地址的脚本