forked from contentlayerdev/contentlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 2.57 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/archive/*",
"./examples/*"
],
"scripts": {
"postinstall": "ts-patch install && ts-patch --persist",
"test": "CI=true 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 --no-private exec npm version prerelease --preid=dev && 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 --no-private exec npm version patch && yarn workspaces foreach --verbose --topological-dev --parallel --no-private npm publish --tolerate-republish",
"release:minor": "yarn build && yarn workspaces foreach --verbose --topological-dev --no-private exec npm version minor && 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.19.0",
"@types/prettier": "^2.6.0",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"eslint": "^8.15.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-react-hooks": "^4.5.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"prettier": "^2.6.2",
"ts-patch": "^2.0.1",
"typescript": "^4.7.4"
},
"resolutions": {
"esbuild": "0.14.38",
"contentlayer": "workspace:*",
"@contentlayer/*": "workspace:*",
"contentlayer-stackbit-yaml-generator": "workspace:*",
"next-contentlayer": "workspace:*",
"rxjs": "^7.1.0"
},
"packageManager": "yarn@3.1.1"
}