2017-07-05 11:26:25 +00:00
|
|
|
#!/bin/bash
|
2016-04-30 09:17:50 +00:00
|
|
|
|
2017-06-25 11:51:19 +00:00
|
|
|
npm run build:server
|
|
|
|
|
2016-04-30 09:17:50 +00:00
|
|
|
cd client || exit -1
|
2017-04-26 19:52:49 +00:00
|
|
|
npm test || exit -1
|
2016-04-30 09:17:50 +00:00
|
|
|
|
|
|
|
cd .. || exit -1
|
2017-07-05 11:26:25 +00:00
|
|
|
npm run tslint -- --type-check --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" || exit -1
|
2017-09-04 19:21:47 +00:00
|
|
|
mocha --require ts-node/register --bail server/tests/index.ts
|