12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- {
- "name": "bootstrap-switch",
- "description": "Turn checkboxes and radio buttons into toggle switches.",
- "version": "4.0.0-alpha.1",
- "keywords": [
- "bootstrap",
- "switch",
- "javascript",
- "js"
- ],
- "homepage": "http://www.bootstrap-switch.org",
- "author": "Mattia Larentis <[email protected]> (http://larentis.eu)",
- "contributors": [
- "Emanuele Marchi <[email protected]> (http://lostcrew.it)",
- "Peter Stein (http://www.bdmdesign.org)"
- ],
- "main": "dist/js/bootstrap-switch.js",
- "peerDependencies": {
- "bootstrap": ">=4",
- "jquery": ">=1.9.0",
- "tether": "^1.4.0"
- },
- "repository": {
- "type": "git",
- "url": "git://github.com/nostalgiaz/bootstrap-switch.git"
- },
- "bugs": "https://github.com/nostalgiaz/bootstrap-switch/issues",
- "license": "Apache-2.0",
- "readmeFilename": "README.md",
- "devDependencies": {
- "babel-cli": "^6.22.2",
- "babel-polyfill": "^6.22.0",
- "babel-preset-babili": "^0.0.10",
- "babel-preset-env": "^1.1.8",
- "bootstrap": "^3.3.7",
- "harp": "^0.23.0",
- "headr": "0.0.4",
- "jasmine": "^2.5.3",
- "jasmine-core": "^2.5.2",
- "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",
- "node-sass": "^4.5.0",
- "npm-run-all": "^4.0.1",
- "standard": "^8.6.0",
- "wintersmith": "^2.3.6"
- },
- "scripts": {
- "js:lint": "standard src/js/**/*.js",
- "js:test": "mkdir -p test && babel -d test src/js && karma start karma.conf.js",
- "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": "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": "node-sass src/scss/build.scss dist/css/bootstrap-switch.css",
- "css:build:min": "node-sass --output-style=compressed src/scss/build.scss dist/css/bootstrap-switch.min.css",
- "css:build:banner": "headr dist/css/bootstrap-switch.css -o dist/css/bootstrap-switch.css --version --homepage --author --license && headr dist/css/bootstrap-switch.min.css -o dist/css/bootstrap-switch.min.css --version --homepage --author --license",
- "css:build": "npm-run-all -p css:build:base css:build:min -s css:build:banner",
- "css": "run-p css:build",
- "clean": "rm -rf dist",
- "lint": "run-p js:lint",
- "test": "run-p js:test",
- "build": "run-p *:build",
- "docs": "harp compile src/docs docs",
- "prepublish": "run-s clean lint test build docs",
- "start": "run-s prepublish"
- },
- "npmName": "bootstrap-switch",
- "npmFileMap": [
- {
- "basePath": "/dist/",
- "files": [
- "*.js",
- "css/bootstrap3/*.css",
- "css/bootstrap2/*.css"
- ]
- }
- ],
- "dependencies": {}
- }
|