mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-18 20:19:30 -07:00
chore(package.json): update lint script to also run prettier for consistent code formatting
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint . --fix",
|
"lint": "eslint . --fix && prettier --write .",
|
||||||
"dev": "run-p rollup:dev hugo:dev",
|
"dev": "run-p rollup:dev hugo:dev",
|
||||||
"build": "rm -f ./static/bundled/js/* && run-s rollup:build hugo:build && yes | cp -rf ./exampleSite/public/css/* ./static/bundled/css",
|
"build": "rm -f ./static/bundled/js/* && run-s rollup:build hugo:build && yes | cp -rf ./exampleSite/public/css/* ./static/bundled/css",
|
||||||
"server": "run-p rollup:server hugo:server",
|
"server": "run-p rollup:server hugo:server",
|
||||||
|
|||||||
Reference in New Issue
Block a user