Skip to content

Instantly share code, notes, and snippets.

@icfantv
Created September 1, 2016 01:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icfantv/c8109cfdeae0ce49cdfa73e3964fbc0e to your computer and use it in GitHub Desktop.
Save icfantv/c8109cfdeae0ce49cdfa73e3964fbc0e to your computer and use it in GitHub Desktop.
ng2 rc.6 update
module.exports = function(config) {
config.set({
basePath: '',
frameworks: ['jasmine'],
files: [
// For travis
'node_modules/core-js/client/shim.js',
'node_modules/ie-shim/index.js',
'node_modules/reflect-metadata/Reflect.js',
// paths loaded by Karma
'node_modules/systemjs/dist/system-polyfills.js',
'node_modules/systemjs/dist/system.src.js',
'node_modules/zone.js/dist/zone.js',
'node_modules/zone.js/dist/sync-test.js',
'node_modules/zone.js/dist/async-test.js',
'node_modules/zone.js/dist/fake-async-test.js',
'node_modules/zone.js/dist/proxy.js',
'node_modules/zone.js/dist/jasmine-patch.js',
{pattern: 'node_modules/rxjs/**/*.js', included: false, watched: false},
{pattern: 'node_modules/rxjs/**/*.js.map', included: false, watched: false},
{pattern: 'karma-test-shim.js', included: true, watched: true},
{pattern: 'node_modules/@angular/**/*.js', included: false, watched: true},
{pattern: 'node_modules/@angular/**/*.js.map', included: false, watched: true},
// paths loaded via module imports
{pattern: 'temp/**/*.js', included: false, watched: true},
// paths to support debugging with source maps in dev tools
{pattern: 'src/**/*.ts', included: false, watched: false},
{pattern: 'temp/**/*.js.map', included: false, watched: false}
],
preprocessors: {'temp/**/*.js': ['sourcemap']},
customLaunchers: {
'SL_CHROME': {
base: 'SauceLabs',
browserName: 'chrome',
version: '52'
},
'SL_FIREFOX': {
base: 'SauceLabs',
browserName: 'firefox',
version: '46'
},
'SL_IE9': {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows 2008',
version: '9'
},
'SL_IE10': {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows 2012',
version: '10'
},
'SL_IE11': {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows 8.1',
version: '11'
},
'SL_EDGE': {
base: 'SauceLabs',
browserName: 'MicrosoftEdge',
platform: 'Windows 10',
version: '13.10586'
},
'SL_SAFARI9': {
base: 'SauceLabs',
browserName: 'safari',
platform: 'OS X 10.11',
version: '9.0'
}
},
sauceLabs: {
testName: 'ng-bootstrap',
retryLimit: 3,
startConnect: false,
recordVideo: false,
recordScreenshots: false,
options: {
'selenium-version': '2.53.0',
'command-timeout': 600,
'idle-timeout': 600,
'max-duration': 5400
}
},
reporters: ['progress'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
singleRun: false,
captureTimeout: 60000,
browserDisconnectTimeout: 60000,
browserDisconnectTolerance: 3,
browserNoActivityTimeout: 60000
});
};
{
"name": "ng-bootstrap",
"version": "1.0.0-alpha.3",
"description": "Angular 2 powered Bootstrap",
"keywords": "Angular 2 Angular2 Bootstrap autocomplete accordion alert buttons carousel collapse dropdown pagination popover progressbar rating tabset timepicker tooltip typeahead",
"author": "https://github.com/ng-bootstrap/ng-bootstrap/graphs/contributors",
"main": "dist/index.js",
"scripts": {
"install": "node misc/validate-commit.install.js",
"test": "karma start karma.conf.js",
"typings": "typings",
"api-doc-tdd": "jasmine-node misc/api-doc.spec.js --autotest --watch misc/api-doc-test-cases/*.ts misc/api-doc.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ng-bootstrap/ng-bootstrap.git"
},
"license": {
"type": "MIT",
"url": "https://raw.githubusercontent.com/ng-bootstrap/ng-bootstrap/master/LICENSE"
},
"bugs": {
"url": "https://github.com/ng-bootstrap/ng-bootstrap/issues"
},
"homepage": "https://github.com/ng-bootstrap/ng-bootstrap#readme",
"dependencies": {
"@angular/core": "v2.0.0-rc.6",
"@angular/common": "v2.0.0-rc.6",
"@angular/forms": "v2.0.0-rc.6"
},
"devDependencies": {
"@angular/compiler": "v2.0.0-rc.6",
"@angular/http": "v2.0.0-rc.6",
"@angular/platform-browser": "v2.0.0-rc.6",
"@angular/platform-browser-dynamic": "v2.0.0-rc.6",
"@angular/router": "v3.0.0-rc.2",
"angular2-template-loader": "^0.4.0",
"angulartics2": "^1.1.2",
"autoprefixer": "^6.3.6",
"bootstrap": "^4.0.0-alpha.3",
"clang-format": "1.0.35",
"classlist-polyfill": "^1.0.3",
"copy-webpack-plugin": "^3.0.1",
"core-js": "^2.4.1",
"css-loader": "^0.23.1",
"del": "^2.0.2",
"extract-text-webpack-plugin": "^1.0.1",
"file-loader": "^0.9.0",
"glob": "^7.0.4",
"gulp": "^3.9.0",
"gulp-clang-format": "^1.0.21",
"gulp-conventional-changelog": "^1.1.0",
"gulp-ddescribe-iit": "^1.3.0",
"gulp-file": "^0.3.0",
"gulp-gh-pages": "^0.5.4",
"gulp-shell": "^0.5.1",
"gulp-sourcemaps": "^1.6.0",
"gulp-tslint": "^6.0.1",
"gulp-typescript": "^2.9.2",
"gulp-util": "^3.0.6",
"html-loader": "^0.4.3",
"html-webpack-plugin": "^2.16.1",
"ie-shim": "^0.1.0",
"jasmine": "^2.5.0",
"jasmine-core": "^2.5.0",
"jasmine-node": "^1.14.5",
"karma": "^1.1.1",
"karma-chrome-launcher": "^1.0.1",
"karma-firefox-launcher": "^1.0.0",
"karma-jasmine": "^1.0.2",
"karma-sauce-launcher": "^1.0.0",
"karma-sourcemap-loader": "^0.3.6",
"merge2": "^1.0.1",
"mkdirp": "^0.5.1",
"node-sass": "^3.7.0",
"postcss-loader": "^0.9.1",
"prismjs": "^1.5.1",
"prismjs-loader": "0.0.3",
"raw-loader": "^0.5.1",
"reflect-metadata": "0.1.3",
"run-sequence": "^1.1.4",
"rxjs": "5.0.0-beta.11",
"sass-loader": "^4.0.0",
"style-loader": "^0.13.1",
"systemjs": "^0.19.26",
"ts-loader": "^0.8.2",
"tslint": "^3.8.1",
"typescript": "^1.8.10",
"typings": "^1.3.0",
"url-loader": "^0.5.7",
"webpack": "^1.12.2",
"webpack-dev-server": "^1.14.1",
"zone.js": "0.6.17"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment