adding "gulp copy-assets" after "npm install"

This commit is contained in:
koenemann 2016-12-19 13:40:06 +01:00
parent 5265cd78fc
commit 0f7e3b1853
3 changed files with 17 additions and 7 deletions

4
.gitignore vendored
View file

@ -5,3 +5,7 @@ bower_components
node_modules
src
understrap.zip
dist

View file

@ -228,4 +228,4 @@ gulp.task('copy-assets', function() {
gulp.task('dist', function() {
gulp.src(['**/*','!sass','!sass/**','!bower_components','!bower_components/**','!node_modules','!node_modules/**','!src','!src/**','!dist','!bower.json', '!gulpfile.js', '!package.json', '*'])
.pipe(gulp.dest('dist/'))
});
});

View file

@ -4,18 +4,26 @@
"description": "Basic Child Theme for UnderStrap Theme Framework: https://github.com/holger1411/understrap",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"postinstall": "gulp copy-assets"
},
"repository": {
"type": "git",
"url": "https://github.com/holger1411/understrap-child.git"
},
"author": "",
"keywords": [
"wordpress",
"theme",
"framework",
"bootstrap",
"underscores"
],
"author": "Holger Koenemann",
"license": "GPL-2.0",
"bugs": {
"url": "https://github.com/holger1411/understrap-child/issues"
},
"homepage": "https://github.com/holger1411/understrap-child",
"homepage": "https://understrap.com",
"dependencies": {
"bootstrap": "^4.0.0-alpha.5",
"font-awesome": "^4.7.0",
@ -37,8 +45,6 @@
"owl.carousel": "^2.2.0",
"undescores-for-npm": "^1.0.0",
"understrap": "^0.5.0"
},
"scripts": {
"postinstall": "gulp copy-assets"
}
}