40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
|
{
|
||
|
"name": "svrjs-statistics-server",
|
||
|
"version": "0.1.0",
|
||
|
"private": true,
|
||
|
"scripts": {
|
||
|
"build:frontend": "cd frontend && npm run build",
|
||
|
"build:backend": "node scripts/copyBackend.js",
|
||
|
"build": "rimraf dist && npm run build:backend && npm run build:frontend",
|
||
|
"cz": "cz",
|
||
|
"dev": "concurrently \"php -t src/ -S localhost:8000\" \"cd frontend && npm run dev\"",
|
||
|
"lint:backend": "prettier src/**/*.php --list-different",
|
||
|
"lint:backend-fix": "prettier src/**/*.php --write",
|
||
|
"lint:frontend": "cd frontend && npm run lint",
|
||
|
"lint:frontend-fix": "cd frontend && npm run lint:fix",
|
||
|
"lint": "npm run lint:backend && npm run lint:frontend",
|
||
|
"lint:fix": "npm run lint:backend-fix && npm run lint:frontend-fix",
|
||
|
"postinstall": "cd frontend && npm install",
|
||
|
"prepare": "husky",
|
||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@commitlint/cli": "^19.6.1",
|
||
|
"@commitlint/config-conventional": "^19.6.0",
|
||
|
"@prettier/plugin-php": "^0.22.2",
|
||
|
"commitizen": "^4.3.1",
|
||
|
"concurrently": "^9.1.0",
|
||
|
"cpr": "^3.0.1",
|
||
|
"cz-conventional-changelog": "^3.3.0",
|
||
|
"husky": "^9.1.7",
|
||
|
"lint-staged": "^15.2.11",
|
||
|
"prettier": "^3.4.2",
|
||
|
"rimraf": "^5.0.10"
|
||
|
},
|
||
|
"config": {
|
||
|
"commitizen": {
|
||
|
"path": "./node_modules/cz-conventional-changelog"
|
||
|
}
|
||
|
}
|
||
|
}
|