diff options
author | 2023-04-15 17:32:39 +0300 | |
---|---|---|
committer | 2023-04-15 17:34:02 +0300 | |
commit | 7a60004f46a8d48e9b9369ddc180f35f17e26a90 (patch) | |
tree | 1d2c562336b51ba96799a09264f7e01f59c311e2 /package.json | |
parent | Add devmanual to dropdowns. (diff) | |
download | tyrian-theme-7a60004f46a8d48e9b9369ddc180f35f17e26a90.tar.gz tyrian-theme-7a60004f46a8d48e9b9369ddc180f35f17e26a90.tar.bz2 tyrian-theme-7a60004f46a8d48e9b9369ddc180f35f17e26a90.zip |
Update dependencies, migrate SASS, bootstrap 4.6.2v2.0.2
- update all dependencies to latest versions
- migrate from node-sass to dart-sass
- upgrade to bootstrap 4.6.2
- fix some missing `calc` in scss
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/package.json b/package.json index b12f82e..27f20cd 100644 --- a/package.json +++ b/package.json @@ -11,31 +11,30 @@ "src" ], "devDependencies": { - "npm-run-all": "^4.1.2", - "node-sass": "^4.13.0", - "clean-css-cli": "^4.1.10", - "postcss-cli": "^4.1.1", - "node-sass-package-importer": "5.3.2" + "clean-css-cli": "^5.6.2", + "npm-run-all": "^4.1.5", + "postcss-cli": "^10.1.0", + "sass": "^1.62.0" }, "scripts": { "prepare": "npm run dist", "dist": "npm-run-all clean:dist css:tyrian:dist copy:assets", "clean:dist": "rm -rf dist && mkdir -p dist", "css:tyrian:dist": "npm-run-all css:tyrian:build css:tyrian:prefix css:tyrian:minify", - "css:tyrian:build": "node-sass --importer node_modules/node-sass-package-importer/dist/cli.js src/scss/ -o dist", + "css:tyrian:build": "sass --load-path=node_modules/ src/scss/:dist/", "css:tyrian:prefix": "postcss dist/tyrian.css --use autoprefixer --replace && postcss dist/components/searchbars.css --use autoprefixer --replace && postcss dist/components/additional-listgroup-link.css --use autoprefixer --replace", - "css:tyrian:minify": "cleancss --level 1 --source-map --source-map-inline-sources --output dist/tyrian.min.css dist/tyrian.css && cleancss --level 1 --source-map --source-map-inline-sources --output dist/components/searchbars.min.css dist/components/searchbars.css && cleancss --level 1 --source-map --source-map-inline-sources --output dist/components/additional-listgroup-link.min.css dist/components/additional-listgroup-link.css", + "css:tyrian:minify": "cleancss -O1 --source-map --source-map-inline-sources --output dist/tyrian.min.css dist/tyrian.css && cleancss -O1 --source-map --source-map-inline-sources --output dist/components/searchbars.min.css dist/components/searchbars.css && cleancss -O1 --source-map --source-map-inline-sources --output dist/components/additional-listgroup-link.min.css dist/components/additional-listgroup-link.css", "copy:assets": "npm-run-all copy:js copy:img copy:fonts copy:tyrian:assets", "copy:js": "cp src/js/*.js dist", "copy:img": "cp src/img/*.* dist", "copy:fonts": "cp src/fonts/*.* dist", - "copy:tyrian:assets": "cp ./node_modules/bootstrap/dist/js/bootstrap.min.js dist/bootstrap.min.js && cp ./node_modules/jquery/dist/jquery.slim.js dist/jquery-3.3.slim.js && cp ./node_modules/popper.js/dist/umd/popper.min.js dist" + "copy:tyrian:assets": "cp ./node_modules/bootstrap/dist/js/bootstrap.min.js dist/bootstrap.min.js && cp ./node_modules/jquery/dist/jquery.slim.js dist/jquery-3.6.slim.js && cp ./node_modules/popper.js/dist/umd/popper.min.js dist" }, "dependencies": { - "jquery": "^3.3.1", - "popper.js": "1.14.7", - "bootstrap": "4.3.1", + "autoprefixer": "^10.4.14", + "bootstrap": "4.6.2", "font-awesome": "4.7.0", - "autoprefixer": "^7.2.4" + "jquery": "^3.6.4", + "popper.js": "^1.16.0" } } |