mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(build): move to rollup for e2e, move to es6 imports and type definitions
move to rollup for e2e, move to es6 imports and type definitions
This commit is contained in:
@ -1,20 +1,19 @@
|
||||
import { task, src } from 'gulp';
|
||||
|
||||
import * as scsslint from 'gulp-scss-lint';
|
||||
import * as tslint from 'gulp-tslint';
|
||||
|
||||
task('lint', ['lint.sass', 'lint.ts']);
|
||||
|
||||
|
||||
task('lint.ts', () => {
|
||||
const tslint = require('gulp-tslint');
|
||||
return src([
|
||||
'src/**/*.ts'
|
||||
]).pipe(tslint())
|
||||
.pipe(tslint.report('verbose'));
|
||||
]).pipe(tslint({
|
||||
formatter: 'verbose'
|
||||
}))
|
||||
.pipe(tslint.report());
|
||||
});
|
||||
|
||||
|
||||
task('lint.sass', function() {
|
||||
const scsslint = require('gulp-scss-lint');
|
||||
return src([
|
||||
'src/**/*.scss',
|
||||
'!src/components/*/test/**/*',
|
||||
|
Reference in New Issue
Block a user