forked from LolipopJ/mdimg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.01 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
{
"name": "mdimg",
"version": "1.0.0",
"description": "Covert Markdown or HTML to image",
"keywords": [
"markdown",
"html",
"image",
"md2img",
"html2img"
],
"engines": {
"node": ">= 18.0.0"
},
"main": "./lib/mdimg.js",
"module": "./lib/mdimg.mjs",
"bin": {
"mdimg": "./bin/mdimg.js"
},
"types": "./types.d.ts",
"files": [
"README.md",
"types.d.ts",
"bin/",
"lib/",
"src/",
"template/css/",
"template/html/"
],
"scripts": {
"mdimg": "node ./bin/mdimg.js",
"test": "jest --roots test --testTimeout 30000",
"build": "npm run rollup:js && npm run rollup:sass",
"rollup:js": "rollup -c rollup.config.js --bundleConfigAsCjs",
"rollup:sass": "rollup -c rollup.sass.config.js --bundleConfigAsCjs",
"lint": "eslint --ext .js .",
"prettier": "prettier --write **/* --ignore-path .eslintignore --ignore-unknown"
},
"repository": {
"type": "git",
"url": "git+https://github.com/LolipopJ/mdimg.git"
},
"author": "LolipopJ",
"license": "MIT",
"bugs": {
"url": "https://github.com/LolipopJ/mdimg/issues"
},
"homepage": "https://github.com/LolipopJ/mdimg#readme",
"dependencies": {
"cheerio": "^1.0.0-rc.12",
"commander": "^12.0.0",
"marked": "^12.0.1",
"puppeteer": "^22.6.5"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/eslint-parser": "^7.24.1",
"@babel/node": "^7.23.9",
"@babel/preset-env": "^7.24.4",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"babel-jest": "^29.7.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"rollup": "^4.14.3",
"rollup-plugin-license": "^3.3.1",
"rollup-plugin-scss": "^3.0.0",
"rollup-plugin-typescript2": "^0.36.0",
"sass": "^1.75.0",
"tslib": "^2.6.2",
"typescript": "^5.4.5"
}
}