-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
37 lines (37 loc) · 1.67 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"name": "@startup-monorepo-fastify-phaser-colyseus-threejs/root",
"private": true,
"version": "0.1.0",
"description": "A repository about starting from scratch for monorepo, fastify, Phaser, colyseus, and threejs.",
"author": "David Mokel",
"license": "MIT",
"scripts": {
"prepare": "husky install",
"cz": "cz",
"__eslit__comment__": "查阅eslint文档 https://eslint.org/docs/latest/use/command-line-interface 了解cli工具的options",
"lint": "eslint ./ --ext .ts,.js,.json --max-warnings=0",
"__prettier__comment": "查阅prettier文档 https://prettier.io/docs/en/cli 了解cli工具的options, 查询链接https://prettier.io/docs/en/watching-files, https://www.npmjs.com/package/onchange 获取onchange文档",
"format": "prettier --config .prettierrc '.' --write",
"format-watch": "onchange -d 1000 '**/*' -- prettier --config .prettierrc --write {{changed}}",
"address-discrimination": "pnpm --filter @startup-monorepo-fastify-phaser-colyseus-threejs/address-discrimination",
"address-check": "pnpm --filter @startup-monorepo-fastify-phaser-colyseus-threejs/address-check"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@types/node": "^20.5.9",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"onchange": "^7.1.0",
"prettier": "^3.0.3",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
}
}