-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 3.89 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
{
"name": "trpcroot",
"private": true,
"workspaces": {
"packages": [
"packages/*",
"examples/*",
"examples/.wip/*"
],
"nohoist": [
"**/@prisma",
"**/@prisma/**"
]
},
"preconstruct": {
"packages": [
"packages/*"
]
},
"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": "^14.0.0"
},
"scripts": {
"lerna": "lerna",
"start": "preconstruct 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": "yarn ts-node scripts/generate-big-f-router.ts",
"ts-node": "ts-node --compiler-options '{\"module\":\"commonjs\"}'",
"postinstall": "preconstruct dev && yarn codegen",
"build": "preconstruct build",
"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": "yarn 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 $(yarn --silent canary-preid) --dist-tag $(yarn --silent current-branch)",
"publish-prerelease": "yarn && yarn lerna publish prerelease --force-publish --dist-tag experimental --no-push && sleep 60 && git push --follow-tags"
},
"dependencies": {
"@babel/core": "^7.15.5",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.4",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@changesets/changelog-github": "^0.4.1",
"@changesets/cli": "^2.17.0",
"@manypkg/cli": "^0.19.0",
"@preconstruct/cli": "^2.1.2",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/user-event": "^13.2.1",
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
"@types/jest": "^27.0.1",
"@types/react": "^17.0.20",
"@types/react-dom": "^17.0.9",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"babel-plugin-dev-expression": "^0.2.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.25.1",
"eslint-plugin-react-hooks": "^4.2.0",
"expect-type": "^0.13.0",
"jest": "^27.1.0",
"jsdom": "^19.0.0",
"lerna": "^4.0.0",
"playwright": "^1.19.1",
"prettier": "^2.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-query-4": "npm:react-query@^4.0.0-alpha.4",
"ts-jest": "^27.0.5",
"typescript": "4.4.4"
}
}