Skip to content

Commit

Permalink
feat: update default configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
pathurs committed May 23, 2019
1 parent 74d1be8 commit f361156
Show file tree
Hide file tree
Showing 9 changed files with 197 additions and 1,402 deletions.
11 changes: 10 additions & 1 deletion default/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@
src/

# Build
build
build/
gulpfile.ts
tslint.json
tsconfig.json

# Test Coverage
coverage/

# Documentation
documentation/

# VSCode Settings
.vscode/
8 changes: 3 additions & 5 deletions default/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ language: node_js
node_js:
- "10"

install: npm install
install:
- npm install

before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
Expand All @@ -24,11 +25,8 @@ after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
- greenkeeper-lockfile-upload

before_deploy:
- gulp distribute

deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release
- gulp distribute
4 changes: 3 additions & 1 deletion default/gulpfile.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
import '@colonise/config/gulpfile';
import * as Gulpfile from '@colonise/config/gulpfile';

export = Gulpfile;
54 changes: 2 additions & 52 deletions default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"test": "gulp test",
"coverage": "gulp coverage",
"debug": "gulp debug",
"pack": "npm pack",
"dist": "gulp distribute"
"distribute": "gulp distribute"
},
"repository": {
"type": "git",
Expand All @@ -28,58 +27,9 @@
},
"homepage": "https://github.com/Colonise/CHANGEME#readme",
"devDependencies": {
"@colonise/config": "latest",
"@semantic-release/changelog": "^3.0.1",
"@semantic-release/git": "^7.0.5",
"@semantic-release/github": "^5.2.1",
"@semantic-release/npm": "^5.0.5",
"@types/del": "3.0.1",
"@types/gulp": "4.0.5",
"@types/gulp-istanbul": "^0.9.32",
"@types/merge-stream": "^1.1.2",
"@types/stream-to-promise": "^2.2.0",
"alsatian": "^2.3.0",
"del": "^3.0.0",
"gulp": "^3.9.1",
"gulp-istanbul": "^1.1.3",
"gulp-merge": "^0.1.1",
"gulp-sourcemaps": "^2.6.4",
"gulp-tslint": "^8.1.3",
"gulp-typescript": "^4.0.2",
"merge-stream": "^1.0.1",
"nyc": "^12.0.2",
"semantic-release": "^15.10.7",
"stream-to-promise": "^2.2.0",
"ts-node": "^7.0.1",
"tsgulp": "^1.1.2",
"tslint": "^5.11.0",
"typescript": "^3.1.6"
"@colonise/config": "latest"
},
"dependencies": {
"tslib": "^1.9.3"
},
"nyc": {
"check-coverage": true,
"per-file": true,
"include": [
"dist/**/*.js"
],
"exclude": [
"dist/**/*.spec.js",
"dist/**/index.js"
],
"reporter": [
"lcov",
"html"
],
"require": [],
"extension": [
".js"
],
"cache": true,
"all": true
},
"release": {
"extends": "@colonise/config/semantic-release"
}
}
7 changes: 3 additions & 4 deletions default/src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"target": "es5"
},
"include": ["./**/*.ts"]
"include": [
"./**/*.ts"
]
}
3 changes: 1 addition & 2 deletions default/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"extends": "./node_modules/@colonise/config/tsconfig",
"include": ["gulpfile.ts"]
"extends": "./node_modules/@colonise/config/tsconfig"
}
Loading

0 comments on commit f361156

Please sign in to comment.