Remove gulp
parent
64ef31ad20
commit
2af603b9df
34
gulpfile.js
34
gulpfile.js
|
@ -1,34 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
var gulp = require('gulp'),
|
||||
concat = require('gulp-concat'),
|
||||
uglifycss = require('gulp-uglifycss'),
|
||||
rename = require('gulp-rename'),
|
||||
flatten = require('gulp-flatten');
|
||||
|
||||
/** @deprecated */
|
||||
gulp.task('build-css', function () {
|
||||
return gulp
|
||||
.src(['./components/lib/common/Common.css', './components/**/*.css'])
|
||||
.pipe(concat('primevue.css'))
|
||||
.pipe(gulp.dest('dist/resources'))
|
||||
.pipe(uglifycss({ uglyComments: true }))
|
||||
.pipe(rename('primevue.min.css'))
|
||||
.pipe(gulp.dest('dist/resources'));
|
||||
});
|
||||
|
||||
gulp.task('build-primevuecss', function () {
|
||||
return gulp.src(['./assets/styles/primevue.css']).pipe(concat('primevue.css')).pipe(gulp.dest('dist/resources')).pipe(rename('primevue.min.css')).pipe(gulp.dest('dist/resources'));
|
||||
});
|
||||
|
||||
gulp.task('build-themes', function () {
|
||||
return gulp.src(['public/themes/**/*']).pipe(gulp.dest('dist/resources/themes'));
|
||||
});
|
||||
|
||||
/** @deprecated */
|
||||
gulp.task('images', function () {
|
||||
return gulp.src(['./components/lib/**/images/*.png', './components/lib/**/images/*.gif']).pipe(flatten()).pipe(gulp.dest('dist/resources/images'));
|
||||
});
|
||||
|
||||
//Building project with run sequence
|
||||
gulp.task('build-styles', gulp.series('build-themes', 'build-primevuecss'));
|
File diff suppressed because it is too large
Load Diff
|
@ -14,7 +14,7 @@
|
|||
"preview": "nuxt preview",
|
||||
"postinstall": "nuxt prepare",
|
||||
"build:lib": "npm run build:check && npm run build:package",
|
||||
"build:package": "NODE_ENV=production rollup -c && node build-meta && node api-generator/build-api && gulp build-styles",
|
||||
"build:package": "NODE_ENV=production rollup -c && node build-meta && node api-generator/build-api",
|
||||
"build:check": "npm run format:check && npm run security:check",
|
||||
"security:check": "npm audit --production --audit-level high",
|
||||
"format": "prettier --write \"**/*.{js,vue,d.ts}\" --cache",
|
||||
|
@ -56,12 +56,6 @@
|
|||
"eslint-plugin-nuxt": "^4.0.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-vue": "^9.4.0",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-concat": "^2.6.0",
|
||||
"gulp-flatten": "^0.4.0",
|
||||
"gulp-rename": "^2.0.0",
|
||||
"gulp-uglify": "^3.0.2",
|
||||
"gulp-uglifycss": "^1.0.6",
|
||||
"jsdom": "^19.0.0",
|
||||
"nuxt": "3.3.2",
|
||||
"prettier": "2.7.1",
|
||||
|
|
Loading…
Reference in New Issue