Add a `clean` command

This commit is contained in:
JC Brand 2022-03-29 20:06:42 +02:00
parent 3f4aabf734
commit 5aad0dfe34
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
BIN ?= ./node_modules/.bin/
ESLINT ?= ./node_modules/.bin/eslint
ESLINT ?= ./node_modules/.bin/eslint
clean:
npm run clean
node_modules: package.json package-lock.json
npm i

View File

@ -4,6 +4,7 @@
"description": "Desktop Jabber/XMPP client based on Converse.js and Electron",
"main": "main.js",
"scripts": {
"clean": "rm -rf node_modules",
"postinstall": "electron-builder install-app-deps",
"start": "electron .",
"pack": "electron-builder --dir",