Updated tasks

This commit is contained in:
Damien Broqua 2023-09-25 00:39:15 +02:00
parent 4c4c5bbc34
commit feb305c659

View file

@ -4,11 +4,12 @@
"description": "Simple application to store and share image with bbcode integration",
"main": "src/bin/www",
"scripts": {
"run:all": "npm-run-all build sass start",
"build": "npx babel ./src --out-dir dist --copy-files",
"sass": "npx sass sass/index.scss public/css/main.css -s compressed --color",
"run:all": "npm-run-all build start",
"prebuild": "rm -rf ./dist",
"build:css": "npx sass sass/index.scss public/css/main.css -s compressed --color",
"build:app": "npx babel ./src --out-dir dist --copy-files",
"watch": "npx nodemon -e js,scss",
"build:all": "npm-run-all build sass",
"build": "npm-run-all build:app build:css",
"start": "node ./dist/bin/www",
"lint": "npx eslint ./src --ext .js",
"lint:fix": "npx eslint --fix ./src --ext .js",