Sfoglia il codice sorgente

Move client js libs from package.json to bower.js

Sotaro KARASAWA 11 anni fa
parent
commit
e47786764b
3 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 2 2
      Gruntfile.js
  2. 3 1
      bower.json
  3. 0 2
      package.json

+ 2 - 2
Gruntfile.js

@@ -62,9 +62,9 @@ module.exports = function(grunt) {
           // socket.io
           // socket.io
           'node_modules/socket.io-client/dist/socket.io.js',
           'node_modules/socket.io-client/dist/socket.io.js',
           // markd
           // markd
-          'node_modules/marked/lib/marked.js',
+          'bower_components/marked/lib/marked.js',
           // jquery.cookie
           // jquery.cookie
-          'node_modules/jquery.cookie/jquery.cookie.js',
+          'bower_components/jquery.cookie/jquery.cookie.js',
           // crowi
           // crowi
           'resource/js/crowi.js'
           'resource/js/crowi.js'
         ],
         ],

+ 3 - 1
bower.json

@@ -20,6 +20,8 @@
   ],
   ],
   "dependencies": {
   "dependencies": {
     "bootstrap-sass-official": "~3.3.1",
     "bootstrap-sass-official": "~3.3.1",
-    "fontawesome": "~4.2.0"
+    "fontawesome": "~4.2.0",
+    "jquery.cookie": "~1.4.1",
+    "marked": "~0.3.3"
   }
   }
 }
 }

+ 0 - 2
package.json

@@ -37,8 +37,6 @@
     "grunt-contrib-uglify": "~0.2.2",
     "grunt-contrib-uglify": "~0.2.2",
     "grunt-contrib-watch": "~0.5.3",
     "grunt-contrib-watch": "~0.5.3",
     "grunt-sass": "~0.14.1",
     "grunt-sass": "~0.14.1",
-    "jquery.cookie": "~1.4.1",
-    "marked": "=0.2.9",
     "mongoose": "=3.8.14",
     "mongoose": "=3.8.14",
     "mongoose-paginate": "~3.1.0",
     "mongoose-paginate": "~3.1.0",
     "nodemailer": "~1.2.2",
     "nodemailer": "~1.2.2",