Explorar o código

Move inline-attachment to npm

Sotaro KARASAWA %!s(int64=10) %!d(string=hai) anos
pai
achega
977b7663ff
Modificáronse 3 ficheiros con 4 adicións e 3 borrados
  1. 1 2
      bower.json
  2. 1 1
      gulpfile.js
  3. 2 0
      package.json

+ 1 - 2
bower.json

@@ -19,7 +19,6 @@
     "tests"
   ],
   "dependencies": {
-    "bootstrap-sass-official": "~3.3.1",
-    "inline-attachment": "~2.0.1"
+    "bootstrap-sass-official": "~3.3.1"
   }
 }

+ 1 - 1
gulpfile.js

@@ -44,7 +44,7 @@ var js = {
   src: [
     'node_modules/jquery/dist/jquery.js',
     'bower_components/bootstrap-sass-official/assets/javascripts/bootstrap.js',
-    'bower_components/inline-attachment/src/inline-attachment.js',
+    'node_modules/inline-attachment/src/inline-attachment.js',
     'node_modules/socket.io-client/socket.io.js',
     'node_modules/jquery.cookie/jquery.cookie.js',
     'resource/thirdparty-js/jquery.selection.js',

+ 2 - 0
package.json

@@ -58,6 +58,7 @@
     "gulp-uglify": "~1.4.2",
     "gulp-watch": "~4.3.5",
     "highlight.js": "~9.0.0",
+    "inline-attachment": "git+https://github.com/Rovak/InlineAttachment.git#2.0.2",
     "jquery": "~2.1.4",
     "jquery.cookie": "~1.4.1",
     "jshint-stylish": "~2.1.0",
@@ -89,6 +90,7 @@
   "scripts": {
     "start": "node app.js",
     "test": "gulp test",
+    "build": "gulp",
     "postinstall": "bower cache clean && bower install && gulp"
   },
   "env": {