Add a `clean` command
This commit is contained in:
parent
3f4aabf734
commit
5aad0dfe34
5
Makefile
5
Makefile
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue