get rid of Gulp for simple tasks such as deletion of the build dir
This commit is contained in:
parent
31c68a5d09
commit
73278b7e88
|
@ -1,3 +0,0 @@
|
||||||
const gulp = require("gulp");
|
|
||||||
const del = require("del");
|
|
||||||
gulp.task("default", () => del(["dist/**/*"]));
|
|
File diff suppressed because it is too large
Load Diff
|
@ -4,12 +4,12 @@
|
||||||
"description": "TravBot Discord bot.",
|
"description": "TravBot Discord bot.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "gulp && tsc --project tsconfig.prod.json && npm prune --production",
|
"build": "rimraf dist && tsc --project tsconfig.prod.json && npm prune --production",
|
||||||
"start": "node .",
|
"start": "node .",
|
||||||
"once": "tsc && npm start",
|
"once": "tsc && npm start",
|
||||||
"dev": "tsc-watch --onSuccess \"npm run dev-instance\"",
|
"dev": "tsc-watch --onSuccess \"npm run dev-instance\"",
|
||||||
"dev-fast": "tsc-watch --onSuccess \"node . dev\"",
|
"dev-fast": "tsc-watch --onSuccess \"node . dev\"",
|
||||||
"dev-instance": "gulp && tsc && node . dev",
|
"dev-instance": "rimraf dist && tsc && node . dev",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"format": "prettier --write **/*",
|
"format": "prettier --write **/*",
|
||||||
"postinstall": "husky install"
|
"postinstall": "husky install"
|
||||||
|
@ -40,11 +40,10 @@
|
||||||
"@types/ms": "^0.7.31",
|
"@types/ms": "^0.7.31",
|
||||||
"@types/node": "^14.14.20",
|
"@types/node": "^14.14.20",
|
||||||
"@types/ws": "^7.4.0",
|
"@types/ws": "^7.4.0",
|
||||||
"del": "^6.0.0",
|
|
||||||
"gulp": "^4.0.2",
|
|
||||||
"husky": "^5.0.6",
|
"husky": "^5.0.6",
|
||||||
"jest": "^26.6.3",
|
"jest": "^26.6.3",
|
||||||
"prettier": "2.1.2",
|
"prettier": "2.1.2",
|
||||||
|
"rimraf": "^3.0.2",
|
||||||
"ts-jest": "^26.4.4",
|
"ts-jest": "^26.4.4",
|
||||||
"tsc-watch": "^4.2.9",
|
"tsc-watch": "^4.2.9",
|
||||||
"typescript": "^3.9.7"
|
"typescript": "^3.9.7"
|
||||||
|
|
Loading…
Reference in New Issue