Open source personal finance application
feat(Gulp): remove
Ilya Komichev93ddbdca2b90
diff --git a/README.md b/README.mdindex ee370098..b61ec86e 100644--- a/README.md+++ b/README.md@@ -112,7 +112,7 @@ yarn dev## Production-### Compiles and minifies for production+### Generate static filesThis will give you `build` folder. You can upload files from this folder to any shared hosting.@@ -120,24 +120,6 @@ This will give you `build` folder. You can upload files from this folder to anyyarn build```-## Upload static files to server--You can add your FTP config in app's directory `ftp.config.js`--``` bash-# upload all files from dist folder-yarn upload--# upload only css, js, html files from dist folder-yarn upload-min-```-# 🤪 Stay In Touch-I would like to speak with you about Finapp. I'm looking for awesome projects.-- [My Telegram](https://t.me/ilkome)--# 📄 License--[MIT License](https://github.com/ilkome/finapp/blob/main/LICENSE)diff --git a/finapp-4.code-workspace b/finapp-4.code-workspaceindex 015f0c83..68f638dd 100644--- a/finapp-4.code-workspace+++ b/finapp-4.code-workspace@@ -1,7 +1,6 @@{"folders": [{- "name": "finapp-4","path": "."}],diff --git a/gulpfile.js b/gulpfile.jsdeleted file mode 100644index 8e9e21c2..00000000--- a/gulpfile.js+++ /dev/null@@ -1,56 +0,0 @@-const fs = require('node:fs')-const ftp = require('vinyl-ftp')-const notifier = require('node-notifier')-const { src } = require('gulp')-const log = require('fancy-log')-const notify = require('gulp-notify')-const plumber = require('gulp-plumber')--function toaster(name, cb) {- return plumber({- errorHandler: (error) => {- notify.onError({- title: name,- message: '<%= error.message %>',- })(error)- cb()- },- })-}--function uploadTask(path, cb) {- if (fs.existsSync('./ftp.config.js')) {- const conn = ftp.create({- host: 'style-nes.myjino.ru',- user: 'style-nes_finapp',- password: '5wefrfffsdfasfd',- dest: '/',- log,- parallel: 1,- })-- return src(path)- .pipe(toaster('Upload', cb))- .pipe(conn.newer('/'))- .pipe(conn.dest('/'))- }- else {- notifier.notify({- title: 'No ftp config',- message: 'Read Readme "Setup upload task" section',- })- cb()- }-}--function uploadAll(cb) {- return uploadTask('dist/**/*.*', cb)-}--function uploadMin(cb) {- return uploadTask('dist/**/*.{css,js,json,html}', cb)-}--// upload task-exports.uploadAll = uploadAll-exports.uploadMin = uploadMindiff --git a/package.json b/package.jsonindex 0ff2f9ea..9fb7e8bc 100644--- a/package.json+++ b/package.json@@ -64,9 +64,6 @@"eslint-plugin-vue": "^9.17.0","eslint-plugin-vue-pug": "^0.6.0","fancy-log": "2.0.0",- "gulp": "4.0.2",- "gulp-notify": "4.0.0",- "gulp-plumber": "1.2.1","node-notifier": "10.0.1","pug": "^3.0.2","pug-plain-loader": "^1.1.0",@@ -77,7 +74,6 @@"stylus": "0.59.0","stylus-loader": "^3.0.2","typescript": "^5.2.2",- "vinyl-ftp": "0.6.1","vitest": "^0.34.5","webpack": "4.46.0"}