aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-12-22 22:20:23 -0800
committerMark Otto <[email protected]>2013-12-22 22:20:23 -0800
commit45a8a9508ed8c2cced5e8ce0b21ef3fd11fe6e15 (patch)
treed85c91605864a2a54f796589d4409ba878b378f0
parent90ba7fa83665b380619e38c371f1077187a513e0 (diff)
parentb27fecb7a39cbc27ed3a0e4c30adee1f82aadc14 (diff)
downloadbootstrap-45a8a9508ed8c2cced5e8ce0b21ef3fd11fe6e15.tar.xz
bootstrap-45a8a9508ed8c2cced5e8ce0b21ef3fd11fe6e15.zip
Merge pull request #11974 from XhmikosR/meta
Normalize meta
-rw-r--r--bower.json12
-rw-r--r--js/.jscs.json14
-rw-r--r--package.json18
3 files changed, 27 insertions, 17 deletions
diff --git a/bower.json b/bower.json
index 63616ee39..b29c2702b 100644
--- a/bower.json
+++ b/bower.json
@@ -2,8 +2,8 @@
"name": "bootstrap",
"version": "3.1.0",
"main": [
- "./dist/js/bootstrap.js",
"./dist/css/bootstrap.css",
+ "./dist/js/bootstrap.js",
"./dist/fonts/glyphicons-halflings-regular.eot",
"./dist/fonts/glyphicons-halflings-regular.svg",
"./dist/fonts/glyphicons-halflings-regular.ttf",
@@ -11,14 +11,14 @@
],
"ignore": [
"**/.*",
+ "*.html",
"_*",
- "docs-assets",
- "examples",
- "js/tests",
"CNAME",
- "CONTRIBUTING.md",
"composer.json",
- "*.html"
+ "CONTRIBUTING.md",
+ "docs-assets",
+ "examples",
+ "js/tests"
],
"dependencies": {
"jquery": ">= 1.9.0"
diff --git a/js/.jscs.json b/js/.jscs.json
index e8210ccde..c4cac13de 100644
--- a/js/.jscs.json
+++ b/js/.jscs.json
@@ -1,15 +1,15 @@
{
- "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
- "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
+ "disallowKeywords": ["with"],
"requireLeftStickedOperators": [","],
"disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
- "requireRightStickedOperators": ["!"],
"disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
- "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
+ "requireLineFeedAtFileEnd": true,
+ "requireRightStickedOperators": ["!"],
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
- "disallowKeywords": ["with"],
- "validateLineBreaks": "LF",
- "requireLineFeedAtFileEnd": true
+ "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
+ "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
+ "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
+ "validateLineBreaks": "LF"
}
diff --git a/package.json b/package.json
index 64f7b5e46..5de55a58f 100644
--- a/package.json
+++ b/package.json
@@ -2,10 +2,15 @@
"name": "bootstrap",
"description": "Sleek, intuitive, and powerful front-end framework for faster and easier web development.",
"version": "3.1.0",
- "keywords": ["bootstrap", "css"],
+ "keywords": [
+ "bootstrap",
+ "css"
+ ],
"homepage": "http://getbootstrap.com",
"author": "Twitter, Inc.",
- "scripts": { "test": "grunt test" },
+ "scripts": {
+ "test": "grunt test"
+ },
"repository": {
"type": "git",
"url": "https://github.com/twbs/bootstrap.git"
@@ -43,13 +48,18 @@
},
"jspm": {
"main": "js/bootstrap",
- "directories": { "lib": "dist" },
+ "directories": {
+ "example": "examples",
+ "lib": "dist"
+ },
"shim": {
"js/bootstrap": {
"imports": "jquery",
"exports": "$"
}
},
- "buildConfig": { "uglify": true }
+ "buildConfig": {
+ "uglify": true
+ }
}
}