forked from contentlayerdev/contentlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.54 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
{
"name": "contentlayer",
"version": "0.2.6",
"bin": "./bin/cli.cjs",
"type": "module",
"engines": {
"node": ">=14.18"
},
"exports": {
"./package.json": "./package.json",
"./source-files": {
"import": "./dist/source-files/index.js"
},
"./source-files/schema": {
"import": "./dist/source-files/schema/index.js"
},
"./client": {
"import": "./dist/client/index.js"
},
"./utils": {
"import": "./dist/utils/index.js"
},
"./utils/node": {
"import": "./dist/utils/node/index.js"
},
"./core": {
"import": "./dist/core/index.js"
}
},
"_typesVersions": "Not needed anymore once this issue is closed https://github.com/microsoft/TypeScript/issues/33079",
"typesVersions": {
"*": {
"packge.json": [
"./package.json"
],
"source-files": [
"./dist/source-files"
],
"source-files/schema": [
"./dist/source-files/schema"
],
"client": [
"./dist/client"
],
"utils": [
"./dist/utils"
],
"utils/node": [
"./dist/utils/node"
],
"core": [
"./dist/core"
]
}
},
"files": [
"./bin/cli.cjs",
"./dist/**/*.{js,ts,map}",
"./src",
"./package.json"
],
"scripts": {
"#postinstall": "This is executed in packages which install `contentlayer`",
"postinstall": "node ./bin/cli.cjs postinstall || echo 'No Contentlayer build found.'",
"#_bundle-cli": "Currently unused. See https://github.com/contentlayerdev/contentlayer/issues/67",
"_bundle-cli": "esbuild ./dist/cli/index.js --bundle --platform=node --format=esm --external:esbuild --external:@esbuild-plugins/node-resolve --outfile=dist/cli/bundle.js --main-fields=module,main --metafile=meta.json --banner:js=\"import { createRequire as topLevelCreateRequire } from 'module'; const require = topLevelCreateRequire(import.meta.url); const __dirname = '__SET_BY_ESBUILD__';\""
},
"dependencies": {
"@contentlayer/cli": "workspace:*",
"@contentlayer/client": "workspace:*",
"@contentlayer/core": "workspace:*",
"@contentlayer/source-files": "workspace:*",
"@contentlayer/utils": "workspace:*"
},
"devDependencies": {
"typescript": "^4.7.4"
},
"author": "schickling",
"homepage": "https://github.com/contentlayerdev/contentlayer",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/contentlayerdev/contentlayer.git"
},
"bug": {
"url": "https://github.com/contentlayerdev/contentlayer/issues"
}
}