-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
590 changed files
with
16,770 additions
and
16,605 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"env": { | ||
"development": { | ||
"presets": ["es2015", "stage-2"], | ||
"comments": false | ||
}, | ||
"production": { | ||
"presets": ["es2015-rollup"], | ||
"comments": false | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"ignore": [ | ||
"**/*dependencies*", | ||
"dist/**" | ||
"dist/**", | ||
"test/**", | ||
"dev/**" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
module.exports = { | ||
root: true, | ||
parserOptions: { | ||
sourceType: 'module' | ||
}, | ||
env: { | ||
browser: true | ||
}, | ||
globals: { | ||
'__THEME': true, | ||
'Velocity': true | ||
}, | ||
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style | ||
extends: 'standard', | ||
// required to lint *.vue files | ||
plugins: [ | ||
'html' | ||
], | ||
// add your custom rules here | ||
'rules': { | ||
'arrow-parens': 0, | ||
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0, | ||
'one-var': 0, | ||
'brace-style': [2, 'stroustrup', { 'allowSingleLine': true }] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
/node_modules | ||
/dist | ||
/coverage | ||
/preview/node_modules | ||
preview/coverage | ||
/preview/dist | ||
/preview/wrapper/platforms/* | ||
/preview/wrapper/plugins | ||
.DS_Store | ||
node_modules/ | ||
dist/ | ||
npm-debug.log | ||
test/unit/coverage/ | ||
test/e2e/dist/ | ||
cordova |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* eslint-disable */ | ||
require('eventsource-polyfill') | ||
var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true') | ||
|
||
hotClient.subscribe(function (event) { | ||
if (event.action === 'reload') { | ||
window.location.reload() | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
var webpackConfig = require('./webpack.test.config') | ||
|
||
delete webpackConfig.entry | ||
webpackConfig.devtool = 'inline-source-map' | ||
|
||
// shared config for all unit tests | ||
module.exports = { | ||
frameworks: ['jasmine'], | ||
files: [ | ||
'../test/unit/lib/jquery.js', | ||
'../test/unit/index.js' | ||
], | ||
preprocessors: { | ||
'../test/unit/index.js': ['webpack', 'sourcemap'] | ||
}, | ||
webpack: webpackConfig, | ||
webpackMiddleware: { | ||
noInfo: true | ||
}, | ||
singleRun: true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
var | ||
assign = require('object-assign'), | ||
base = require('./karma.base.config.js') | ||
|
||
module.exports = function (config) { | ||
var options = assign(base, { | ||
browsers: ['PhantomJS'], | ||
reporters: ['progress', 'coverage'], | ||
coverageReporter: { | ||
reporters: [ | ||
{ type: 'lcov', dir: '../test/unit/coverage', subdir: '.' }, | ||
{ type: 'text-summary', dir: '../test/unit/coverage', subdir: '.' } | ||
] | ||
} | ||
}) | ||
|
||
config.set(options) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
|
||
/** | ||
* Having too many tests running concurrently on saucelabs | ||
* causes timeouts and errors, so we have to run them in | ||
* smaller batches. | ||
*/ | ||
|
||
var | ||
assign = require('object-assign'), | ||
base = require('./karma.base.config.js'), | ||
batches = [ | ||
// the cool kids | ||
{ | ||
sl_chrome: { | ||
base: 'SauceLabs', | ||
browserName: 'chrome', | ||
platform: 'Windows 7' | ||
}, | ||
sl_firefox: { | ||
base: 'SauceLabs', | ||
browserName: 'firefox' | ||
}, | ||
sl_mac_safari: { | ||
base: 'SauceLabs', | ||
browserName: 'safari', | ||
platform: 'OS X 10.10' | ||
} | ||
}, | ||
// ie family | ||
{ | ||
sl_ie_9: { | ||
base: 'SauceLabs', | ||
browserName: 'internet explorer', | ||
platform: 'Windows 7', | ||
version: '9' | ||
}, | ||
sl_ie_10: { | ||
base: 'SauceLabs', | ||
browserName: 'internet explorer', | ||
platform: 'Windows 8', | ||
version: '10' | ||
}, | ||
sl_ie_11: { | ||
base: 'SauceLabs', | ||
browserName: 'internet explorer', | ||
platform: 'Windows 8.1', | ||
version: '11' | ||
} | ||
}, | ||
// mobile | ||
{ | ||
sl_ios_safari: { | ||
base: 'SauceLabs', | ||
browserName: 'iphone', | ||
platform: 'OS X 10.9', | ||
version: '7.1' | ||
}, | ||
sl_android: { | ||
base: 'SauceLabs', | ||
browserName: 'android', | ||
platform: 'Linux', | ||
version: '4.2' | ||
} | ||
} | ||
] | ||
|
||
module.exports = function (config) { | ||
var batch = batches[process.argv[4] || 0] | ||
|
||
config.set(assign(base, { | ||
browsers: Object.keys(batch), | ||
customLaunchers: batch, | ||
reporters: ['progress', 'saucelabs'], | ||
sauceLabs: { | ||
testName: 'Quasar Framework unit tests', | ||
recordScreenshots: false, | ||
build: process.env.CIRCLE_BUILD_NUM || process.env.SAUCE_BUILD_ID || Date.now() | ||
}, | ||
// mobile emulators are really slow | ||
captureTimeout: 300000, | ||
browserNoActivityTimeout: 300000 | ||
})) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
var | ||
assign = require('object-assign'), | ||
base = require('./karma.base.config.js') | ||
|
||
module.exports = function (config) { | ||
config.set(assign(base, { | ||
browsers: ['Chrome', 'Firefox'], | ||
reporters: ['progress'] | ||
})) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
var theme = process.argv[2] || 'mat' | ||
|
||
module.exports = { | ||
theme: theme, | ||
cordovaAssets: './cordova/platforms/' + (theme === 'mat' ? 'android' : 'ios') + '/platform_www' | ||
} |
Oops, something went wrong.