mirror of
https://github.com/ikatyang/emoji-cheat-sheet.git
synced 2024-11-22 18:33:50 +01:00
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
This commit is contained in:
parent
cbdbb470fa
commit
89d681b1e3
@ -5,7 +5,6 @@ node_js:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- yarn run lint
|
- yarn run lint
|
||||||
- yarn run format-check
|
|
||||||
- yarn run test -- --verbose --coverage
|
- yarn run test -- --verbose --coverage
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
|
21
gulpfile.ts
21
gulpfile.ts
@ -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 }),
|
|
||||||
),
|
|
||||||
);
|
|
12
package.json
12
package.json
@ -9,9 +9,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "tslint -p ./tsconfig.json",
|
"lint": "tslint -p ./tsconfig.json",
|
||||||
"test": "jest -c ./jest.json",
|
"test": "jest -c ./jest.json",
|
||||||
"generate": "ts-node ./scripts/generate.ts ./README.md",
|
"generate": "ts-node ./scripts/generate.ts ./README.md"
|
||||||
"format": "gulp format",
|
|
||||||
"format-check": "gulp format-check"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cheerio": "^0.22.0",
|
"cheerio": "^0.22.0",
|
||||||
@ -19,20 +17,14 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/cheerio": "0.22.2",
|
"@types/cheerio": "0.22.2",
|
||||||
"@types/gulp": "3.8.33",
|
|
||||||
"@types/jest": "20.0.5",
|
"@types/jest": "20.0.5",
|
||||||
"@types/node": "8.0.17",
|
"@types/node": "8.0.17",
|
||||||
"@types/prettier": "1.5.0",
|
|
||||||
"@types/request": "2.0.0",
|
"@types/request": "2.0.0",
|
||||||
"gulp": "3.9.1",
|
|
||||||
"gulp-plugin-prettier": "1.0.0",
|
|
||||||
"jest": "20.0.4",
|
"jest": "20.0.4",
|
||||||
"jest-playback": "1.0.0",
|
"jest-playback": "1.0.0",
|
||||||
"prettier": "1.5.3",
|
|
||||||
"ts-jest": "20.0.7",
|
"ts-jest": "20.0.7",
|
||||||
"ts-node": "3.3.0",
|
|
||||||
"tslint": "5.5.0",
|
"tslint": "5.5.0",
|
||||||
"tslint-config-ikatyang": "1.0.2",
|
"tslint-config-ikatyang": "2.0.1",
|
||||||
"typescript": "2.4.2"
|
"typescript": "2.4.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user