File: package.json

package info (click to toggle)
node-bootstrap-switch 3.3.4%2Bdfsg%2Breally3.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 524 kB
  • sloc: javascript: 750; makefile: 8
file content (86 lines) | stat: -rw-r--r-- 3,830 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
  "name": "bootstrap-switch",
  "description": "Turn checkboxes and radio buttons into toggle switches.",
  "version": "3.3.3",
  "keywords": [
    "bootstrap",
    "switch",
    "javascript",
    "js"
  ],
  "homepage": "http://www.bootstrap-switch.org",
  "author": "Mattia Larentis <mattia@larentis.eu> (http://larentis.eu)",
  "contributors": [
    "Emanuele Marchi <emanuele@lostcrew.it> (http://lostcrew.it)",
    "Peter Stein (http://www.bdmdesign.org)"
  ],
  "main": "dist/js/bootstrap-switch.js",
  "peerDependencies": {
    "bootstrap": "^3.1.1",
    "jquery": "^1.9.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",
    "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": "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",
    "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": {}
}