Kanonische Links über _canonical realisiert
[website] / package.json
index 54e58ea..432b51f 100644 (file)
@@ -2,12 +2,27 @@
   "name": "juplo.de",
   "description": "Thymeleaf-Layout and static content for http://juplo.de",
   "version": "0.0.1",
+  "main": "sass/juplo.scss",
   "devDependencies": {
-    "grunt-contrib-less": "~1.0.1",
-    "grunt-contrib-cssmin": "~0.13.0",
-    "grunt-newer": "~1.1.1",
-    "grunt-contrib-watch": "~0.6.1",
-    "grunt-contrib-clean": "~0.6.0",
-    "http-server": "~0.8.0"
+    "autoprefixer": "^9.7.6",
+    "bulma": "^0.9.2",
+    "http-server": "^0.12.3",
+    "node-sass": "^4.13.1",
+    "npm-run-all": "^4.1.5",
+    "postcss-cli": "^7.1.0"
+  },
+  "dependencies": {
+    "@fortawesome/fontawesome-free": "^5.15.2",
+    "bulma": "^0.9.2"
+  },
+  "scripts": {
+    "css-deploy": "npm run css-build && npm run css-postcss",
+    "css-build": "node-sass sass/juplo.scss dist/css/juplo.css",
+    "css-postcss": "postcss --use autoprefixer --output dist/css/juplo.css dist/css/juplo.css",
+    "css-watch": "npm run css-build -- --watch",
+    "copy-assets": "cp -av node_modules/@fortawesome/fontawesome-free/webfonts dist",
+    "deploy": "npm run copy-assets && npm run css-deploy",
+    "server": "http-server dist -p8888 -c0",
+    "devel": "npm run copy-assets && npm run css-build && npm-run-all --parallel server css-watch"
   }
 }