forked from understrap/understrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 4.26 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
{
"name": "understrap",
"version": "1.2.3",
"description": "WordPress Theme framework",
"main": "index.js",
"scripts": {
"bs": "browser-sync start --config src/build/browser-sync.config.js",
"css": "npm-run-all css-compile css-postcss css-minify",
"css-compile": "sass --style expanded --source-map --embed-sources --no-error-css --quiet src/sass/theme.scss:css/theme.css src/sass/custom-editor-style.scss:css/custom-editor-style.css",
"css-minify": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output css/ --batch --batch-suffix \".min\" \"css/*.css\" \"!css/*.min.css\" \"!css/*rtl*.css\" \"!css/*-bootstrap4.css\"",
"css-postcss": "postcss --config src/build/postcss.config.js --replace \"css/*.css\" \"!css/*.rtl*.css\" \"!css/*.min.css\" \"!css/*-bootstrap4.css\"",
"css-bs4": "npm-run-all css-compile-bs4 css-postcss-bs4 css-minify-bs4",
"css-compile-bs4": "sass --style expanded --source-map --embed-sources --no-error-css --quiet src/sass/theme-bootstrap4.scss:css/theme-bootstrap4.css src/sass/custom-editor-style-bootstrap4.scss:css/custom-editor-style-bootstrap4.css",
"css-minify-bs4": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output css/ --batch --batch-suffix \".min\" \"css/*.css\" \"!css/*.min.css\" \"!css/*rtl*.css\" \"!css/theme.css\" \"!css/custom-editor-style.css\"",
"css-postcss-bs4": "postcss --config src/build/postcss.config.js --replace \"css/*.css\" \"!css/*.rtl*.css\" \"!css/*.min.css\" \"!css/theme.css\" \"!css/custom-editor-style.css\" -- BS4",
"js": "npm-run-all js-compile js-minify",
"js-compile": "rollup --config src/build/rollup.config.js --sourcemap",
"js-minify": "terser js/theme.min.js --config-file src/build/terser.config.json --source-map \"content=js/theme.js.map,url=theme.min.js.map,filename=theme.min.js\" --output js/theme.min.js",
"js-bs4": "npm-run-all js-compile-bs4 js-minify-bs4",
"js-compile-bs4": "npm run js-compile -- BS4",
"js-minify-bs4": "terser js/theme-bootstrap4.min.js --config-file src/build/terser.config.json --source-map \"content=js/theme-bootstrap4.js.map,url=theme-bootstrap4.min.js.map,filename=theme-bootstrap4.min.js\" --output js/theme-bootstrap4.min.js",
"watch": "npm-run-all --parallel watch-run-*",
"watch-bs": "npm-run-all --parallel bs watch-run-*",
"watch-run-css": "nodemon --watch src/sass/ --ext scss --exec \"npm-run-all css\"",
"watch-run-js": "nodemon --watch src/js/ --ext js --exec \"npm-run-all js\"",
"copy-assets": "node src/build/copy-assets.js",
"dist": "npm-run-all --parallel css js css-bs4 js-bs4",
"dist-build": "node src/build/dist-build.js",
"dist-clean": "node src/build/dist-clean.js"
},
"babel": {
"extends": "./src/build/babel.config.js"
},
"engines": {
"node": ">=18",
"npm": ">=8.6.0"
},
"repository": {
"type": "git",
"url": "https://github.com/understrap/understrap.git"
},
"keywords": [
"wordpress",
"theme",
"framework",
"bootstrap",
"underscores"
],
"author": "The Understrap Authors (https://github.com/understrap/understrap/graphs/contributors)",
"license": "GPL-3.0",
"licenseUrl": "https://www.gnu.org/licenses/gpl-3.0.html",
"bugs": {
"url": "https://github.com/understrap/understrap/issues"
},
"homepage": "https://understrap.com",
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@popperjs/core": "^2.11.8",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.5",
"@rollup/plugin-multi-entry": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.3",
"autoprefixer": "^10.4.16",
"bootstrap": "~5.2.3",
"bootstrap4": "npm:bootstrap@^4.6.2",
"browser-sync": "^2.29.3",
"browserslist": "^4.22.1",
"caniuse-lite": "^1.0.30001547",
"clean-css-cli": "^5.6.2",
"font-awesome": "^4.7.0",
"nodemon": "^3.0.1",
"npm-run-all": "^4.1.5",
"popper.js": "^1.16.1",
"postcss": "^8.4.31",
"postcss-cli": "^10.1.0",
"postcss-understrap-palette-generator": "git+https://github.com/understrap/postcss-understrap-palette-generator.git",
"rollup": "^4.0.2",
"sass": "^1.69.3",
"terser": "^5.21.0"
}
}