svrjs-statistics-server-php/package.json

40 lines
1.3 KiB
JSON
Raw Normal View History

2024-12-18 18:02:43 +01:00
{
"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"
}
}
}