Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
26 lines
699 B
JSON
26 lines
699 B
JSON
{
|
|
"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 --"
|
|
]
|
|
}
|
|
}
|