Sotaro KARASAWA 10 лет назад
Родитель
Сommit
127e0bdaa4
3 измененных файлов с 4 добавлено и 28 удалено
  1. 0 24
      bower.json
  2. 2 2
      gulpfile.js
  3. 2 2
      package.json

+ 0 - 24
bower.json

@@ -1,24 +0,0 @@
-{
-  "name": "crowi",
-  "version": "1.2.0",
-  "description": "Crocos' Wiki implementation in node.js",
-  "authors": [
-    "Sotaro KARASAWA <sotarok@crocos.co.jp>",
-    "Keisuke SATO <riaf@me.com>"
-  ],
-  "keywords": [
-    "wiki"
-  ],
-  "license": "MIT",
-  "private": true,
-  "ignore": [
-    "**/.*",
-    "node_modules",
-    "bower_components",
-    "test",
-    "tests"
-  ],
-  "dependencies": {
-    "bootstrap-sass-official": "~3.3.1"
-  }
-}

+ 2 - 2
gulpfile.js

@@ -43,7 +43,7 @@ var js = {
   },
   src: [
     'node_modules/jquery/dist/jquery.js',
-    'bower_components/bootstrap-sass-official/assets/javascripts/bootstrap.js',
+    'node_modules/bootstrap-sass/assets/javascripts/bootstrap.js',
     'node_modules/inline-attachment/src/inline-attachment.js',
     'node_modules/socket.io-client/socket.io.js',
     'node_modules/jquery.cookie/jquery.cookie.js',
@@ -68,7 +68,7 @@ var js = {
 };
 
 var cssIncludePaths = [
-  'bower_components/bootstrap-sass-official/assets/stylesheets',
+  'node_modules/bootstrap-sass/assets/stylesheets',
   'node_modules/font-awesome/scss',
   'node_modules/reveal.js/css'
 ];

+ 2 - 2
package.json

@@ -33,7 +33,7 @@
     "basic-auth-connect": "~1.0.0",
     "bluebird": "~3.0.5",
     "body-parser": "~1.14.1",
-    "bower": "~1.7.1",
+    "bootstrap-sass": "~3.3.6",
     "browserify": "~12.0.1",
     "cli": "~0.6.0",
     "connect-flash": "~0.1.1",
@@ -91,7 +91,7 @@
     "start": "node app.js",
     "test": "gulp test",
     "build": "gulp",
-    "postinstall": "bower cache clean && bower install && gulp"
+    "postinstall": "gulp"
   },
   "env": {
     "NODE_ENV": "production"