Import JavaScript dependencies for the project
Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "cshare",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"prepare": "husky",
|
||||
"lint:backend": "npm run lint --prefix backend",
|
||||
"lint:frontend": "npm run lint --prefix cshare-app",
|
||||
"test:backend": "npm test --prefix backend",
|
||||
"test:frontend": "npm test --prefix cshare-app",
|
||||
"check": "npm run lint:backend && npm run lint:frontend && npm run test:backend && npm run test:frontend"
|
||||
},
|
||||
"devDependencies": {
|
||||
"husky": "^9.1.7",
|
||||
"lint-staged": "^16.1.2"
|
||||
},
|
||||
"lint-staged": {
|
||||
"backend/src/**/*.ts": [
|
||||
"npm run lint --prefix backend --"
|
||||
],
|
||||
"cshare-app/src/**/*.{js,jsx}": [
|
||||
"npm run lint --prefix cshare-app --"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user