Jonathan Rosenbaum
7 years ago
10 changed files with 179 additions and 13 deletions
Binary file not shown.
@ -0,0 +1,17 @@ |
|||
root = true |
|||
|
|||
[*] |
|||
charset = utf-8 |
|||
end_of_line = lf |
|||
insert_final_newline = true |
|||
trim_trailing_whitespace = true |
|||
indent_style = space |
|||
|
|||
[*.{js,json}] |
|||
indent_size = 4 |
|||
|
|||
[*.{yml}] |
|||
indent_size = 2 |
|||
|
|||
[*.md] |
|||
trim_trailing_whitespace = false |
@ -0,0 +1,4 @@ |
|||
# we don't have non-text files, don't take chances with git's text=auto |
|||
* text |
|||
# this file is read by nuget (Windows) tooling, lets keep it happy |
|||
Moment.js.nuspec eol=crlf |
@ -0,0 +1,15 @@ |
|||
node_modules/ |
|||
.DS_Store |
|||
min/moment+customlangs.js |
|||
min/moment+customlangs.min.js |
|||
sauce_connect.log |
|||
.sauce-labs.creds |
|||
npm-debug.log |
|||
.build* |
|||
build |
|||
coverage |
|||
nyc_output |
|||
.nyc_output |
|||
.coveralls.yml |
|||
.vscode/ |
|||
.idea |
@ -0,0 +1,65 @@ |
|||
{ |
|||
"requireCurlyBraces": [ |
|||
"if", |
|||
"else", |
|||
"for", |
|||
"while", |
|||
"do", |
|||
"try", |
|||
"catch" |
|||
], |
|||
"requireSpaceAfterKeywords": [ |
|||
"if", |
|||
"else", |
|||
"for", |
|||
"while", |
|||
"do", |
|||
"switch", |
|||
"return", |
|||
"try", |
|||
"catch" |
|||
], |
|||
"requireSpaceBeforeBlockStatements": true, |
|||
"requireParenthesesAroundIIFE": true, |
|||
"requireSpacesInConditionalExpression": true, |
|||
"requireSpacesInAnonymousFunctionExpression": { |
|||
"beforeOpeningRoundBrace": true, |
|||
"beforeOpeningCurlyBrace": true |
|||
}, |
|||
"requireSpacesInNamedFunctionExpression": { |
|||
"beforeOpeningCurlyBrace": true |
|||
}, |
|||
"disallowSpacesInNamedFunctionExpression": { |
|||
"beforeOpeningRoundBrace": true |
|||
}, |
|||
"requireBlocksOnNewline": true, |
|||
"disallowPaddingNewlinesInBlocks": true, |
|||
"disallowEmptyBlocks": true, |
|||
"disallowSpacesInsideObjectBrackets": true, |
|||
"disallowSpacesInsideArrayBrackets": true, |
|||
"disallowSpacesInsideParentheses": true, |
|||
"requireCommaBeforeLineBreak": true, |
|||
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], |
|||
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], |
|||
"requireSpaceBeforeBinaryOperators": [ |
|||
"=", "+=", "-=", "*=", "/=", "%=", "<<=", ">>=", ">>>=", |
|||
"&=", "|=", "^=", |
|||
|
|||
"+", "-", "*", "/", "%", "<<", ">>", ">>>", "&", |
|||
"|", "^", "&&", "||", "===", "==", ">=", |
|||
"<=", "<", ">", "!=", "!==" |
|||
], |
|||
"requireSpaceAfterBinaryOperators": true, |
|||
"requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties", |
|||
"disallowKeywords": ["with"], |
|||
"disallowMultipleLineStrings": true, |
|||
"validateIndentation": 4, |
|||
"disallowTrailingWhitespace": true, |
|||
"disallowTrailingComma": true, |
|||
"requireLineFeedAtFileEnd": true, |
|||
"requireCapitalizedConstructors": true, |
|||
"validateQuoteMarks": { |
|||
"mark": "'", |
|||
"escape": true |
|||
} |
|||
} |
@ -0,0 +1,31 @@ |
|||
{ |
|||
"node" : true, |
|||
"browser" : true, |
|||
"boss" : false, |
|||
"curly" : true, |
|||
"debug" : false, |
|||
"devel" : false, |
|||
"eqeqeq" : true, |
|||
"eqnull" : true, |
|||
"esnext" : true, |
|||
"evil" : false, |
|||
"forin" : false, |
|||
"immed" : false, |
|||
"laxbreak" : false, |
|||
"newcap" : true, |
|||
"noarg" : true, |
|||
"noempty" : false, |
|||
"nonew" : false, |
|||
"onevar" : true, |
|||
"plusplus" : false, |
|||
"regexp" : false, |
|||
"undef" : true, |
|||
"sub" : true, |
|||
"strict" : false, |
|||
"white" : true, |
|||
"es3" : false, |
|||
"camelcase" : true, |
|||
"globals": { |
|||
"define": false |
|||
} |
|||
} |
@ -0,0 +1,3 @@ |
|||
test |
|||
min/tests.js |
|||
.npmignore |
@ -0,0 +1,8 @@ |
|||
benchmarks |
|||
bower_components |
|||
meteor |
|||
min |
|||
node_modules |
|||
scripts |
|||
tasks |
|||
test |
@ -0,0 +1,25 @@ |
|||
language: node_js |
|||
node_js: |
|||
- "node" |
|||
- "7" |
|||
- "6" |
|||
- "5" |
|||
- "4" |
|||
sudo: false |
|||
|
|||
env: |
|||
global: |
|||
- secure: "M4STT2TOZxjzv3cZOgSVi0J4j6enrGjgE+p5YTNUw+S6Dg6FS5pTIPeafu1kGhfm7F0uk7xPVwGKYb+3uWNO9IhkKXz8jySMMQ2iKISHwECGNNuFNjSMD1vIjbIkLwV8TyPO/PurQg2s+WtYz+DoAZsDFKpdaRUtif64OjdQ3vQ=" |
|||
- secure: "V+i7kHoGe7VXWGplPNqJz+aDtgDF9Dh9/guoaf2BPyXLvkFW6VgMjJyoNUW7JVsakrWzAz2ubb734vAPDt7BCcFQ2BqfatOmabdFogviCaXC6IqVaEkYS2eSP7MIUPIeWJgnTrDGzkFMDk4K7y5SiVJ8UmYwZxe+tJV7kbb0Yig=" |
|||
|
|||
install: |
|||
- npm install |
|||
- npm install -g grunt-cli |
|||
|
|||
script: grunt build:travis |
|||
|
|||
git: |
|||
depth: 10 |
|||
|
|||
# TODO: Fix problem with coveralls.io not displaying autogenerated files |
|||
# after_success: npm run coveralls |
Loading…
Reference in new issue