2020-10-27 09:54:17 +08:00
|
|
|
{
|
|
|
|
"name": "monkeytype",
|
2020-11-04 08:48:33 +08:00
|
|
|
"version": "1.5.6",
|
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-03-22 04:22:47 +08:00
|
|
|
"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",
|
2022-02-09 04:27:14 +08:00
|
|
|
"deploy:live": "cd frontend && npm run deploy:live",
|
2022-02-21 05:29:39 +08:00
|
|
|
"install:all": "sh ./bin/install.sh",
|
2022-02-21 04:47:24 +08:00
|
|
|
"install:windows": ".\\bin\\install.cmd",
|
2022-02-23 08:07:48 +08:00
|
|
|
"lint": "eslint \"./backend/**/*.{ts,js}\" \"./frontend/src/scripts/**/*.{ts,js}\"",
|
2022-02-13 02:07:58 +08:00
|
|
|
"build:live": "cd ./frontend && npm run build:live",
|
2022-02-18 06:36:40 +08:00
|
|
|
"pretty": "prettier --check './backend/**/*.js' './frontend/src/**/*.{js,scss}' './frontend/static/**/*.{json,html}'",
|
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",
|
|
|
|
"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-02-12 02:02:21 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.11.0",
|
|
|
|
"@typescript-eslint/parser": "^5.11.0",
|
2022-02-09 03:33:41 +08:00
|
|
|
"concurrently": "5.3.0",
|
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",
|
|
|
|
"husky": "4.3.0",
|
2022-02-20 00:44:27 +08:00
|
|
|
"jsonschema": "1.4.0",
|
|
|
|
"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:59:02 +08:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2022-02-10 00:45:27 +08:00
|
|
|
"pre-commit": "pretty-quick --staged && npm run lint"
|
2020-10-27 09:59:02 +08:00
|
|
|
}
|
2020-10-27 09:54:17 +08:00
|
|
|
}
|
|
|
|
}
|