mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-11 09:34:35 +08:00
45 lines
1.6 KiB
JSON
45 lines
1.6 KiB
JSON
{
|
|
"name": "monkeytype",
|
|
"version": "1.5.6",
|
|
"license": "GPL-3.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"audit:fe": "cd frontend && npm run audit",
|
|
"dev": "concurrently --kill-others \"npm run dev:fe\" \"npm run dev:be\"",
|
|
"dev:be": "cd backend && npm run dev",
|
|
"dev:fe": "cd frontend && npm run dev",
|
|
"deploy:live": "cd frontend && npm run deploy:live",
|
|
"install:all": "sh ./bin/install.sh",
|
|
"install:windows": ".\\bin\\install.cmd",
|
|
"lint": "eslint \"./backend/**/*.{ts,js}\" \"./frontend/src/scripts/**/*.{ts,js}\"",
|
|
"build:live": "cd ./frontend && npm run build:live",
|
|
"pretty": "prettier --check './backend/**/*.js' './frontend/src/**/*.{js,scss}' './frontend/static/**/*.{json,html}'",
|
|
"pr-check-lint-json": "cd frontend && npx gulp pr-check-lint-json",
|
|
"pr-check-quote-json": "cd frontend && npx gulp pr-check-quote-json",
|
|
"pr-check-language-json": "cd frontend && npx gulp pr-check-language-json",
|
|
"pr-check-other-json": "cd frontend && npx gulp pr-check-other-json",
|
|
"pr-check-ts": "cd frontend && npx gulp pr-check-ts",
|
|
"pr-check-build-be": "cd backend && npm run build"
|
|
},
|
|
"engines": {
|
|
"npm": "8.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^5.11.0",
|
|
"@typescript-eslint/parser": "^5.11.0",
|
|
"concurrently": "5.3.0",
|
|
"eslint": "8.8.0",
|
|
"eslint-plugin-json": "2.1.2",
|
|
"eslint-plugin-require-path-exists": "1.1.9",
|
|
"husky": "4.3.0",
|
|
"jsonschema": "1.4.0",
|
|
"prettier": "2.5.1",
|
|
"pretty-quick": "3.1.0",
|
|
"typescript": "4.5.5"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "pretty-quick --staged && npm run lint"
|
|
}
|
|
}
|
|
}
|