1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-15 17:50:48 +02:00

fix: add prepare script

This commit is contained in:
Ivar Conradi Østhus 2021-02-12 11:28:33 +01:00
parent 247a98c7c6
commit ce4af6502b
No known key found for this signature in database
GPG Key ID: 31AC596886B0BD09

View File

@ -34,8 +34,9 @@
"db-migrate": "db-migrate --migrations-dir ./src/migrations",
"lint": "eslint ./src",
"build:watch": "tsc -w",
"build:ts": "tsc",
"test": "yarn build:ts && NODE_ENV=test PORT=4243 ava",
"build": "tsc",
"prepare": "yarn run build",
"test": "yarn build && NODE_ENV=test PORT=4243 ava",
"test:docker": "./scripts/docker-postgres.sh",
"test:watch": "yarn test --watch",
"test:coverage": "nyc --reporter=lcov yarn test",