diff --git a/.vscode/launch.json b/.vscode/launch.json index b9993ebe..3296354c 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,11 +5,9 @@ "type": "node", "request": "launch", "name": "Launch Client", - "program": "${workspaceFolder}/packages/status-js/src/debug.ts", + "program": "${workspaceFolder}/packages/status-js/src/index.ts", "preLaunchTask": "npm: build:status-js", - "outFiles": [ - "${workspaceFolder}/packages/status-js/dist/index.js" - ], + "outFiles": ["${workspaceFolder}/packages/status-js/dist/index.js"], "sourceMaps": true, "smartStep": true, "internalConsoleOptions": "openOnSessionStart", diff --git a/package.json b/package.json index c3f7aecc..2716c564 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "prepare": "husky install", "fix": "run-s 'fix:*' && wsrun -e -c -s fix", "build": "wsrun -e -c -s build", - "build:status-js": "yarn workspace @status-im/js debug", + "build:status-js": "yarn workspace @status-im/js build", "build:status-react": "yarn workspace @status-im/react build", "lint": "eslint 'packages/**/*.{ts,tsx}'", "lint:fix": "eslint 'packages/**/*.{ts,tsx}' --fix", diff --git a/packages/status-js/package.json b/packages/status-js/package.json index 141f0c3b..d6c66a11 100644 --- a/packages/status-js/package.json +++ b/packages/status-js/package.json @@ -26,7 +26,6 @@ "prebuild": "rm -rf dist", "dev": "parcel", "build": "parcel build", - "debug": "parcel build src/debug.ts --dist-dir output", "build:vite": "vite build", "build:types": "tsc --emitDeclarationOnly", "build:protos": "protons protos/*.proto",