diff --git a/package.json b/package.json index 78651b87..b50592d6 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "module": "packages/js-moi/lib.esm/index.js", "scripts": { "clean": "find . -type d \\( -name 'lib.cjs' -o -name 'lib.esm' \\) -exec rm -rf {} +", - "build": "npm run clean && npm run build", + "build": "npm run clean && tsc -b && rm -rf dist", "watch": "tsc -b -w", "test": "jest --env=node --colors --verbose", "test:coverage": "jest --coverage --env=node --colors --verbose",