diff --git a/web/package.json b/web/package.json --- a/web/package.json +++ b/web/package.json @@ -5,10 +5,12 @@ "private": true, "license": "BSD-3-Clause", "scripts": { - "clean": "rm -rf dist/ && rm -rf node_modules/", + "clean": "rm -rf dist/ && rm -rf node_modules/ && rm -rf database/sqlite/", "dev": "yarn workspace keyserver babel-build-comm-config && yarn concurrently --names=\"NODESSR,BROWSER,WORKERS\" -c \"bgBlue.bold,bgMagenta.bold,bgCyan.bold\" \"yarn webpack --config webpack.config.cjs --config-name=server --watch\" \"yarn webpack-dev-server --config webpack.config.cjs --config-name=browser\" \"yarn webpack --config webpack.config.cjs --config-name=webworkers --watch\"", "prod": "yarn workspace keyserver babel-build-comm-config && yarn webpack --config webpack.config.cjs --env prod --progress", - "test": "jest" + "test": "jest", + "build-db-wasm": "./scripts/run_emscripten.sh", + "clean-db-wasm": "rm -rf database/_generated/ && rm -rf database/sqlite/" }, "devDependencies": { "@babel/core": "^7.13.14",