X-Git-Url: https://juplo.de/gitweb/?p=website;a=blobdiff_plain;f=package.json;fp=package.json;h=57b20ddcaf91db48e6ce3cee35f350395a2cd550;hp=8c57d6e8b9690969d32704f3854ad4015efc26dc;hb=f50f8f433dca15c7ce2a46e0a6a7cfbc8c04ef53;hpb=9ef6c22701d77721b32ebd1169649417555b9baa diff --git a/package.json b/package.json index 8c57d6e8..57b20ddc 100644 --- a/package.json +++ b/package.json @@ -3,12 +3,33 @@ "description": "Thymeleaf-Layout and static content for http://juplo.de", "version": "0.0.1", "devDependencies": { + "autoprefixer": "^9.7.6", + "babel-cli": "^6.26.0", + "babel-preset-env": "^1.7.0", + "babel-preset-es2015-ie": "^6.7.0", + "bulma": "^0.9.2", "grunt": "^1.3.0", "grunt-contrib-clean": "^1.1.0", "grunt-contrib-cssmin": "^3.0.0", "grunt-contrib-less": "^2.0.0", "grunt-contrib-watch": "^1.1.0", "grunt-newer": "^1.1.1", - "http-server": "^0.12.3" + "http-server": "^0.12.3", + "node-sass": "^4.13.1", + "npm-run-all": "^4.1.5", + "postcss-cli": "^7.1.0" + }, + "dependencies": { + "bulma": "^0.9.2" + }, + "scripts": { + "css-deploy": "npm run css-build && npm run css-postcss", + "css-build": "node-sass _sass/main.scss css/main.css", + "css-postcss": "postcss --use autoprefixer --output css/main.css css/main.css", + "css-watch": "npm run css-build -- --watch", + "deploy": "npm run css-deploy && npm run js-build", + "js-build": "babel _javascript --out-dir lib", + "js-watch": "npm run js-build -- --watch", + "start": "npm-run-all --parallel css-watch js-watch" } }