From 6a0e9938333a92bebe3a6aef610bfefc6d0d1262 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (pragmatismo.io)" Date: Sun, 11 Nov 2018 18:00:37 -0200 Subject: [PATCH] CI in progress. --- .travis.yaml | 7 +++++-- package.json | 13 ++++++------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.travis.yaml b/.travis.yaml index ba00169e..84c59e00 100644 --- a/.travis.yaml +++ b/.travis.yaml @@ -14,9 +14,12 @@ install: - npm run update-versions script: +- npm run clean - npm run build -- npm run test -- npm run tslint +- npm run build-docs +- npm run tslit +- npm run coveralls + branches: only: diff --git a/package.json b/package.json index 48107999..b22142d4 100644 --- a/package.json +++ b/package.json @@ -19,15 +19,14 @@ }, "scripts": { "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", + "build": "tsc", + "build-docs": "typedoc --options typedoc.json src/", "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": { "node": "=10.13.0"