mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-05 19:51:08 +01:00
Merge pull request #101 from rapind/master
Removed grunt-bower-task dependency.
This commit is contained in:
@@ -23,6 +23,7 @@ MEAN is a boilerplate that provides a nice starting point for [MongoDB](http://w
|
||||
Install dependencies:
|
||||
|
||||
$ npm install
|
||||
$ bower install
|
||||
|
||||
We recommend using [Grunt](https://github.com/gruntjs/grunt-cli) to start the server:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
script(type='text/javascript', src='/lib/jquery/jquery.js')
|
||||
|
||||
//Bootstrap
|
||||
script(type='text/javascript', src='/lib/bootstrap/js/bootstrap.js')
|
||||
script(type='text/javascript', src='/lib/bootstrap-assets/js/bootstrap.js')
|
||||
|
||||
//AngularJS
|
||||
script(type='text/javascript', src='/lib/angular/angular.js')
|
||||
@@ -10,7 +10,7 @@ script(type='text/javascript', src='/lib/angular-resource/angular-resource.js')
|
||||
|
||||
//Angular UI
|
||||
script(type='text/javascript', src='/lib/angular-bootstrap/ui-bootstrap-tpls.js')
|
||||
script(type='text/javascript', src='/lib/angular-ui-utils/modules/route.js')
|
||||
script(type='text/javascript', src='/lib/angular-ui-utils/modules/route/route.js')
|
||||
|
||||
//Application Init
|
||||
script(type='text/javascript', src='/js/app.js')
|
||||
|
||||
@@ -19,8 +19,8 @@ head
|
||||
meta(property='og:site_name', content='MEAN - A Modern Stack')
|
||||
meta(property='fb:admins', content='APP_ADMIN')
|
||||
|
||||
link(rel='stylesheet', href='/lib/bootstrap/css/bootstrap.css')
|
||||
link(rel='stylesheet', href='/lib/bootstrap/css/bootstrap-responsive.css')
|
||||
link(rel='stylesheet', href='/lib/bootstrap-assets/css/bootstrap.css')
|
||||
link(rel='stylesheet', href='/lib/bootstrap-assets/css/bootstrap-responsive.css')
|
||||
link(rel='stylesheet', href='/css/common.css')
|
||||
|
||||
link(rel='stylesheet', href='/css/views/articles.css')
|
||||
|
||||
14
bower.json
14
bower.json
@@ -2,7 +2,7 @@
|
||||
"name": "mean",
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"bootstrap": "2.3.2",
|
||||
"bootstrap-assets": "2.3.2",
|
||||
"angular": "~1.0.6",
|
||||
"angular-resource": "~1.0.6",
|
||||
"angular-cookies": "~1.0.6",
|
||||
@@ -10,15 +10,5 @@
|
||||
"angular-ui-utils": "0.0.4",
|
||||
"json3": "~3.2.4",
|
||||
"jquery": "~1.9.1"
|
||||
},
|
||||
"exportsOverride": {
|
||||
"bootstrap": {
|
||||
"css": "docs/assets/css/bootstrap*.css",
|
||||
"js": "docs/assets/js/bootstrap.js",
|
||||
"img": "docs/assets/img/glyphicons-halflings*.png"
|
||||
},
|
||||
"angular-ui-utils": {
|
||||
"modules": "modules/route/route.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
13
gruntfile.js
13
gruntfile.js
@@ -60,17 +60,6 @@ module.exports = function(grunt) {
|
||||
reporter: 'spec'
|
||||
},
|
||||
src: ['test/**/*.js']
|
||||
},
|
||||
bower: {
|
||||
install: {
|
||||
options: {
|
||||
targetDir: './public/lib',
|
||||
layout: 'byComponent',
|
||||
install: true,
|
||||
verbose: true,
|
||||
cleanBowerDir: true
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -93,4 +82,4 @@ module.exports = function(grunt) {
|
||||
|
||||
//Bower task.
|
||||
grunt.registerTask('install', ['bower']);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -35,8 +35,7 @@
|
||||
"mean-logger": "latest",
|
||||
"forever": "latest",
|
||||
"grunt": "latest",
|
||||
"grunt-cli": "latest",
|
||||
"grunt-bower-task": "latest"
|
||||
"grunt-cli": "latest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"supertest": "latest",
|
||||
@@ -47,4 +46,4 @@
|
||||
"grunt-concurrent": "latest",
|
||||
"grunt-mocha-test": "latest"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user