forked from trpc/trpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
114 lines (114 loc) · 4.41 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "@examples/www",
"private": true,
"workspaces": {
"packages": [
"packages/*",
"examples/*",
"examples/.wip/*",
"examples/.interop/*",
"examples/minimal/*",
"www"
],
"nohoist": [
"**/@prisma",
"**/@prisma/**"
]
},
"prettier": {
"printWidth": 80,
"trailingComma": "all",
"endOfLine": "auto",
"singleQuote": true,
"importOrder": [
"___",
"__",
"<THIRD_PARTY_MODULES>",
"^[./]"
],
"importOrderSortSpecifiers": true
},
"resolutions": {
"**/@typescript-eslint/eslint-plugin": "^4.11.1",
"**/@typescript-eslint/parser": "^4.11.1"
},
"engines": {
"node": "^16.0.0"
},
"packageManager": "[email protected]",
"scripts": {
"lerna": "lerna",
"start": "yarn watch",
"dev": "yarn start",
"test": "cd packages/server && yarn jest",
"lint": "eslint --ext \".js,.ts,.tsx\" --ignore-path .gitignore .",
"lint-fix": "yarn lint --fix && manypkg fix",
"codegen:generateBigBoi": "ts-node scripts/generateBigBoi.ts",
"codegen:generateBigLegacyRouter": "ts-node scripts/generateBigLegacyRouter.ts",
"codegen:entrypoints": "ts-node scripts/entrypoints.ts && prettier --write packages/*/package.json",
"codegen:generateMergeRouters": "ts-node scripts/generateMergeRouters.ts",
"codegen": "run-p codegen:*",
"postinstall": "yarn codegen",
"build": "yarn codegen:entrypoints && rollup --config rollup.config.ts --configPlugin rollup-plugin-swc3",
"watch": "yarn build --watch",
"test-dev-examples": "lerna exec --concurrency 1 --scope @examples/* --stream -- yarn test-dev",
"build-examples": "lerna run build --scope @examples/* --stream",
"test-examples": "lerna exec --concurrency 1 --scope @examples/* --stream -- yarn test-start",
"prepublish": "yarn build",
"prepack": "ts-node scripts/postversion.ts",
"example:express": "yarn --cwd examples/express-server dev",
"example:todomvc": "yarn --cwd examples/next-prisma-todomvc dev",
"example:chat": "yarn --cwd examples/next-chat dev",
"example:standalone": "yarn --cwd examples/standalone-server dev",
"changeset": "changeset",
"release": "changeset publish",
"version:canary": "changeset version --snapshot canary",
"release:canary": "changeset publish --tag canary",
"commit-date": "git log -n 1 --date=format:'%Y-%m-%d-%H-%M-%S' --pretty=format:'%ad'",
"canary-preid": "echo \"$(yarn --silent current-branch)-$(yarn --silent commit-date)\"",
"current-branch": "echo \"$(git rev-parse --abbrev-ref HEAD)\" | sed -E 's/refs\\/heads\\///' | sed -E 's/\\W|_/-/g' | sed -e 's/\\//-/'",
"publish-canary": "lerna publish --force-publish --canary --preid alpha-$(yarn --silent canary-preid) --dist-tag $(yarn --silent current-branch)",
"publish-prerelease": "yarn && yarn lerna publish prerelease --force-publish --dist-tag next --no-push && sleep 60 && git push --follow-tags",
"merge-main": "git checkout main && git pull && git checkout next && git pull && git checkout -b next-merge-$(date '+%Y-%m-%d') next && git merge main"
},
"dependencies": {
"@changesets/changelog-github": "^0.4.1",
"@changesets/cli": "^2.17.0",
"@manypkg/cli": "^0.19.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@swc/core": "^1.2.224",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.1.1",
"@testing-library/user-event": "^14.1.1",
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.0.1",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.5",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-no-only-tests": "^2.6.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.25.1",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-unicorn": "40.1.0",
"expect-type": "^0.13.0",
"fs-extra": "^10.1.0",
"jest": "^27.1.0",
"jsdom": "^20.0.0",
"lerna": "^4.0.0",
"playwright": "^1.19.1",
"prettier": "^2.5.1",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"rollup": "^2.66.1",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-multi-input": "^1.3.1",
"rollup-plugin-node-externals": "^4.1.1",
"rollup-plugin-swc3": "^0.3.0",
"rollup-plugin-typescript2": "^0.32.1",
"ts-jest": "^27.0.5",
"typescript": "4.7.4"
}
}