setup: add clean scripts

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

View File

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

View File

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