-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 2.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
{
"name": "ucph_assets",
"description": "Includes Bootstrap's source Sass and compiled JavaScript bundle via npm.",
"author": "Nanna Ellegaard",
"version": "1.0.0",
"private": true,
"repository": "ku-kom/ucph_assets",
"license": "MIT",
"main": "index.js",
"scripts": {
"icon-copy": "copyfiles --flat \"./node_modules/bootstrap-icons/font/fonts/**/*\" \"Resources/Public/Fonts/bootstrap-icons\"",
"css-compile": "sass --style expanded --source-map --embed-sources --no-error-css \"Resources/Public/Scss/bootstrap5/bootstrap.scss:Resources/Public/Css/Dist/bootstrap.css\"",
"css-lint": "npm-run-all --aggregate-output --continue-on-error --parallel css-lint-*",
"css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache",
"css-minify": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output \"Resources/Public/Css/Dist/\" --batch --batch-suffix \".min\" \"Resources/Public/Css/Dist/*.css\" \"!Resources/Public/Css/Dist/*.min.css\"",
"css-prefix": "postcss --config build/postcss.config.js --replace \"Resources/Public/Css/Dist/*.css\" \"!Resources/Public/Css/Dist/*.min.css\"",
"js-concat": "globcat \"Resources/Public/JavaScript/Src/bootstrap5/custom/**/*.js\" --output \"Resources/Public/JavaScript/Dist/ucph-scripts.js\"",
"js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives --ext .js, ",
"js-get-bootstrap": "copyfiles --flat \"./node_modules/bootstrap/dist/js/bootstrap.bundle.min.js\" \"./node_modules/bootstrap/dist/js/bootstrap.bundle.min.js.map\" \"Resources/Public/JavaScript/Dist\"",
"js-minify": "terser-folder \"Resources/Public/JavaScript/Src/bootstrap5/custom/\" -e -x .min.js --mangle-props --format quote_style=1 --comments \"/^!/\" --config-file terser.json -o \"Resources/Public/JavaScript/Dist/\"",
"css": "npm-run-all css-compile css-prefix css-minify",
"watch-icons": "npm-run-all --parallel icon-copy",
"watch-bootstrap": "npm-run-all --parallel js-get-bootstrap",
"watch-js": "onchange \"Resources/Public/JavaScript/Src/bootstrap5/custom/**/*.js\" -- npm-run-all js-lint js-minify",
"watch-css": "nodemon --watch ../**/*/Scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix css-minify\"",
"watch": "npm-run-all --parallel watch-*",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"TYPO3",
"Bootstrap",
"sass",
"css",
"javascript"
],
"dependencies": {
"@popperjs/core": "^2.11.8",
"bootstrap": "^5.3.2",
"bootstrap-icons": "^1.11.1"
},
"devDependencies": {
"autoprefixer": "^10.4.16",
"clean-css-cli": "^5.6.2",
"copyfiles": "^2.4.1",
"eslint": "^8.50.0",
"globcat": "^3.0.1",
"npm-run-all": "^4.1.5",
"nodemon": "^3.0.1",
"onchange": "^7.1.0",
"postcss": "^8.4.30",
"postcss-cli": "^10.1.0",
"sass": "^1.68.0",
"stylelint": "^15.10.3",
"stylelint-config-twbs-bootstrap": "^11.0.1",
"terser": "^5.20.0",
"terser-folder": "^2.0.0"
}
}