adding "gulp copy-assets" after "npm install"
This commit is contained in:
parent
5265cd78fc
commit
0f7e3b1853
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -5,3 +5,7 @@ bower_components
|
|||
node_modules
|
||||
|
||||
src
|
||||
|
||||
understrap.zip
|
||||
|
||||
dist
|
||||
|
|
|
@ -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/'))
|
||||
});
|
||||
});
|
||||
|
|
18
package.json
18
package.json
|
@ -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"
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue