forked from Bttstrp/bootstrap-switch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 4.1 KB
/
package.json
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "bootstrap-switch",
"description": "Turn checkboxes and radio buttons into toggle switches.",
"version": "3.3.4",
"keywords": [
"bootstrap",
"switch",
"javascript",
"js"
],
"homepage": "https://bttstrp.github.io/bootstrap-switch",
"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": "^3.1.1",
"jquery": ">=1.9.0"
},
"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.23.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.0.1",
"regenerator-runtime": "^0.11.1",
"wintersmith": "^2.3.6"
},
"scripts": {
"js:lint": "eslint src/js/",
"js:test": "jest",
"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",
"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": {
"setupFiles": [
"./src/setup-test.js"
]
}
}