add prepublish

This commit is contained in:
cupcakearmy 2022-10-18 14:09:53 +02:00
parent 70093a4ba8
commit ef44dab3bc
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F

View File

@ -44,7 +44,8 @@
"dev": "run-p -ln dev:*",
"dev:build": "tsc -w -p tsconfig.esm.json",
"dev:test:node": "mocha --parallel --watch",
"dev:test:browser": "karma start .karma.cjs"
"dev:test:browser": "karma start .karma.cjs",
"prepublishOnly": "run-s clean build"
},
"devDependencies": {
"@endyjasmi/karma-playwright-launcher": "^0.0.4",