Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 2.58 KB
/
Copy pathpackage.json
File metadata and controls
57 lines (57 loc) · 2.58 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"private": true,
"engines": {
"node": ">=22"
},
"workspaces": [
"packages/*",
"example"
],
"scripts": {
"start": "cd example && npm run start",
"build": "yarn workspace @teamplay/utils build && yarn workspace @teamplay/schema build && yarn workspace teamplay build",
"clean": "rm -rf packages/utils/dist packages/schema/dist packages/teamplay/dist",
"lint": "eslint .",
"test": "yarn workspace @teamplay/channel test && yarn workspace @teamplay/server-aggregate test && yarn workspace babel-plugin-teamplay test && cd packages/teamplay && npm run test",
"test-types:dist": "yarn build && yarn workspace teamplay test-types:dist",
"test-client": "cd packages/teamplay && npm run test-client",
"test-server": "cd packages/teamplay && npm run test-server",
"test-server-only": "cd packages/teamplay && npm run test-server-only",
"publish-patch": "yarn build && dotenv -- npx lerna publish patch --conventional-commits --create-release=github",
"publish-patch-force": "yarn build && dotenv -- npx lerna publish patch --force-publish --conventional-commits --create-release=github",
"publish-breaking-minor": "yarn build && dotenv -- npx lerna publish minor --conventional-commits --create-release=github",
"publish-alpha-breaking-minor": "yarn build && dotenv -- npx lerna publish preminor --force-publish --preid alpha --dist-tag alpha",
"publish-alpha-patch": "yarn build && dotenv -- npx lerna publish prerelease --preid alpha --dist-tag alpha",
"docs": "rspress dev --port 3010",
"docs-build": "rspress build",
"docs-preview": "rspress preview --port 3010"
},
"devDependencies": {
"@rspress/core": "^2.0.0",
"@types/node": "^25.6.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"dotenv-cli": "^11.0.0",
"eslint": "^9.39.4",
"eslint-plugin-react-hooks": "^7.1.1",
"husky": "^4.3.0",
"lerna": "^9.0.3",
"lint-staged": "^15.2.2",
"neostandard": "^0.13.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"ts-node": "^10.9.2",
"typescript": "^6.0.3"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"eslint --fix"
]
},
"husky": {
"hooks": {
"pre-commit": "! grep -q '\"resolutions\":' ./package.json || (echo '\\033[0;31mError: \"resolutions\" found in package.json. Remove \"resolutions\" to proceed with commit.\\033[0m' && exit 1) && lint-staged && npm test"
}
},
"packageManager": "yarn@4.14.1+sha512.64df448055b2d37ba269d7db535a469b8da93f8ef1140c25fd7a83c00a8fbaacb214ca0e02553b92a2c54cef78bb67d0b4817fab02001df0e24fac0faccc3b42"
}