fix(CI): Migrating CI logic to package.json.

This commit is contained in:
Rodrigo Rodriguez (pragmatismo.io) 2018-11-18 21:28:26 -02:00
parent 0884c63bc8
commit 8ee048f68e
5 changed files with 17 additions and 21 deletions

View file

@ -2,7 +2,7 @@
.coveralls.yml
.env
.npmrc
.nyc_output
# WILLSHIP .nyc_output
coverage
# WILLSHIP dist
guaribas.log

View file

@ -5,18 +5,11 @@ node_js:
notifications:
email: false
before_install:
- npm install --global nyc mocha shx
install:
- npm install
before_script:
- npm run build
script:
- npm run build-docs
- npm run coveralls
branches:
@ -28,7 +21,6 @@ branches:
after_success:
- npm run travis-deploy-once "npm run semantic-release"
- npm run typedoc
- npm pack
deploy:

9
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "botserver",
"version": "1.0.0",
"version": "1.0.7",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -5926,8 +5926,7 @@
"es6-object-assign": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/es6-object-assign/-/es6-object-assign-1.1.0.tgz",
"integrity": "sha1-wsNYJlYkfDnqEHyx5mUrb58kUjw=",
"dev": true
"integrity": "sha1-wsNYJlYkfDnqEHyx5mUrb58kUjw="
},
"es6-promise": {
"version": "4.2.5",
@ -16883,7 +16882,6 @@
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/shx/-/shx-0.3.2.tgz",
"integrity": "sha512-aS0mWtW3T2sHAenrSrip2XGv39O9dXIFUqxAEWHEOS1ePtGIBavdPJY1kE2IHl14V/4iCbUiNDPGdyYTtmhSoA==",
"dev": true,
"requires": {
"es6-object-assign": "^1.0.3",
"minimist": "^1.2.0",
@ -16893,8 +16891,7 @@
"minimist": {
"version": "1.2.0",
"resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
"dev": true
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ="
}
}
},

View file

@ -24,7 +24,9 @@
"scripts": {
"clean": "shx rm -rf node_modules/ dist/ docs/reference",
"tslint": "tslint --fix ./src/*.ts ./packages/**/*.ts -t verbose",
"build": "tsc",
"build": "npm install && npm run build-server && npm run build-gbui && npm run build-docs",
"build-server": "tsc",
"build-gbui": "cd packages/default.gbui && npm install && npm run build",
"build-docs": "typedoc --options typedoc.json src/",
"test": "nyc --reporter=html --reporter=text mocha -r ts-node/register packages/**/*.test.ts ",
"pretest": "npm run build",
@ -93,6 +95,7 @@
"scanf": "^1.0.2",
"sequelize": "4.41.2",
"sequelize-typescript": "0.6.6",
"shx": "^0.3.2",
"simple-git": "^1.107.0",
"sqlite3": "4.0.4",
"strict-password-generator": "^1.1.1",
@ -134,7 +137,6 @@
"pre-git": "3.17.1",
"prettier-standard": "8.0.1",
"semantic-release": "^15.12.0",
"shx": "^0.3.2",
"standard": "12.0.1",
"travis-deploy-once": "5.0.9",
"ts-loader": "^5.3.0",

View file

@ -5698,7 +5698,8 @@
},
"ansi-regex": {
"version": "2.1.1",
"bundled": true
"bundled": true,
"optional": true
},
"aproba": {
"version": "1.2.0",
@ -6063,7 +6064,8 @@
},
"safe-buffer": {
"version": "5.1.1",
"bundled": true
"bundled": true,
"optional": true
},
"safer-buffer": {
"version": "2.1.2",
@ -6111,6 +6113,7 @@
"strip-ansi": {
"version": "3.0.1",
"bundled": true,
"optional": true,
"requires": {
"ansi-regex": "^2.0.0"
}
@ -6149,11 +6152,13 @@
},
"wrappy": {
"version": "1.0.2",
"bundled": true
"bundled": true,
"optional": true
},
"yallist": {
"version": "3.0.2",
"bundled": true
"bundled": true,
"optional": true
}
}
},