forked from Advanced-Computer-Lab-2022/Hungry-for-Grades
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage-why.json
More file actions
17 lines (16 loc) · 771 Bytes
/
Copy pathpackage-why.json
File metadata and controls
17 lines (16 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"scripts": {
"dev": "run dev --port 8000",
"build": "Description for `npm run build` command",
"preview": "Description for `npm run preview` command",
"check": "it checks for unused dependencies to uninstall ot update",
"prelint": "it runs prettier",
"lint": "it uses prettier & eslint fix then checks",
"postlint": "it runs eslint check",
"test": "runs the tests using vitest",
"lighthouse": "runs lighthouse ",
"restart": "restarts the server and solve error in node_modules",
"husky-setup": "npx husky set .husky/pre-commit 'npm run node-shield && npm run check && npm run lint && npm test'",
"node-shield": "it checks if correct node version is installed"
}
}