-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from chameleoid/gulp
Migrate to Gulp
- Loading branch information
Showing
57 changed files
with
613 additions
and
2,827 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,17 @@ | ||
# EditorConfig is awesome: http://EditorConfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
|
||
indent_style = space | ||
indent_size = 2 | ||
|
||
quote_type = single | ||
|
||
curly_bracket_next_line = false | ||
spaces_around_operators = true | ||
spaces_around_brackets = false | ||
|
||
[*.md] | ||
max_line_length = 80 |
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,28 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": true, | ||
"mocha": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"rules": { | ||
"indent": [ | ||
"error", | ||
2, | ||
{ "SwitchCase": 1 } | ||
], | ||
"linebreak-style": [ | ||
"error", | ||
"unix" | ||
], | ||
"quotes": [ | ||
"error", | ||
"single" | ||
], | ||
"semi": [ | ||
"error", | ||
"always" | ||
] | ||
} | ||
} |
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,18 +1,7 @@ | ||
*.log | ||
*~ | ||
|
||
node_modules | ||
vendor | ||
|
||
.env | ||
build | ||
docs | ||
tmp | ||
|
||
config.json | ||
_vimrc_local.vim | ||
|
||
www/build | ||
www/v*-* | ||
www/manifest.appcache | ||
www/robots.txt | ||
www/sitemap.xml | ||
www/*.html | ||
node_modules | ||
screenshots |
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,32 +1,17 @@ | ||
{ | ||
"camelcase": true, | ||
"curly": false, | ||
"eqeqeq": false, | ||
"immed": true, | ||
"latedef": true, | ||
"newcap": true, | ||
"noarg": true, | ||
"noempty": true, | ||
"nonew": true, | ||
"quotmark": true, | ||
"undef": true, | ||
"unused": true, | ||
"strict": true, | ||
"trailing": true, | ||
"boss": true, | ||
"eqnull": true, | ||
"smarttabs": true, | ||
"sub": true, | ||
|
||
"browser": true, | ||
"node": true, | ||
"esnext": true, | ||
|
||
"globals": { | ||
"describe": false, | ||
"it": false, | ||
"before": false, | ||
"after": false, | ||
"beforeEach": false, | ||
"afterEach": false | ||
"afterEach": false, | ||
"$": false, | ||
"$$": false, | ||
"browser": 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,5 +1,22 @@ | ||
language: node_js | ||
node_js: | ||
- 0.10 | ||
before_script: | ||
- npm install -g grunt-cli | ||
node_js: 6.5.0 | ||
cache: node_modules | ||
addons: | ||
browserstack: | ||
username: | ||
secure: K4GIFsHq0q718Ya89GB67HYQDUtOBRvLqrTZzbCp/jtWCi+aF37lAaQVCeGDm+VzqQ9+W1Ws8DJzpx3BVv/tSdU6VswMGAQzwS/YEhq5B7YXzAK96NiGEBkppR1HfxNYd3T9mXC8EdcLVPvGJ/PBw4T7nCQI/uk5kHoQB1Ci4nGcfLhDFFYzb3cdSrLmhgTUPc6vyfv1Z6S188niIPNpfaRU2euEjH2nTNQOwERtB3hmcfny1nY4eg/EX2h7xZpcgzy33wXhmHff5XghbUrFZynYYtW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build/* | ||
skip_cleanup: true | ||
on: | ||
tags: 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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
exports.config = Object.assign( | ||
{ | ||
specs: [ './test/**/*.js' ], | ||
exclude: [ ], | ||
|
||
sync: true, | ||
logLevel: 'silent', | ||
coloredLogs: true, | ||
bail: 0, | ||
|
||
screenshotPath: 'screenshots', | ||
baseUrl: 'http://localhost:3000', | ||
|
||
framework: 'mocha', | ||
|
||
mochaOpts: { | ||
ui: 'bdd', | ||
}, | ||
|
||
reporters: [ 'spec' ], | ||
|
||
waitforTimeout: 60000, | ||
connectionRetryTimeout: 90000, | ||
connectionRetryCount: 3, | ||
}, | ||
|
||
(process.env.CI && process.env.BROWSERSTACK_USER) ? { | ||
services: [ 'browserstack' ], | ||
|
||
maxInstances: 1, | ||
|
||
capabilities: [ | ||
{ | ||
browserName: 'chrome', | ||
project: 'telepathy-web', | ||
'browserstack.local': true, | ||
build: process.env.TRAVIS_BUILD_NUMBER || `local-${Math.random()}` | ||
}, | ||
], | ||
|
||
browserstackLocal: true, | ||
|
||
user: process.env.BROWSERSTACK_USER, | ||
key: process.env.BROWSERSTACK_PASS, | ||
} : { | ||
services: [ 'phantomjs' ], | ||
|
||
maxInstances: 10, | ||
|
||
capabilities: [{ | ||
maxInstances: 10, | ||
browserName: 'phantomjs', | ||
}], | ||
} | ||
); |
Oops, something went wrong.