mirror of
https://github.com/NASAWorldWind/WebWorldWind.git
synced 2026-01-25 15:23:04 +00:00
* Extend package.json with additional metadata Add command scripts in package.json Update the dev dependencies Update GruntSetup.txt, which should be moved to README.md eventually * Remove unused third party libraries * Remove build.js use ‘npm run build’ or ‘grunt’ instead * Start cleaning the root folder (test-main.js) * Updated markdown build guide to reflect the new streamlined build process - Added package-lock.json file generated by npm. It is suggested to commit it into the repository. See: https://docs.npmjs.com/files/package-lock.json - Removed build.js from Gruntfile.js. It's unnecessary now thanks to the new build process. - package.json had spaces in "type" and "url" declarations that were automatically removed in build process. - Added .idea/ folder to .gitignore. Consider removing the folder from the repository altogether. * Removed zip file compress task from build process. * Removed grunt-contrib-compress node module from package.json - The module is an unused dependency now, since we're not going to backup the whole codebase + artifacts in a zip file anymore. * Removed .idea/ folder mistakenly added to .gitignore. - Only files that are unrelated to run configurations are added to gitignore. * Further corrections to .gitignore. Removed WebWorldWind.zip reference. * Further corrections to .gitignore. Removed WebWorldWind.zip reference. * .gitignore cleanup. .iml file correction.
73 lines
1.8 KiB
JavaScript
73 lines
1.8 KiB
JavaScript
// Karma configuration
|
|
// Generated on Thu Feb 04 2016 14:07:41 GMT+0100 (CET)
|
|
|
|
module.exports = function(config) {
|
|
config.set({
|
|
|
|
// base path that will be used to resolve all patterns (eg. files, exclude)
|
|
basePath: '',
|
|
|
|
|
|
// frameworks to use
|
|
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
|
|
frameworks: ['jasmine', 'requirejs'],
|
|
|
|
|
|
// list of files / patterns to load in the browser
|
|
files: [
|
|
'test/test-main.js',
|
|
{pattern: 'test/**/*.test.js', included: false},
|
|
{pattern: 'src/**/*.js', included: false},
|
|
{pattern: 'examples/data/KML_Samples.kml', included: false}
|
|
],
|
|
|
|
|
|
// list of files to exclude
|
|
exclude: [
|
|
],
|
|
|
|
|
|
// preprocess matching files before serving them to the browser
|
|
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
|
|
preprocessors: {
|
|
},
|
|
|
|
|
|
// test results reporter to use
|
|
// possible values: 'dots', 'progress'
|
|
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
|
|
reporters: ['progress'],
|
|
|
|
|
|
// web server port
|
|
port: 9876,
|
|
|
|
|
|
// enable / disable colors in the output (reporters and logs)
|
|
colors: true,
|
|
|
|
|
|
// level of logging
|
|
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
|
|
logLevel: config.LOG_INFO,
|
|
|
|
|
|
// enable / disable watching file and executing tests whenever any file changes
|
|
autoWatch: true,
|
|
|
|
|
|
// start these browsers
|
|
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
|
browsers: ['PhantomJS'],
|
|
|
|
|
|
// Continuous Integration mode
|
|
// if true, Karma captures browsers, runs the tests and exits
|
|
singleRun: false,
|
|
|
|
// Concurrency level
|
|
// how many browser should be started simultaneous
|
|
concurrency: Infinity
|
|
})
|
|
};
|