
用 npm script 打造超溜的前端工作流培訓(xùn)
1
為什么選擇 npm script
2
入門篇 01:創(chuàng)建并運(yùn)行 npm script 命令
3
入門篇 02:運(yùn)行多個(gè) npm script 的各種姿勢
4
入門篇 03:給 npm script 傳遞參數(shù)和添加注釋
5
進(jìn)階篇 01:使用 npm script 的鉤子
6
進(jìn)階篇 02:在 npm script 中使用環(huán)境變量
7
進(jìn)階篇 03:實(shí)現(xiàn) npm script 命令自動(dòng)補(bǔ)全
8
高階篇 01:實(shí)現(xiàn) npm script 跨平臺(tái)兼容
9
高階篇 02:把龐大的 npm script 拆到單獨(dú)文件中
10
高階篇 03:用 node.js 腳本替代復(fù)雜的 npm script
11
實(shí)戰(zhàn)篇 01:監(jiān)聽文件變化并自動(dòng)運(yùn)行 npm script
12
實(shí)戰(zhàn)篇 02:結(jié)合 live-reload 實(shí)現(xiàn)自動(dòng)刷新
13
實(shí)戰(zhàn)篇 03:在 git hooks 中運(yùn)行 npm script
14
實(shí)戰(zhàn)篇 04:用 npm script 實(shí)現(xiàn)構(gòu)建流水線
15
實(shí)戰(zhàn)篇 05:用 npm script 實(shí)現(xiàn)服務(wù)自動(dòng)化運(yùn)維