Added test command on prepublish

This commit is contained in:
Alexander Cerutti
2023-04-29 15:29:27 +02:00
parent aae6617fa7
commit ced8b71b5b

View File

@@ -7,7 +7,7 @@
"build": "npm run build:src",
"build:all": "npm run build:src && npm run build:examples",
"build:src": "rimraf lib && npx tsc -p tsconfig.dist.json",
"prepublishOnly": "npm run build",
"prepublishOnly": "npm run build && npm run test",
"test": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" jest -c jest.config.cjs --silent"
},
"author": "Alexander Patrick Cerutti",