diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 4876b92f..00000000 --- a/.eslintrc +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parser": "babel-eslint", - "extends": "eslint:recommended", - "env": { - "browser": true, - "jasmine": true - }, - // currently eslint doesn't support extension-typed configs - "globals": { - "should": true, - "expect": true, - "sinon": true, - "Reflect": true - }, - "rules": { - "quotes": [2, "single"], - "no-console": 0, - "comma-spacing": 2, - "comma-style": [2, "last"], - "consistent-return": 2, - "strict": [2, "global"], - "eqeqeq": [2, "smart"], - "curly": [2, "multi-line"], - "semi-spacing": [2, {"before": false, "after": true}], - "semi": [2, "always"], - "no-extra-semi": 2, - "comma-dangle": [2, "never"], - "no-sequences": 2, - "comma-spacing": [2, {"before": false, "after": true}], - "comma-style": [2, "last"] - } -} diff --git a/build/tasks/build.js b/build/tasks/build.js index 4183af1d..6f8e285c 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -40,7 +40,6 @@ gulp.task('copyDebug', () => { gulp.task('rebuild', function(done) { return runSequence( - 'tsc', 'inlineTemplates', 'bundle', 'concatDeps', @@ -53,8 +52,8 @@ gulp.task('tsc', function() { exec('tsc -p ./tsconfig.json'); }); -gulp.task('inlineTemplates', ['sass'], function() { - return gulp.src('.tmp/lib/**/*.js', { base: './tmp' }) +gulp.task('inlineTemplates', ['tsc', 'sass'], function() { + return gulp.src('.tmp/**/*.js', { base: './tmp' }) .pipe(replace(/'(.*?)\.css'/g, '\'$1.scss\'')) .pipe(inlineNg2Template({ base: './', diff --git a/demo/index.html b/demo/index.html index 08627953..0b3bf995 100644 --- a/demo/index.html +++ b/demo/index.html @@ -4,6 +4,11 @@ ReDoc + +