-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
51 lines (51 loc) · 2.27 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
{
"name": "contentlayer2-monorepo",
"private": true,
"workspaces": [
"./packages/@contentlayer/*",
"./packages/*",
"./examples/*"
],
"scripts": {
"postinstall": "ts-patch install",
"prepare": "ts-patch install -s",
"test": "CI=true VITEST_SEGFAULT_RETRY=3 yarn workspaces foreach --parallel run test",
"build": "run build:clean && run build:ts && yarn workspace next-contentlayer2 run prepack",
"build:ts": "tsc --build tsconfig.all.json",
"dev:ts": "run build:ts --watch",
"build:clean": "bash -c 'rm -rf packages/*/dist packages/@contentlayer/*/dist'",
"examples:postinstall": "yarn workspaces foreach --verbose --include \"examples-*\" exec yarn contentlayer2 postinstall",
"release:prerelease": "yarn build && yarn workspaces foreach --verbose --topological-dev --parallel --no-private npm publish --tolerate-republish --tag=dev",
"release:patch": "yarn build && yarn workspaces foreach --verbose --topological-dev --parallel --no-private npm publish --tolerate-republish",
"release:minor": "yarn build && yarn workspaces foreach --verbose --topological-dev --parallel --no-private npm publish --tolerate-republish",
"lint:check": "run lint:eslint:check && run lint:prettier:check",
"lint:fix": "run lint:eslint:fix & run lint:prettier:fix",
"lint:eslint:fix": "eslint packages --ext .ts --fix",
"lint:eslint:check": "eslint packages --ext .ts --max-warnings=0",
"lint:prettier:fix": "prettier packages --write",
"lint:prettier:check": "prettier packages --check"
},
"devDependencies": {
"@changesets/cli": "2.19.0-temp.0",
"@effect-ts/tracing-plugin": "^0.20.0",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^12.1.0",
"prettier": "^3.2.5",
"ts-patch": "^2.1.0",
"typescript": "^5.5.0"
},
"resolutions": {
"esbuild": "0.23.0",
"contentlayer2": "workspace:*",
"@contentlayer2/*": "workspace:*",
"contentlayer-stackbit-yaml-generator2": "workspace:*",
"next-contentlayer2": "workspace:*",
"rxjs": "^7.1.0"
},
"packageManager": "[email protected]"
}