-
Notifications
You must be signed in to change notification settings - Fork 199
/
package.json
52 lines (52 loc) · 2.3 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
{
"name": "contentlayer-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-contentlayer 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 contentlayer 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",
"@types/prettier": "^2.7.3",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"prettier": "^2.8.8",
"ts-patch": "^2.1.0",
"typescript": "^5.1.6"
},
"resolutions": {
"esbuild": "0.18.0",
"contentlayer": "workspace:*",
"@contentlayer/*": "workspace:*",
"contentlayer-stackbit-yaml-generator": "workspace:*",
"next-contentlayer": "workspace:*",
"rxjs": "^7.1.0"
},
"packageManager": "[email protected]"
}