-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
130 lines (130 loc) · 3.38 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "markdown-to-api",
"description": "Generates a minisearch powered GraphQL API from a directory of markdown files with an optional front-matter yaml schema.",
"version": "1.0.0",
"author": "Tim Mikeladze <[email protected]>",
"license": "MIT",
"keywords": [
"markdown",
"markdown api",
"markdown graphql",
"markdown nextjs"
],
"repository": {
"type": "git",
"url": "[email protected]:TimMikeladze/markdown-to-api.git"
},
"scripts": {
"dev": "yarn build --watch --onSuccess \"yarn yalc:push\"",
"cli": "yarn build && node dist/cli.mjs",
"yalc:push": "npx yalc push",
"build": "tsup",
"type-check": "tsc --noEmit",
"lint": "eslint --ignore-path .gitignore \"{src,tests}/**/*.+(ts|js|tsx)\"",
"lint:fix": "yarn lint --fix",
"test": "yarn node --experimental-vm-modules $(yarn bin jest) --runInBand --forceExit",
"test:ci": "yarn test --ci --coverage",
"test:watch": "jest --watch",
"prepare": "husky install",
"commit": "cz"
},
"tsup": {
"entry": [
"src/index.ts",
"src/cli.ts"
],
"treeshake": true,
"sourcemap": true,
"minify": true,
"clean": true,
"dts": true,
"format": [
"cjs",
"esm"
],
"splitting": false
},
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"files": [
"dist"
],
"lint-staged": {
"./{src,tests}/**/*.{ts,js,jsx,tsx}": [
"eslint --ignore-path .gitignore --fix"
]
},
"config": {
"commitizen": {
"path": "./node_modules/@ryansonshine/cz-conventional-changelog"
}
},
"engines": {
"node": ">=14.0.0"
},
"devDependencies": {
"@babel/core": "7.18.10",
"@commitlint/cli": "17.0.3",
"@commitlint/config-conventional": "17.0.3",
"@ryansonshine/commitizen": "4.2.8",
"@ryansonshine/cz-conventional-changelog": "3.3.4",
"@types/jest": "28.1.7",
"@types/node": "18.0.0",
"@types/react": "18.0.17",
"@types/react-dom": "18.0.6",
"@types/react-test-renderer": "18.0.0",
"@typescript-eslint/eslint-plugin": "5.33.1",
"@typescript-eslint/parser": "5.33.1",
"babel-loader": "8.2.5",
"concurrently": "7.3.0",
"eslint": "8.22.0",
"eslint-config-airbnb": "19.0.4",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsx-a11y": "6.6.1",
"eslint-plugin-react": "7.30.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-typescript-sort-keys": "2.1.0",
"eslint-plugin-unused-imports": "2.0.0",
"graphql": "16.6.0",
"husky": "8.0.1",
"jest": "28.1.3",
"lint-staged": "13.0.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-test-renderer": "18.2.0",
"ts-jest": "28.0.8",
"tsup": "6.2.2",
"typescript": "4.7.4"
},
"peerDependencies": {
"react": ">=17",
"react-dom": ">=17"
},
"resolutions": {
"debug": ">=2.6.9",
"glob-parent": ">=5.1.2",
"got": ">=11.8.5",
"node-fetch": ">=2.6.7",
"parse-path": ">5.0.0",
"terser": ">=5.14.2",
"trim": ">=0.0.3",
"trim-newlines": ">=3.0.1"
},
"dependencies": {
"commander": "9.4.0",
"deepmerge": "4.2.2",
"globby": "13.1.2",
"graphql-modules": "2.1.0",
"gray-matter": "4.0.3",
"minisearch": "5.0.0",
"remark": "14.0.2",
"slugify": "1.6.5",
"strip-markdown": "5.0.0",
"yaml": "2.1.1"
}
}