npm常用script
来源:互联网 发布:淘宝达人大v账号购买 编辑:程序博客网 时间:2024/06/17 15:03
// 删除目录"clean": "rimraf dist/*",// 本地搭建一个 HTTP 服务"serve": "http-server -p 9090 dist/",// 打开浏览器"open:dev": "opener http://localhost:9090",// 实时刷新 "livereload": "live-reload --port 9091 dist/",// 构建 HTML 文件"build:html": "jade index.jade > dist/index.html",// 只要 CSS 文件有变动,就重新执行构建"watch:css": "watch 'npm run build:css' assets/styles/",// 只要 HTML 文件有变动,就重新执行构建"watch:html": "watch 'npm run build:html' assets/html",// 部署到 Amazon S3"deploy:prod": "s3-cli sync ./dist/ s3://example-com/prod-site/",// 构建 favicon"build:favicon": "node scripts/favicon.js",
// 删除目录"clean": "rimraf dist/*",// 本地搭建一个 HTTP 服务"serve": "http-server -p 9090 dist/",// 打开浏览器"open:dev": "opener http://localhost:9090",// 实时刷新 "livereload": "live-reload --port 9091 dist/",// 构建 HTML 文件"build:html": "jade index.jade > dist/index.html",// 只要 CSS 文件有变动,就重新执行构建"watch:css": "watch 'npm run build:css' assets/styles/",// 只要 HTML 文件有变动,就重新执行构建"watch:html": "watch 'npm run build:html' assets/html",// 部署到 Amazon S3"deploy:prod": "s3-cli sync ./dist/ s3://example-com/prod-site/",// 构建 favicon"build:favicon": "node scripts/favicon.js",
阅读全文
0 0
- npm常用script
- NodeJs 常用npm框架
- nodejs---常用npm命令
- 常用npm模块一览
- npm 常用指令
- npm 常用操作
- 常用npm命令
- 常用的npm命令
- 常用npm命令列表
- npm部分常用指令
- 【NPM】常用包记录
- npm 常用命令行
- npm常用指令
- npm常用模块记录
- npm 常用指令
- NPM常用指令
- npm常用插件
- npm 常用操作
- Gym 101572E Emptying the Baltic(优先队列)
- VMware Workstation下安装CentOS 7系统
- 自己基于指针实现单链表(1.0)(shaffer教材)(2.0)
- 我的博客生涯
- 深入理解Java之线程池
- npm常用script
- HDU4704_Sum_加隔板问题&&费马小定理
- SMB实现共享文件(上传、下载)
- Android中aCache缓存机制详解
- Android性能优化之内存优化
- STM32 BOOT模式配置以及作用
- Line belt HDU
- 数据结构与算法分析(Java语言描述)(4)—— 希尔排序
- 微信APP支付常见开发问题解答