Skip to content

Commit 7b9cde2

Browse files
authored
Merge pull request #61 from ufabc-next/chore/replace-gulp
Remover gulp
2 parents 8fe7082 + 66c12a2 commit 7b9cde2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1800
-16963
lines changed

.babelrc

Lines changed: 0 additions & 15 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ npm-debug.log
66

77
dist/
88
packages/
9+
extension

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v16.13.2
1+
v20.10.0

gulpfile.babel.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

package.json

Lines changed: 20 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -4,78 +4,40 @@
44
"version": "1.1.7",
55
"description": "Adiciona funcionalidades novas ao sistema de matricula da UFABC",
66
"scripts": {
7-
"serve": "node server/app.js",
8-
"start": "yarn build && yarn serve",
9-
"deploy": "caprover deploy",
10-
"build": "yarn build:chrome",
11-
"build:chrome": "gulp pack --production --vendor=chrome",
12-
"build:firefox": "gulp pack --production --vendor=firefox",
13-
"build:opera": "gulp pack --production --vendor=opera",
14-
"build:edge": "gulp pack --production --vendor=edge",
15-
"dev": "yarn dev:chrome",
16-
"staging": "gulp --watch --staging --vendor=chrome",
17-
"dev:chrome": "gulp --watch --vendor=chrome",
18-
"dev:firefox": "gulp --watch --vendor=firefox",
19-
"dev:opera": "gulp --watch --vendor=opera",
20-
"dev:edge": "gulp --watch --vendor=edge",
21-
"lint": "standard"
7+
"dev": "rimraf extension/dev && run-p dev:*",
8+
"dev:prepare": "node --no-warnings=ExperimentalWarning tasks/prepare.dev.mjs dev",
9+
"dev:web": "vite",
10+
"dev:js": "yarn run build:dev --watch src",
11+
"build": "NODE_ENV=prod run-s clear build:web build:prepare build:prod",
12+
"build:prepare": "node tasks/prepare.prod.mjs build",
13+
"build:web": "vite build",
14+
"build:dev": "tsup src/scripts/background.js src/scripts/contentscript.js --target=node20 --format iife --out-dir extension/dev/dist --no-splitting --onSuccess 'node --no-warnings=ExperimentalWarning tasks/mvsw.dev.mjs'",
15+
"build:prod": "tsup src/scripts/background.js src/scripts/contentscript.js --target=node20 --minify --format iife --out-dir extension/prod/dist --no-splitting --onSuccess 'node --no-warnings=ExperimentalWarning tasks/mvsw.prod.mjs'",
16+
"clear": "rimraf extension/prod"
2217
},
2318
"standard": {
2419
"globals": [
2520
"chrome"
2621
]
2722
},
2823
"devDependencies": {
29-
"babel-cli": "6.x.x",
30-
"babel-core": "6.x.x",
31-
"babel-loader": "7.x.x",
32-
"babel-preset-env": "1.x.x",
33-
"chai": "4.x.x",
34-
"chromereload": "0.x.x",
35-
"debounce": "1.x.x",
36-
"del": "3.x.x",
37-
"gulp": "4.x.x",
38-
"gulp-bump": "2.x.x",
39-
"gulp-cache": "0.x.x",
40-
"gulp-clean-css": "^3.x.x",
41-
"gulp-filter": "^5.x.x",
42-
"gulp-git": "^2.x.x",
43-
"gulp-if": "2.x.x",
44-
"gulp-imagemin": "4.x.x",
45-
"gulp-json-transform": "0.x.x",
46-
"gulp-less": "3.x.x",
47-
"gulp-livereload": "3.x.x",
48-
"gulp-plumber": "1.x.x",
49-
"gulp-sass": "5.1.0",
50-
"gulp-sequence": "1.x.x",
51-
"gulp-sourcemaps": "^2.x.x",
52-
"gulp-tag-version": "1.x.x",
53-
"gulp-util": "3.x.x",
54-
"gulp-zip": "^4.x.x",
55-
"require-dir": "0.x.x",
56-
"sass": "^1.59.3",
57-
"standard": "^10.0.2",
58-
"vinyl-named": "1.x.x",
59-
"webpack": "3.x.x",
60-
"webpack-stream": "3.x.x",
61-
"yargs": "^8.x.x"
24+
"@vitejs/plugin-vue2": "^2.3.1",
25+
"chokidar": "^3.6.0",
26+
"fs-extra": "^11.2.0",
27+
"kolorist": "^1.8.0",
28+
"npm-run-all": "^4.1.5",
29+
"rimraf": "^5.0.5",
30+
"tsup": "^8.0.1",
31+
"vite": "^5.1.1"
6232
},
6333
"dependencies": {
6434
"autoprefixer": "^9.3.1",
6535
"axios": "^0.17.0",
66-
"babel-plugin-transform-runtime": "^6.23.0",
67-
"babel-preset-es2015": "^6.24.1",
68-
"bluebird": "^3.5.1",
6936
"caprover": "^1.2.0",
7037
"compression": "^1.7.3",
7138
"cors": "^2.8.5",
72-
"css-loader": "^1.0.1",
7339
"element-ui": "^2.4.11",
7440
"express": "^4.16.4",
75-
"extract-text-webpack-plugin": "^3.0.2",
76-
"gulp-cssimport": "^6.0.1",
77-
"gulp-rename": "^1.2.2",
78-
"gulp-vueify": "^0.0.3",
7941
"highcharts": "^6.2.0",
8042
"is_js": "^0.9.0",
8143
"jquery": "^3.2.1",
@@ -86,19 +48,13 @@
8648
"postcss-load-config": "1.0.0",
8749
"postcss-loader": "1.0.0",
8850
"postcss-url": "8.0.0",
89-
"style-loader": "^0.23.1",
9051
"toastify-js": "^1.9.0",
9152
"toastr": "^2.1.4",
92-
"url-loader": "^1.1.2",
93-
"vue": "2.5.17",
94-
"vue-loader": "^15.3.0",
95-
"vue-style-loader": "^4.1.2",
96-
"vue-template-compiler": "2.5.17",
53+
"vue": "2.7.0",
9754
"vue2-highcharts": "^1.2.5",
9855
"vuedraggable": "^2.16.0",
9956
"vueify": "^9.4.1",
10057
"vueify-insert-css": "^1.0.0",
101-
"vuetify": "1.2.6",
102-
"webui-popover": "^1.2.18"
58+
"vuetify": "1.2.6"
10359
}
10460
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)