Neues Initialrelease mit IonicMaterial

This commit is contained in:
Carsten Hilmer
2016-08-22 12:55:52 +02:00
parent 30a5df79aa
commit 45e482b14d
1249 changed files with 305225 additions and 68794 deletions

View File

@@ -0,0 +1,36 @@
var fs = require('fs');
var pkg = require('../package.json');
module.exports = {
banner: '/*!\n' +
' * ngCordova\n' +
' * v' + pkg.version +'\n' +
' * Copyright 2015 Drifty Co. http://drifty.com/\n' +
' * See LICENSE in this repository for license information\n' +
' */\n',
closureStart: '(function(){\n',
closureEnd: '\n})();',
dist: 'dist',
demo : {
ngCordova : 'demo/www/lib/ngCordova/dist',
lib : 'demo/www/lib',
www : 'demo/www'
},
pluginFiles: [
'src/module.js',
'src/plugins/*.js',
'src/plugins/oauth/src/*.js'
],
mockFiles: [
'src/module-mocks.js',
'src/mocks/*.js'
],
versionData: {
version: pkg.version
}
};

View File

@@ -0,0 +1,46 @@
var buildConfig = require('./build.config.js');
module.exports = {
files: [
// Include jQuery only for testing convience (lots of DOM checking for unit tests on directives)
'bower_components/angular/angular.min.js',
'bower_components/angular-mocks/angular-mocks.js',
'bower_components/jquery/dist/jquery.js',
]
.concat(buildConfig.pluginFiles)
.concat('test/plugins/*.js')
.concat(buildConfig.mockFiles)
.concat('test/mocks/*.js')
,
frameworks: ['jasmine'],
reporters: ['progress', 'coverage'],
preprocessors: {
'src/plugins/*.js': ['coverage']
},
coverageReporter: {
type : 'html',
dir : 'coverage/'
},
port: 9876,
colors: true,
// possible values: 'OFF', 'ERROR', 'WARN', 'INFO', 'DEBUG'
logLevel: 'INFO',
autoWatch: true,
captureTimeout: 60000,
singleRun: false,
// Start these browsers, currently available:
// - Chrome
// - ChromeCanary
// - Firefox
// - Opera (has to be installed with `npm install karma-opera-launcher`)
// - Safari (only Mac; has to be installed with `npm install karma-safari-launcher`)
// - PhantomJS
// - IE (only Windows; has to be installed with `npm install karma-ie-launcher`)
browsers: ['Chrome']
};