compile before test
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublish": "esbuild --outdir=dist/js --format=esm --bundle --minify --sourcemap --sources-content src/*",
|
"prepublish": "esbuild --outdir=dist/js --format=esm --bundle --minify --sourcemap --sources-content src/*",
|
||||||
"publish": "wrangler pages deploy dist --project-name twitch-subathon-countdown --branch=sugoi",
|
"publish": "wrangler pages deploy dist --project-name twitch-subathon-countdown --branch=sugoi",
|
||||||
|
"pretest": "npm run prepublish",
|
||||||
"test": "wrangler pages dev dist --ip=localhost"
|
"test": "wrangler pages dev dist --ip=localhost"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user