Modernization of build environment, better linting, adjustment after stricter static rules, cleanup of package.json

This commit is contained in:
knsv
2015-10-17 12:46:36 +02:00
parent 632a564158
commit 315923d1d3
33 changed files with 21673 additions and 21181 deletions

View File

@@ -9,7 +9,7 @@ module.exports = function (config) {
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine'],
frameworks: ['browserify', 'jasmine'],
// list of files / patterns to load in the browser
@@ -17,11 +17,20 @@ module.exports = function (config) {
'../src/**/*.js'
],
preprocessors: {
'../src/**/*.js': [ 'babel','browserify' ]
},
// list of files to exclude
exclude: ['../src/backup/**/*.js'],
"babelPreprocessor": {
// options go here
},
browserify: {
debug: true,
//transform: [ 'brfs' ]
},
// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor