unleash-server
v4.0.2 unleash feature toggle feature toggle
lint
eslint ./src
test
yarn build && NODE_ENV=test PORT=4243 ava
build
yarn run copy-templates && tsc --pretty
clean
rimraf dist/
start
node ./dist/server.js
prepare
yarn run build
start:dev
NODE_ENV=development tsc-watch --onSuccess "node dist/server-dev.js"
db-migrate
db-migrate --migrations-dir ./src/migrations
test:watch
yarn test --watch
build:watch
tsc -w
test:docker
./scripts/docker-postgres.sh
test:coverage
nyc --reporter=lcov yarn test
copy-templates
copyfiles -u 1 src/mailtemplates/**/*.mustache dist/
test:coverage-report
nyc report --reporter=text-lcov | coveralls