forked from gitbrent/bootstrap4-toggle
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 3.93 KB
/
Copy pathpackage.json
File metadata and controls
126 lines (126 loc) · 3.93 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "bootstrap5-toggle",
"version": "5.4.1",
"type": "module",
"author": {
"name": "Pablo Alcaraz Martínez",
"url": "https://github.com/palcarazm/"
},
"description": "Bootstrap Toggle is a bootstrap 5 plugin that converts checkboxes into toggles.",
"homepage": "https://palcarazm.github.io/bootstrap5-toggle/",
"license": "MIT",
"funding": {
"type": "GitHub Sponsors",
"url": "https://github.com/sponsors/palcarazm"
},
"browser": "js/bootstrap5-toggle.ecmas.min.js",
"style": "css/bootstrap5-toggle.min.css",
"main": "dist/bootstrap5-toggle.cjs",
"module": "dist/bootstrap5-toggle.mjs",
"types": "dist/bootstrap5-toggle.d.ts",
"typings": "dist/bootstrap5-toggle.d.ts",
"sideEffects": [
"css/*.css",
"js/*.js"
],
"files": [
"css/*",
"js/*",
"dist/*"
],
"exports": {
".": {
"types": "./dist/bootstrap5-toggle.d.ts",
"import": "./dist/bootstrap5-toggle.mjs",
"require": "./dist/bootstrap5-toggle.cjs"
},
"./css/*": "./css/*",
"./js/*": "./js/*"
},
"scripts": {
"clean": "rimraf js css dist",
"clean:tmp": "rimraf dist/tmp",
"prebuild": "npm run clean",
"build": "tsc && npm run build:js && npm run build:css",
"build:js": "rollup -c",
"build:css": "postcss src/main/css/bootstrap5-toggle.css -o css/bootstrap5-toggle.css --map && postcss src/main/css/bootstrap5-toggle.css -o css/bootstrap5-toggle.min.css --map --use cssnano && postcss src/main/css/bootstrap5-toggle.css -o dist/bootstrap5-toggle.css --map --use cssnano",
"postbuild": "npm run clean:tmp",
"watch": "concurrently \"tsc --watch\" \"rollup --watch\" \"postcss src/main/css/bootstrap5-toggle.css -o css/bootstrap5-toggle.css --map --watch\" \"postcss src/main/css/bootstrap5-toggle.css -o dist/bootstrap5-toggle.css --map --watch\"",
"preversion": "npm run lint && npm run test",
"version": "npm run build && npm run version:update && doctoc README.md --github && git add -A",
"version:update": "node scripts/update-version.js",
"postversion": "git push --follow-tags",
"prepack": "npm run build && npm run version:update && doctoc README.md --github",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "jest --coverage",
"test:e2e": "cypress run --headless",
"lint": "eslint ./src",
"prepare": "husky"
},
"keywords": [
"bootstrap",
"bootstrap5",
"bootstrap-5",
"bootstrap 5",
"bootstrap checkbox",
"bootstrap switch",
"bootstrap toggle",
"bootstrap-checkbox",
"bootstrap-switch",
"bootstrap-switch-button",
"bootstrap-toggle"
],
"repository": {
"type": "git",
"url": "https://github.com/palcarazm/bootstrap5-toggle.git"
},
"bugs": {
"url": "https://github.com/palcarazm/bootstrap5-toggle/issues"
},
"engines": {
"node": ">=22 <25",
"npm": ">=10"
},
"devDependencies": {
"@commitlint/cli": "^21.0.2",
"@commitlint/config-conventional": "^21.0.2",
"@rollup/plugin-terser": "^1.0.0",
"@types/bootstrap": "^5.2.10",
"@types/jest": "^30.0.0",
"@types/jquery": "^4.0.0",
"@types/node": "^26.0.0",
"@typescript-eslint/eslint-plugin": "^8.58.0",
"@typescript-eslint/parser": "^8.58.0",
"commitlint": "^21.0.2",
"concurrently": "^10.0.3",
"cssnano": "^8.0.2",
"cypress": "^15.8.1",
"cypress-plugin-tab": "^2.0.0",
"doctoc": "^2.2.0",
"dompurify": "^3.0.0",
"eslint": "^10.0.0",
"globals": "^17.0.0",
"husky": "^9.0.11",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"postcss": "^8.5.6",
"postcss-banner": "^4.0.1",
"postcss-cli": "^11.0.1",
"rimraf": "^6.1.3",
"rollup": "^4.54.0",
"rollup-plugin-dts": "^6.4.1",
"ts-jest": "^29.4.6",
"typescript": "^6.0.2"
},
"peerDependencies": {
"bootstrap": ">=5 <6"
},
"peerDependenciesMeta": {
"bootstrap": {
"optional": false
}
},
"optionalDependencies": {
"jquery": "^4.0.0"
}
}