Created
March 27, 2023 11:35
-
-
Save gerritvanaaken/a2c0d003a7d348c9f971a8253af4b98f to your computer and use it in GitHub Desktop.
package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Projektname", | |
"version": "0.0.1", | |
"description": "Beschreibung", | |
"repository": "https://gitlab.com/gerritvanaaken/projektname", | |
"author": "Gerrit van Aaken", | |
"scripts": { | |
"sass": "sass scss/screen.scss screen.css", | |
"sass:compressed": "sass scss/screen.scss screen.css --style=compressed", | |
"autoprefix": "postcss -o screen.css screen.css", | |
"dev:css": "npm run sass && npm run autoprefix", | |
"build:css": "npm run sass:compressed && npm run autoprefix", | |
"concat": "concat -o all.js js/alpine.js js/luxon.js js/map.js", | |
"uglify": "uglifyjs -o all.js all.js", | |
"watch:css": "onchange 'scss/*.scss' -- npm run build:css", | |
"watch:js": "onchange 'js/*.js' -- npm run concat", | |
"watch": "npm-run-all --parallel watch:*", | |
"build": "npm run sass:compressed && npm run autoprefix && npm run concat && npm run uglify", | |
"dev": "npm-run-all --parallel dev:css concat watch & browser-sync start -p 'meinewebsite.local' --files *.css *.js --no-open" | |
}, | |
"devDependencies": { | |
"browser-sync": "*", | |
"concat": "*", | |
"npm-run-all": "*", | |
"onchange": "*", | |
"sass": "*", | |
"uglify-js": "*", | |
"autoprefixer": "*", | |
"postcss": "*", | |
"postcss-cli": "*" | |
}, | |
"browserslist": [ | |
"ff >= 10", | |
"ie >= 11", | |
"Chrome >= 10", | |
"iOS >= 10", | |
"Android >= 4", | |
"Safari >= 10" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment