{ "name": "bootstrap-switch", "description": "Turn checkboxes and radio buttons into toggle switches.", "version": "3.4.0", "keywords": [ "bootstrap", "switch", "javascript", "js" ], "homepage": "https://bttstrp.github.io/bootstrap-switch", "author": "Mattia Larentis (http://larentis.eu)", "contributors": [ "Emanuele Marchi (http://lostcrew.it)", "Peter Stein (http://www.bdmdesign.org)" ], "main": "dist/js/bootstrap-switch.js", "peerDependencies": { "bootstrap": "^4.3.1", "jquery": ">=1.12.4" }, "repository": { "type": "git", "url": "git://github.com/Bttstrp/bootstrap-switch.git" }, "bugs": "https://github.com/Bttstrp/bootstrap-switch/issues", "license": "MIT", "readmeFilename": "README.md", "devDependencies": { "babel-cli": "^6.22.2", "babel-core": "^6.26.0", "babel-eslint": "^7.2.3", "babel-jest": "^22.4.3", "babel-polyfill": "^6.22.0", "babel-preset-babili": "^0.0.10", "babel-preset-env": "^1.1.8", "babel-preset-stage-0": "^6.24.1", "bootstrap": "^3.3.7", "eslint": "^3.19.0", "eslint-config-airbnb-base": "^11.2.0", "eslint-plugin-import": "^2.2.0", "harp": "^0.30.0", "headr": "0.0.4", "jasmine": "^2.5.3", "jasmine-core": "^2.5.2", "jest": "^22.4.3", "jquery": "^1.12.4", "karma": "^1.4.1", "karma-babel-preprocessor": "^6.0.1", "karma-cli": "^1.0.1", "karma-firefox-launcher": "^1.0.0", "karma-jasmine": "^1.1.0", "karma-phantomjs-launcher": "^1.0.2", "less": "^2.7.2", "less-plugin-clean-css": "^1.5.0", "npm-run-all": "^4.1.5", "regenerator-runtime": "^0.11.1", "wintersmith": "^2.3.6" }, "scripts": { "js:lint": "eslint src/js/", "js:test": "jest", "js:build:dir": "mkdir \"dist/js\"", "js:build:base": "babel -o dist/js/bootstrap-switch.js src/js/bootstrap-switch.js", "js:build:min": "set NODE_ENV=production && babel -o dist/js/bootstrap-switch.min.js src/js/bootstrap-switch.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:clean": "rm -rf \"dist/js\"", "js": "run-s js:clean 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: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-p css:build", "docs:build": "harp compile src/docs docs", "docs": "run-p docs:build", "publish-docs": "git subtree push --prefix docs origin gh-pages", "clean": "rm -rf dist", "lint": "run-p js:lint", "test": "run-p js:test", "build": "run-p *:build", "prepublish": "run-s clean lint test build", "start": "run-s prepublish" }, "npmName": "bootstrap-switch", "npmFileMap": [ { "basePath": "/dist/", "files": [ "*.js", "css/bootstrap3/*.css", "css/bootstrap2/*.css" ] } ], "dependencies": {}, "jest": { "testURL": "http://localhost/", "setupFiles": [ "./src/setup-test.js" ] } }