Skip to content

Commit abcfb9d

Browse files
committed
chore: add lint command to package.json
1 parent 5173349 commit abcfb9d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.prettierignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
frontend/build
2+
.yarn
3+
tmp

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"installDeps": "cd frontend && yarn install && cd ../backend && yarn install",
1111
"upgradeDeps": "yarn upgrade-interactive",
1212
"cleanDeps": "cd frontend && rimraf node_modules && cd ../backend && rimraf node_modules && cd .. && rimraf node_modules",
13+
"lint": "yarn prettier --write .",
1314
"dev": "concurrently \"cd frontend && cross-env FAST_REFRESH=true yarn start\" \"cd backend && cross-env NODE_ENV=development ZU_DEFAULT_USERNAME=admin ZU_DEFAULT_PASSWORD=zero-ui nodemon ./bin/www --ignore data/db.json\"",
1415
"build": "cd frontend && cross-env INLINE_RUNTIME_CHUNK=false GENERATE_SOURCEMAP=false yarn build",
1516
"prod": "cd backend && cross-env NODE_ENV=production ZU_SECURE_HEADERS=false yarn start",

0 commit comments

Comments
 (0)