CI in progress.

This commit is contained in:
Rodrigo Rodriguez (pragmatismo.io) 2018-11-11 18:00:37 -02:00
parent bc46284de5
commit 6a0e993833
2 changed files with 11 additions and 9 deletions

View file

@ -14,9 +14,12 @@ install:
- npm run update-versions - npm run update-versions
script: script:
- npm run clean
- npm run build - npm run build
- npm run test - npm run build-docs
- npm run tslint - npm run tslit
- npm run coveralls
branches: branches:
only: only:

View file

@ -19,15 +19,14 @@
}, },
"scripts": { "scripts": {
"clean": "rimraf dist", "clean": "rimraf dist",
"start": "node ./dist/src/app.js",
"startIde": "npm-run-all clean --parallel watch:build watch:server --print-label",
"watch:build": "tsc --watch",
"build": "tsc",
"watch:server": "nodemon './dist/index.js' --watch './dist'",
"build-docs": "typedoc --options typedoc.json src/",
"tslint": "tslint ./packages/*/src/**/*.ts -t verbose", "tslint": "tslint ./packages/*/src/**/*.ts -t verbose",
"build": "tsc",
"build-docs": "typedoc --options typedoc.json src/",
"test": "nyc --reporter=html --reporter=text mocha -r ts-node/register packages/**/*.test.ts ", "test": "nyc --reporter=html --reporter=text mocha -r ts-node/register packages/**/*.test.ts ",
"coveralls": "npm run test && nyc report --reporter=text-lcov | coveralls" "coveralls": "npm run test && nyc report --reporter=text-lcov | coveralls",
"start": "node ./dist/src/app.js",
"watch:build": "tsc --watch",
"watch:server": "nodemon './dist/index.js' --watch './dist'"
}, },
"engines": { "engines": {
"node": "=10.13.0" "node": "=10.13.0"