Skip to content

Commit

Permalink
fix(build): update linting, testing and tools
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Sep 2, 2015
1 parent e563f63 commit 6ab627d
Show file tree
Hide file tree
Showing 7 changed files with 11,627 additions and 30 deletions.
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "./node_modules/aurelia-tools/.eslintrc"
}
3 changes: 0 additions & 3 deletions .jshintrc

This file was deleted.

8 changes: 4 additions & 4 deletions build/tasks/lint.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
var gulp = require('gulp');
var paths = require('../paths');
var jshint = require('gulp-jshint');
var stylish = require('jshint-stylish');
var eslint = require('gulp-eslint');

gulp.task('lint', function() {
return gulp.src(paths.source)
.pipe(jshint())
.pipe(jshint.reporter(stylish));
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failOnError());
});
28 changes: 15 additions & 13 deletions config.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
System.config({
"transpiler": "babel",
"babelOptions": {
defaultJSExtensions: true,
transpiler: "babel",
babelOptions: {
"optional": [
"runtime",
"es7.decorators"
]
},
"paths": {
"*": "*.js",
"github:*": "jspm_packages/github/*.js",
"aurelia-templating/*": "dist/*.js",
"npm:*": "jspm_packages/npm/*.js"
}
});
paths: {
"github:*": "jspm_packages/github/*",
"aurelia-templating/*": "dist/*",
"npm:*": "jspm_packages/npm/*"
},

System.config({
"map": {
map: {
"aurelia-binding": "github:aurelia/[email protected]",
"aurelia-dependency-injection": "github:aurelia/[email protected]",
"aurelia-html-template-element": "github:aurelia/[email protected]",
Expand All @@ -26,7 +24,7 @@ System.config({
"aurelia-task-queue": "github:aurelia/[email protected]",
"babel": "npm:[email protected]",
"babel-runtime": "npm:[email protected]",
"core-js": "npm:core-js@0.9.18",
"core-js": "npm:core-js@1.1.3",
"github:aurelia/[email protected]": {
"aurelia-dependency-injection": "github:aurelia/[email protected]",
"aurelia-metadata": "github:aurelia/[email protected]",
Expand Down Expand Up @@ -55,7 +53,11 @@ System.config({
"fs": "github:jspm/[email protected]",
"process": "github:jspm/[email protected]",
"systemjs-json": "github:systemjs/[email protected]"
},
"npm:[email protected]": {
"fs": "github:jspm/[email protected]",
"process": "github:jspm/[email protected]",
"systemjs-json": "github:systemjs/[email protected]"
}
}
});

Loading

0 comments on commit 6ab627d

Please sign in to comment.