Ubuntu13搭建Grunt/Nodejs/QUnit
来源:互联网 发布:java list取某一个 编辑:程序博客网 时间:2024/05/17 07:56
1. Install node and npmsudo apt-get install nodejs-legacy npm
2. Install gruntsudo npm install -g grunt-cli
http://askubuntu.com/questions/337976/installing-grunt-js-on-13-04
I just installed grunt from PPA. Here is a full list of steps that I had to take to get a working grunt build:
sudo add-apt-repository ppa:chris-lea/node.jssudo apt-get update sudo apt-get install nodejs# remove a conflicting install of npm that I had tried earliersudo apt-get update && sudo apt-get -y dist-upgradesudo npm install -g grunt grunt-cli grunt-contrib-clean grunt-replace grunt-contri
grunt-contrib-watch grunt-contrib-jasmine grunt-contrib-connect grunt-saucelabs grunt-gitinfo
3. Reclaim ownership of your .npm directory (seems to happen on Ubuntu)sudo chown -R $(whoami) ~/.npm
ubuntu里貌似默认就好了,可以忽略这一步
4.现在把你的
代码准备好
5. 配置package.json, gruntfile.js
6. grunt build 试试吧
0 0
- Ubuntu13搭建Grunt/Nodejs/QUnit
- win7安装grunt-contrib-qunit
- Nodejs——搭建电影展台(grunt)配置
- nodeJS npm grunt grunt-cli
- nodejs与grunt
- Nodejs 安装 grunt ,Webstorm grunt 配置
- 高效开发Hybrid APP(一):环境搭建 NodeJS + Grunt + tomd
- grunt让Nodejs规范起来
- grunt让Nodejs规范起来
- 用Grunt管理Nodejs项目
- Angularjs Nodejs Grunt 一个例子
- grunt让Nodejs规范起来
- grunt让Nodejs规范起来
- NodeJS项目构建工具Grunt
- nodejs,npm,grunt安装教程
- ubuntu13.10搭建Jenkins
- Grunt搭建AngularJS项目
- Grunt+bower 环境搭建
- 通过这个例子一眼就看懂java中wait和notify()用法
- 【进程间通信】普通管道和命名管道(FIFO)
- 最方便的下载安卓google play apk的方法
- Android多媒体-播放多媒体时的前台服务
- 面试总结
- Ubuntu13搭建Grunt/Nodejs/QUnit
- 内网外网同时使用配置
- Eclipse快捷键大全
- android 生成二维码/一维码
- MFC中CTreeView的使用
- 通用可配置 POI 导入EXCEL
- 苹果推出基于脚本的编程语言Swift
- jvm相关技术
- WP--后台定义前台动画