get rid of Gulp for simple tasks such as deletion of the build dir

This commit is contained in:
Dmytro Meleshko 2021-07-13 19:06:15 +03:00 committed by Keanu
parent 31c68a5d09
commit 73278b7e88
Signed by: keanucode
GPG key ID: A7431C0D513CA93B
3 changed files with 4 additions and 4952 deletions

View file

@ -1,3 +0,0 @@
const gulp = require("gulp");
const del = require("del");
gulp.task("default", () => del(["dist/**/*"]));

4946
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -4,12 +4,12 @@
"description": "TravBot Discord bot.",
"main": "dist/index.js",
"scripts": {
"build": "gulp && tsc --project tsconfig.prod.json && npm prune --production",
"build": "rimraf dist && tsc --project tsconfig.prod.json && npm prune --production",
"start": "node .",
"once": "tsc && npm start",
"dev": "tsc-watch --onSuccess \"npm run dev-instance\"",
"dev-fast": "tsc-watch --onSuccess \"node . dev\"",
"dev-instance": "gulp && tsc && node . dev",
"dev-instance": "rimraf dist && tsc && node . dev",
"test": "jest",
"format": "prettier --write **/*",
"postinstall": "husky install"
@ -40,11 +40,10 @@
"@types/ms": "^0.7.31",
"@types/node": "^14.14.20",
"@types/ws": "^7.4.0",
"del": "^6.0.0",
"gulp": "^4.0.2",
"husky": "^5.0.6",
"jest": "^26.6.3",
"prettier": "2.1.2",
"rimraf": "^3.0.2",
"ts-jest": "^26.4.4",
"tsc-watch": "^4.2.9",
"typescript": "^3.9.7"