chore(deps): Update tslint-config-ikatyang from 1.0.2 to 2.0.1 (#19)

* Update tslint-config-ikatyang from 1.0.2 to 2.0.1

* chore: remove gulp-plugin-prettier related things
pull/20/head
dependencies[bot] 2017-07-31 00:34:31 +08:00 committed by Ika
parent cbdbb470fa
commit 89d681b1e3
4 changed files with 85 additions and 828 deletions

View File

@ -5,7 +5,6 @@ node_js:
script:
- yarn run lint
- yarn run format-check
- yarn run test -- --verbose --coverage
after_success:

View File

@ -1,21 +0,0 @@
import * as gulp from 'gulp';
import * as prettier from 'gulp-plugin-prettier';
import * as prettier_options from 'tslint-config-ikatyang/prettier';
// tslint:disable-next-line:no-var-requires
const sources = require('./tsconfig.json').include;
gulp.task('format', () =>
gulp
.src(sources)
.pipe(prettier.format(prettier_options, { filter: true }))
.pipe(gulp.dest(file => file.base)),
);
gulp.task('format-check', () =>
gulp
.src(sources)
.pipe(
prettier.format(prettier_options, { reporter: prettier.Reporter.Error }),
),
);

View File

@ -9,9 +9,7 @@
"scripts": {
"lint": "tslint -p ./tsconfig.json",
"test": "jest -c ./jest.json",
"generate": "ts-node ./scripts/generate.ts ./README.md",
"format": "gulp format",
"format-check": "gulp format-check"
"generate": "ts-node ./scripts/generate.ts ./README.md"
},
"dependencies": {
"cheerio": "^0.22.0",
@ -19,20 +17,14 @@
},
"devDependencies": {
"@types/cheerio": "0.22.2",
"@types/gulp": "3.8.33",
"@types/jest": "20.0.5",
"@types/node": "8.0.17",
"@types/prettier": "1.5.0",
"@types/request": "2.0.0",
"gulp": "3.9.1",
"gulp-plugin-prettier": "1.0.0",
"jest": "20.0.4",
"jest-playback": "1.0.0",
"prettier": "1.5.3",
"ts-jest": "20.0.7",
"ts-node": "3.3.0",
"tslint": "5.5.0",
"tslint-config-ikatyang": "1.0.2",
"tslint-config-ikatyang": "2.0.1",
"typescript": "2.4.2"
}
}

879
yarn.lock

File diff suppressed because it is too large Load Diff