forked from trasherdk/bootstrap-dark-5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 5.96 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "bootstrap-dark-5",
"version": "1.0.2",
"description": "The Ancillary Guide to Dark Mode and Bootstrap 5 - A continuation of the v4 Dark Mode POC",
"main": "",
"scripts": {
"start": "npm-run-all --parallel serve watch",
"test": "npm-run-all lint dist",
"lint": "npm-run-all --parallel css-lint js-lint",
"dist": "npm-run-all --parallel css js docs",
"build": "echo \"Deprecated: Use `npm run dist`\" && npm-run-all dist",
"DISABLED_serve": "browser-sync start --server --files [\"dist/css/*.css\", \"dist/js/*.ts\", \"examples/*.*\", \"*.html\"]",
"serve": "browser-sync start --server",
"css": "npm-run-all css-wipe css-compile css-prefix css-minify css-version",
"css-wipe": "rimraf ./dist/css",
"css-compile": "sass --style expanded --source-map --embed-sources --no-error-css --load-path=node_modules/bootstrap/scss scss/:dist/css/",
"css-prefix": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.rtl*.css\" \"!dist/css/*.min.css\"",
"css-minify": "npm-run-all --parallel css-minify-*",
"css-minify-main": "cleancss -O1 --format breakWith=lf --output dist/css/bootstrap.min.css dist/css/bootstrap.css",
"css-minify-night": "cleancss -O1 --format breakWith=lf --output dist/css/bootstrap-night.min.css dist/css/bootstrap-night.css",
"css-minify-nightfall": "cleancss -O1 --format breakWith=lf --output dist/css/bootstrap-nightfall.min.css dist/css/bootstrap-nightfall.css",
"css-minify-nightshade": "cleancss -O1 --format breakWith=lf --output dist/css/bootstrap-nightshade.min.css dist/css/bootstrap-nightshade.css",
"css-minify-dark": "cleancss -O1 --format breakWith=lf --output dist/css/bootstrap-dark.min.css dist/css/bootstrap-dark.css",
"css-minify-unlit": "cleancss -O1 --format breakWith=lf --output dist/css/bootstrap-unlit.min.css dist/css/bootstrap-unlit.css",
"css-minify-blackbox": "cleancss -O1 --format breakWith=lf --output dist/css/bootstrap-blackbox.min.css dist/css/bootstrap-blackbox.css",
"css-version": "replace-in-file --configFile=build/replace-in-file.config.js",
"css-lint": "npm-run-all --continue-on-error --parallel css-lint-*",
"css-lint-stylelint": "stylelint \"**/*.scss\" --cache --cache-location .cache/.stylelintcache --rd",
"css-lint-vars": "fusv scss/",
"js": "npm-run-all js-wipe js-compile js-minify",
"js-wipe": "rimraf ./dist/js",
"js-compile": "tsc -p build && node ./build/make-banner.js ./dist/js/darkmode.js",
"js-minify": "terser -c -m -o ./dist/js/darkmode.min.js ./dist/js/darkmode.js",
"js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives . --ext .ts",
"watch": "npm-run-all --parallel watch-*",
"watch-css-main": "nodemon --watch scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix && browser-sync reload\"",
"watch-js-main": "nodemon --watch js/src/ --ext ts --exec \"npm-run-all js-lint js-compile js-minify docs-js-* && browser-sync reload\"",
"watch-examples": "nodemon --watch examples/ --ext html --exec \"browser-sync reload\"",
"watch-root": "nodemon --watch . --ext html --exec \"browser-sync reload\"",
"docs": "run-script-os",
"docs:darwin:linux": "npm-run-all --parallel docs-*",
"docs:windows:": "echo \"Sorry: documentation tool does not work on Windows :(\"",
"docs-js-darkmode": "documentation build js/src/darkmode.ts --parse-extension ts -f md -o docs/darkmode.js.md --markdown-toc true --shallow false",
"map-dark-vars": "npm-run-all --parallel map-dark-vars-*",
"map-dark-vars-alt-to-core": "node ./build/make-dark-map.js ./build/dark-map-list.json '-alt' '' > ./scss/dark/_variables-map-alt-to-core.scss",
"map-dark-vars-core-to-temp": "node ./build/make-dark-map.js ./build/dark-map-list.json '' '-temp-dnu' > ./scss/dark/_variables-map-core-to-temp.scss",
"map-dark-vars-temp-to-alt": "node ./build/make-dark-map.js ./build/dark-map-list.json '-temp-dnu' '-alt' > ./scss/dark/_variables-map-temp-to-alt.scss",
"bump": "echo \"Use bump-major, bump-minor, bump-patch\" && echo \"\" && exit 0",
"bump-major": "npm version major",
"bump-minor": "npm version minor",
"bump-patch": "npm version patch"
},
"author": "Vino Rodrigues",
"homepage": "https://vinorodrigues.github.io/bootstrap-dark-5/",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/vinorodrigues/bootstrap-dark-5.git"
},
"bugs": {
"url": "https://github.com/vinorodrigues/bootstrap-dark-5/issues"
},
"style": "dist/css/bootstrap-dark.css",
"sass": "scss/bootstrap-dark.scss",
"files": [
"dist/**/*",
"scss/**/*",
"js/src/*",
"README.md",
"LICENSE.md"
],
"keywords": [
"bootstrap",
"css",
"sass",
"mobile-first",
"responsive",
"front-end",
"framework",
"web",
"dark",
"dark-mode",
"color",
"color-scheme",
"prefers-color-scheme"
],
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"autoprefixer": "^10.2.6",
"browser-sync": "^2.27.4",
"clean-css-cli": "^5.3.0",
"cross-env": "^7.0.3",
"documentation": "^13.2.5",
"eslint": "^7.30.0",
"eslint-config-xo": "^0.37.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-unicorn": "^34.0.1",
"find-unused-sass-variables": "^3.1.0",
"nodemon": "^2.0.9",
"npm-run-all": "^4.1.5",
"postcss": "^8.3.5",
"postcss-cli": "^8.3.1",
"replace-in-file": "^6.2.0",
"rimraf": "^3.0.2",
"run-script-os": "^1.1.6",
"sass": "^1.35.2",
"stylelint": "^13.13.1",
"stylelint-config-twbs-bootstrap": "^2.2.1",
"terser": "^5.7.1",
"typescript": "^4.3.5",
"unherit": "^2.0.0",
"x-is-string": "^0.1.0"
},
"dependencies": {
"bootstrap": "~5.0.2"
},
"peerDependencies": {
"@popperjs/core": "^2.9.2"
}
}