Skip to content

yuguo/npm-scripts-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm scripts实战进阶

目录

  1. npm scripts简介
  2. Bash编程
  3. shell编程
  4. 示例:clean
  5. 示例:less
  6. 示例:stream
  7. 示例:js
  8. 示例:build
  9. 示例:hashname

开始之前

  1. 推荐使用支持Bash的操作系统(比如Linux,Solaris,BSD和Mac OSX等)来运行案例
  2. 本机安装好node和npm
  3. 掌握node和npm的基本操作,了解基本的命令行操作
  4. 了解package.json的配置项

相关资料

  1. http://www.ruanyifeng.com/blog/2016/10/npm_scripts.html
  2. https://docs.npmjs.com/misc/scripts
  3. https://www.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool/
  4. https://www.keithcirkel.co.uk/why-we-should-stop-using-grunt/

About

npm-scripts完整指南和示例

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published