2020-10-27 09:54:17 +08:00
|
|
|
{
|
|
|
|
"name": "monkeytype",
|
2022-04-21 18:28:30 +08:00
|
|
|
"version": "1.14.3",
|
2020-10-27 11:08:16 +08:00
|
|
|
"license": "GPL-3.0",
|
2020-11-02 19:35:22 +08:00
|
|
|
"private": true,
|
2020-10-27 09:54:17 +08:00
|
|
|
"scripts": {
|
2022-10-21 20:49:14 +08:00
|
|
|
"prepare": "husky install",
|
2022-11-29 00:38:37 +08:00
|
|
|
"pre-commit": "pretty-quick --staged",
|
2022-12-06 01:52:15 +08:00
|
|
|
"lint": "npm run lint-be && npm run lint-fe",
|
|
|
|
"lint-be": "cd backend && eslint \"**/*.ts\"",
|
|
|
|
"lint-fe": "cd frontend && eslint \"**/*.ts\"",
|
2022-05-06 05:11:09 +08:00
|
|
|
"install-all": "sh ./bin/install.sh",
|
|
|
|
"install-windows": ".\\bin\\install.cmd",
|
|
|
|
"docker": "cd backend && docker-compose up",
|
2022-12-06 01:52:15 +08:00
|
|
|
"test-be": "cd backend && npm run test",
|
2022-05-06 05:25:03 +08:00
|
|
|
"dev": "concurrently --kill-others \"npm run dev-fe\" \"npm run dev-be\"",
|
2022-05-06 05:11:09 +08:00
|
|
|
"dev-be": "cd backend && npm run dev",
|
|
|
|
"dev-fe": "cd frontend && npm run dev",
|
|
|
|
"live": "concurrently --kill-others \"cd frontend && npm run live\" \"cd backend && npm run start\"",
|
|
|
|
"audit-fe": "cd frontend && npm run audit",
|
2022-05-06 05:25:03 +08:00
|
|
|
"deploy-live": "cd frontend && npm run deploy-live",
|
|
|
|
"build-fe": "cd ./frontend && npm run build-live",
|
2022-06-17 19:47:11 +08:00
|
|
|
"pretty": "prettier --check \"./backend/**/*.{ts,json,js,css,html}\" \"./frontend/**/*.{ts,js,scss}\" \"./frontend/static/**/*.{json,html,css}\"",
|
|
|
|
"pretty-code": "prettier --check \"./backend/**/*.{ts,js,json,css,html}\" \"./frontend/**/*.{ts,js}\" \"./frontend/src/**/*.scss\"",
|
2022-12-06 01:52:15 +08:00
|
|
|
"pretty-code-be": "prettier --check \"./backend/**/*.{ts,js,json,css,html}\"",
|
|
|
|
"pretty-code-fe": "prettier --check \"./frontend/**/*.{ts,js}\" \"./frontend/src/**/*.scss\"",
|
2022-06-17 19:47:11 +08:00
|
|
|
"pretty-fix": "prettier --write \"./backend/**/*.{ts,json,js,css,html}\" \"./frontend/**/*.{ts,js,scss}\" \"./frontend/static/**/*.{json,html,css}\"",
|
2022-02-19 02:25:33 +08:00
|
|
|
"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",
|
2022-02-23 23:03:38 +08:00
|
|
|
"pr-check-ts": "cd frontend && npx gulp pr-check-ts",
|
2022-05-06 05:11:09 +08:00
|
|
|
"pr-check-build-be": "cd backend && npm run build"
|
2020-10-27 09:54:17 +08:00
|
|
|
},
|
2020-12-05 22:50:33 +08:00
|
|
|
"engines": {
|
2022-02-08 07:28:56 +08:00
|
|
|
"npm": "8.1.2"
|
2020-12-05 22:50:33 +08:00
|
|
|
},
|
2020-10-27 09:59:02 +08:00
|
|
|
"devDependencies": {
|
2022-04-24 01:42:20 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.20.0",
|
|
|
|
"@typescript-eslint/parser": "5.20.0",
|
2022-06-05 20:41:46 +08:00
|
|
|
"concurrently": "7.2.1",
|
2022-02-09 04:27:14 +08:00
|
|
|
"eslint": "8.8.0",
|
2022-02-09 03:33:41 +08:00
|
|
|
"eslint-plugin-json": "2.1.2",
|
|
|
|
"eslint-plugin-require-path-exists": "1.1.9",
|
2022-10-21 20:49:14 +08:00
|
|
|
"husky": "8.0.1",
|
2022-02-20 00:44:27 +08:00
|
|
|
"prettier": "2.5.1",
|
2022-02-21 04:47:24 +08:00
|
|
|
"pretty-quick": "3.1.0",
|
2022-03-18 04:49:34 +08:00
|
|
|
"typescript": "4.5.5"
|
2020-10-27 09:54:17 +08:00
|
|
|
}
|
|
|
|
}
|