setup: add clean scripts

This commit is contained in:
Pavel Prichodko 2022-04-18 16:54:40 +02:00
parent 5cd02e8d64
commit a361820b24
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
2 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,8 @@
"test": "mocha",
"proto": "run-s 'proto:*'",
"proto:lint": "buf lint",
"proto:build": "buf generate"
"proto:build": "buf generate",
"clean": "rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"bn.js": "^5.2.0",

View File

@ -21,7 +21,8 @@
"build:types": "tsc --emitDeclarationOnly",
"typecheck": "tsc --noEmit",
"lint": "eslint src",
"format": "prettier --write src"
"format": "prettier --write src",
"clean": "rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"@hcaptcha/react-hcaptcha": "^1.0.0",