Update composer autoload-dev and gulp script
This commit is contained in:
parent
544a6ae56a
commit
fc83b1ba0a
@ -35,19 +35,7 @@
|
||||
},
|
||||
"autoload-dev": {
|
||||
"classmap": [
|
||||
"tests",
|
||||
"database"
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"post-install-cmd": [
|
||||
"php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
|
||||
"Illuminate\\Foundation\\ComposerScripts::postInstall",
|
||||
"php artisan optimize"
|
||||
],
|
||||
"post-update-cmd": [
|
||||
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
|
||||
"php artisan optimize"
|
||||
"tests"
|
||||
]
|
||||
},
|
||||
"config": {
|
||||
|
@ -7,6 +7,7 @@ var gulp = require('gulp'),
|
||||
sass = require('gulp-sass'),
|
||||
cleanCss = require('gulp-clean-css'),
|
||||
del = require('del'),
|
||||
exec = require('gulp-exec'),
|
||||
concat = require('gulp-concat'),
|
||||
zip = require('gulp-zip'),
|
||||
replace = require('gulp-batch-replace'),
|
||||
@ -175,9 +176,7 @@ gulp.task('zip', () => {
|
||||
'!.bowerrc',
|
||||
'!.gitignore',
|
||||
'!.git/**/*.*',
|
||||
'!.git/',
|
||||
'!.github/**/*.*',
|
||||
'!.github/',
|
||||
'!.gitmodules',
|
||||
'!.gitattributes',
|
||||
'!gulpfile.js',
|
||||
@ -199,6 +198,7 @@ gulp.task('zip', () => {
|
||||
'!vendor/symfony/css-selector/**/*.*',
|
||||
'!vendor/symfony/dom-crawler/**/*.*'
|
||||
], { dot: true })
|
||||
.pipe(exec('composer dump-autoload --no-dev'))
|
||||
.pipe(zip(zipPath))
|
||||
.pipe(notify('Don\'t forget to compile Sass & ES2015 files before publishing a release!'))
|
||||
.pipe(gulp.dest('../'))
|
||||
|
@ -29,6 +29,7 @@
|
||||
"gulp-clean-css": "^3.6.0",
|
||||
"gulp-concat": "^2.6.1",
|
||||
"gulp-eslint": "^4.0.0",
|
||||
"gulp-exec": "^2.1.3",
|
||||
"gulp-notify": "^3.0.0",
|
||||
"gulp-sass": "^3.1.0",
|
||||
"gulp-uglify": "^3.0.0",
|
||||
|
10
yarn.lock
10
yarn.lock
@ -1903,6 +1903,14 @@ gulp-eslint@^4.0.0:
|
||||
eslint "^4.0.0"
|
||||
gulp-util "^3.0.8"
|
||||
|
||||
gulp-exec@^2.1.3:
|
||||
version "2.1.3"
|
||||
resolved "http://registry.npm.taobao.org/gulp-exec/download/gulp-exec-2.1.3.tgz#460a4ec8df86841d1738bc74958c68e5769342d9"
|
||||
dependencies:
|
||||
gulp-util "^3.0.7"
|
||||
gulplog "^1.0.0"
|
||||
through2 "^2.0.1"
|
||||
|
||||
gulp-notify@^3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "http://registry.npm.taobao.org/gulp-notify/download/gulp-notify-3.0.0.tgz#a04b8af9acdbe4e63c845678ce0c3d30694c59a3"
|
||||
@ -1935,7 +1943,7 @@ gulp-uglify@^3.0.0:
|
||||
uglify-js "^3.0.5"
|
||||
vinyl-sourcemaps-apply "^0.2.0"
|
||||
|
||||
gulp-util@3.0.8, gulp-util@^3.0, gulp-util@^3.0.0, gulp-util@^3.0.8:
|
||||
gulp-util@3.0.8, gulp-util@^3.0, gulp-util@^3.0.0, gulp-util@^3.0.7, gulp-util@^3.0.8:
|
||||
version "3.0.8"
|
||||
resolved "http://registry.npm.taobao.org/gulp-util/download/gulp-util-3.0.8.tgz#0054e1e744502e27c04c187c3ecc505dd54bbb4f"
|
||||
dependencies:
|
||||
|
Loading…
Reference in New Issue
Block a user