-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
176 lines (176 loc) · 6.34 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{
"name": "hexo-post-parser",
"projectName": "Hexo Post Parser",
"version": "3.0.2",
"description": "Parse Hexo Post To Object and pre-process all markdown posts for Automated SEO",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.mjs",
"type": "module",
"exports": {
".": {
"require": {
"default": "./dist/index.cjs",
"types": "./dist/index.d.cts"
},
"import": {
"default": "./dist/index.mjs",
"types": "./dist/index.d.mts"
}
}
},
"scripts": {
"prepare": "husky && node package-switch.cjs local",
"lint": "cross-env-shell ESLINT_USE_FLAT_CONFIG=false && eslint --fix src",
"clean": "rimraf dist && npm run build",
"prebuild": "node src/index.builder.mjs",
"build:packages": "yarn workspaces --worktree --no-private run build",
"build": "tsc --build tsconfig.build.json && rollup -c",
"build-clean": "yarn clean && yarn build",
"prepack": "node package-switch.cjs production",
"pack": "node packer.cjs --yarn",
"postpack": "node package-switch.cjs local",
"prepublish": "node package-switch.cjs production",
"postpublish": "node package-switch.cjs local",
"docs": "node typedoc-runner.cjs --publish",
"format": "prettier -w src/**/*.ts",
"ci": "yarn install --immutable --immutable-cache --check-cache --frozen-lockfile --check-files",
"update:postinstall": "curl -L https://github.com/dimaslanjaka/nodejs-package-types/raw/main/postinstall.js > postinstall.cjs",
"update:build-release": "curl -L https://github.com/dimaslanjaka/nodejs-package-types/raw/main/.github/workflows/build-release.yml > .github/workflows/build-release.yml",
"update:typedoc": "curl -L https://github.com/dimaslanjaka/nodejs-package-types/raw/main/typedoc.js > typedoc.cjs",
"update:typedoc-runner": "curl -L https://github.com/dimaslanjaka/nodejs-package-types/raw/main/typedoc-runner.js > typedoc-runner.cjs",
"update:typedoc-server": "curl -L https://github.com/dimaslanjaka/nodejs-package-types/raw/main/typedoc-server.js > typedoc-server.cjs",
"update:packer": "curl -L https://github.com/dimaslanjaka/nodejs-package-types/raw/main/packer.js > packer.cjs",
"update:changelog": "curl -L https://github.com/dimaslanjaka/nodejs-package-types/raw/main/changelog.js > changelog.cjs",
"update:ncu": "npx npm-check-updates -u",
"update": "run-s \"update:**\"",
"test": "cross-env-shell NODE_OPTIONS=\"--experimental-vm-modules\" jest --runInBand --silent=false"
},
"files": [
"dist/",
"!**/*.tsbuildinfo"
],
"workspaces": [
"packages/*"
],
"repository": {
"type": "git",
"url": "git+https://github.com/dimaslanjaka/hexo-post-parser.git"
},
"keywords": [
"hexo",
"markdown",
"post",
"parser",
"hexo-parser",
"hexo-post",
"hexo-markdown"
],
"author": "Dimas Lanjaka <dimaslanjaka@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/dimaslanjaka/hexo-post-parser/issues"
},
"homepage": "https://github.com/dimaslanjaka/hexo-post-parser#readme",
"devDependencies": {
"@babel/core": "^7.25.8",
"@babel/preset-env": "^7.25.8",
"@babel/preset-typescript": "^7.25.7",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.13.0",
"@jest/environment": "^29.7.0",
"@jest/expect": "^29.7.0",
"@jest/globals": "^29.7.0",
"@jest/types": "^29.6.3",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.1",
"@types/babel__core": "^7",
"@types/babel__preset-env": "^7",
"@types/bluebird": "^3.5.42",
"@types/debug": "^4",
"@types/fs-extra": "^11.0.4",
"@types/glob": "^8.1.0",
"@types/hexo": "https://github.com/dimaslanjaka/hexo/raw/fc1f9b7/releases/hexo.tgz",
"@types/jsdom": "^21.1.7",
"@types/lodash": "^4.17.12",
"@types/lodash.deburr": "^4.1.9",
"@types/node": "^22.7.7",
"@types/showdown": "^2",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^8.10.0",
"@typescript-eslint/parser": "^8.10.0",
"babel-jest": "^29.7.0",
"binary-collections": "^2.0.6",
"cross-env": "^7.0.3",
"cross-spawn": "https://github.com/dimaslanjaka/node-cross-spawn/raw/80999ac/release/cross-spawn.tgz",
"depcheck": "^1.4.7",
"dotenv": "^16.4.5",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"git-command-helper": "^2.0.2",
"globals": "^15.11.0",
"gulp": "^5.0.0",
"gulp-cli": "^3.0.0",
"hexo": "https://github.com/dimaslanjaka/hexo/raw/fc1f9b7/releases/hexo.tgz",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-config": "^29.7.0",
"jest-mock": "^29.7.0",
"lint-staged": "^15.2.10",
"minimatch": "^10.0.1",
"npm-check-updated": "^6.0.4",
"prettier": "^3.3.3",
"rollup": "^4.24.0",
"rollup-plugin-dts": "^6.1.1",
"semver": "^7.6.3",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typedoc": "^0.26.10",
"typedoc-plugin-missing-exports": "^3.0.0",
"typescript": "^5.6.3"
},
"dependencies": {
"@types/markdown-it": "https://github.com/dimaslanjaka/markdown-it/raw/95599a5a20b2f162a776abaa3a0b7f8aaac2f6e1/release/markdown-it.tgz",
"ansi-colors": "^4.1.3",
"axios": "^1.7.7",
"bluebird": "^3.7.2",
"debug": "^4.3.7",
"deepmerge-ts": "^7.1.3",
"front-matter": "^4.0.2",
"fs-extra": "^11.2.0",
"glob": "^11.0.0",
"highlight.js": "^11.10.0",
"jsdom": "^25.0.1",
"lodash": "^4.17.21",
"lodash.deburr": "^4.1.0",
"markdown-it": "https://github.com/dimaslanjaka/markdown-it/raw/95599a5a20b2f162a776abaa3a0b7f8aaac2f6e1/release/markdown-it.tgz",
"markdown-it-abbr": "^2.0.0",
"markdown-it-anchor": "^9.2.0",
"markdown-it-attrs": "^4.2.0",
"markdown-it-footnote": "^4.0.0",
"markdown-it-mark": "^4.0.0",
"markdown-it-sub": "^2.0.0",
"markdown-it-sup": "^2.0.0",
"marked": "^14.1.3",
"moment-timezone": "^0.5.46",
"rimraf": "^6.0.1",
"sbg-utility": "^2.0.5",
"showdown": "^2.1.0",
"tiny-typed-emitter": "^2.1.0",
"upath": "^2.0.1",
"yaml": "^2.6.0",
"yargs": "^17.7.2"
},
"directories": {
"test": "test",
"lib": "dist"
},
"packageManager": "yarn@4.5.1",
"engines": {
"node": ">=18"
}
}