remove all bower logic in gulp + remove bower.json
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
{
|
||||
"name": "umbraco",
|
||||
"version": "7",
|
||||
"homepage": "https://github.com/umbraco/Umbraco-CMS",
|
||||
"authors": [
|
||||
"Shannon <shannon@umbraco.com>"
|
||||
],
|
||||
"description": "Umbraco CMS",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"ignore": [
|
||||
"**/.*",
|
||||
"node_modules",
|
||||
"bower_components",
|
||||
"test",
|
||||
"tests"
|
||||
],
|
||||
"dependencies": {
|
||||
},
|
||||
"install": {
|
||||
"path": "lib-bower",
|
||||
"ignore": [
|
||||
"font-awesome",
|
||||
"bootstrap",
|
||||
"codemirror",
|
||||
"ace-builds"
|
||||
],
|
||||
"sources": {
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -105,7 +105,6 @@ var sources = {
|
||||
less: "./src/less/**/*.less",
|
||||
js: "./src/*.js",
|
||||
lib: "./lib/**/*",
|
||||
bower: "./lib-bower/**/*",
|
||||
assets: "./src/assets/**"
|
||||
}
|
||||
};
|
||||
@@ -318,8 +317,8 @@ gulp.task('dependencies', function () {
|
||||
"base": "./node_modules/jquery-validation-unobtrusive/dist"
|
||||
},
|
||||
{
|
||||
"name": "rgrove-lazyload",
|
||||
"src": ["./node_modules/lazyload-js/lazyload.js"],
|
||||
"name": "lazyload-js",
|
||||
"src": ["./node_modules/lazyload-js/lazyload-min.js"],
|
||||
"base": "./node_modules/lazyload-js"
|
||||
},
|
||||
// TODO: We can optimize here:
|
||||
@@ -375,18 +374,12 @@ gulp.task('dependencies', function () {
|
||||
);
|
||||
});
|
||||
|
||||
//copy over libs which are not on bower (/lib) and
|
||||
//libraries that have been managed by bower-installer (/lib-bower)
|
||||
//copy over libs which are not on npm (/lib)
|
||||
stream.add(
|
||||
gulp.src(sources.globs.lib)
|
||||
.pipe(gulp.dest(root + targets.lib))
|
||||
);
|
||||
|
||||
stream.add(
|
||||
gulp.src(sources.globs.bower)
|
||||
.pipe(gulp.dest(root + targets.lib))
|
||||
);
|
||||
|
||||
//Copies all static assets into /root / assets folder
|
||||
//css, fonts and image files
|
||||
stream.add(
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"scripts": {
|
||||
"install": "bower-installer",
|
||||
"test": "karma start test/config/karma.conf.js --singlerun",
|
||||
"build": "gulp"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user