Browse Source

Add banner command

Emanuele 8 years ago
parent
commit
c821695a47

+ 9 - 0
dist/css/bootstrap2/bootstrap-switch.css

@@ -1,3 +1,12 @@
+/**
+  * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
+  *
+  * @version v3.3.2
+  * @homepage http://www.bootstrap-switch.org
+  * @author Mattia Larentis <[email protected]> (http://larentis.eu)
+  * @license Apache-2.0
+  */
+
 .clearfix {
   *zoom: 1;
 }

File diff suppressed because it is too large
+ 9 - 0
dist/css/bootstrap2/bootstrap-switch.min.css


+ 9 - 0
dist/css/bootstrap3/bootstrap-switch.css

@@ -1,3 +1,12 @@
+/**
+  * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
+  *
+  * @version v3.3.2
+  * @homepage http://www.bootstrap-switch.org
+  * @author Mattia Larentis <[email protected]> (http://larentis.eu)
+  * @license Apache-2.0
+  */
+
 .bootstrap-switch {
   display: inline-block;
   direction: ltr;

File diff suppressed because it is too large
+ 9 - 0
dist/css/bootstrap3/bootstrap-switch.min.css


+ 9 - 0
dist/js/bootstrap-switch.js

@@ -1,3 +1,12 @@
+/**
+  * bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
+  *
+  * @version v3.3.2
+  * @homepage http://www.bootstrap-switch.org
+  * @author Mattia Larentis <[email protected]> (http://larentis.eu)
+  * @license Apache-2.0
+  */
+
 'use strict';
 
 var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

File diff suppressed because it is too large
+ 9 - 0
dist/js/bootstrap-switch.min.js


+ 4 - 3
package.json

@@ -31,8 +31,8 @@
     "babel-polyfill": "^6.22.0",
     "babel-preset-babili": "^0.0.10",
     "babel-preset-env": "^1.1.8",
-    "banner-cli": "^0.10.1",
     "bootstrap": "^3.3.7",
+    "headr": "0.0.4",
     "jasmine": "^2.5.3",
     "jasmine-core": "^2.5.2",
     "jquery": "^1.12.4",
@@ -53,12 +53,13 @@
     "js:build:dir": "mkdir -p dist/js",
     "js:build:base": "babel -o dist/js/bootstrap-switch.js src/js/bootstrap-switch.js",
     "js:build:min": "NODE_ENV=production babel -o dist/js/bootstrap-switch.min.js src/js/bootstrap-switch.js",
-    "js:build:banner": "banner-cli dist/js/*.js",
+    "js:build:banner": "headr dist/js/bootstrap-switch.js -o dist/js/bootstrap-switch.js --version --homepage --author --license && headr dist/js/bootstrap-switch.min.js -o dist/js/bootstrap-switch.min.js --version --homepage --author --license",
     "js:build": "npm-run-all js:build:dir -p js:build:base js:build:min -s js:build:banner",
     "js": "run-s js:lint js:test js:build",
     "css:build:base": "lessc src/less/bootstrap2/build.less dist/css/bootstrap2/bootstrap-switch.css && lessc src/less/bootstrap3/build.less dist/css/bootstrap3/bootstrap-switch.css",
     "css:build:min": "lessc --clean-css='--advanced' src/less/bootstrap2/build.less dist/css/bootstrap2/bootstrap-switch.min.css && lessc --clean-css='--advanced' src/less/bootstrap3/build.less dist/css/bootstrap3/bootstrap-switch.min.css",
-    "css:build": "run-p css:build:*",
+    "css:build:banner": "headr dist/css/bootstrap2/bootstrap-switch.css -o dist/css/bootstrap2/bootstrap-switch.css --version --homepage --author --license && headr dist/css/bootstrap2/bootstrap-switch.min.css -o dist/css/bootstrap2/bootstrap-switch.min.css --version --homepage --author --license && headr dist/css/bootstrap3/bootstrap-switch.css -o dist/css/bootstrap3/bootstrap-switch.css --version --homepage --author --license && headr dist/css/bootstrap3/bootstrap-switch.min.css -o dist/css/bootstrap3/bootstrap-switch.min.css --version --homepage --author --license",
+    "css:build": "npm-run-all css:build:base css:build:min -p css:build:banner",
     "css": "run-s css:build",
     "clean": "rm -rf dist",
     "lint": "run-p js:lint",

Some files were not shown because too many files changed in this diff