Permalink
Browse files

Install grunt-cli as dependency

  • Loading branch information...
1 parent 498f6ac commit beb324988b99d7a5fd619a1a93227745de8968ef @timdream committed Jun 2, 2016
Showing with 7 additions and 5 deletions.
  1. +4 −4 PRODUCTION.md
  2. +3 −1 package.json
View
@@ -1,12 +1,12 @@
## Build for production
-Require `node`, and `grunt`. Run
+Require `node`. Run
npm install
- grunt
+ npm run grunt
and find the app in the `production` folder. Run
- grunt deploy
+ npm run grunt deploy
-To push the files to `timc.idv.tw` hosting.
+To push the files to `gh-pages` hosting.
View
@@ -5,10 +5,12 @@
"url": "https://github.com/timdream/wordcloud.git"
},
"scripts": {
- "test": "grunt test"
+ "test": "grunt test",
+ "grunt": "grunt"
},
"devDependencies": {
"grunt": "^0.4.5",
+ "grunt-cli": "^1.2.0",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-concat": "~0.4.0",
"grunt-contrib-connect": "~0.7.1",

0 comments on commit beb3249

Please sign in to comment.