1 | {
|
2 | "name": "marked",
|
3 | "description": "A markdown parser built for speed",
|
4 | "author": "Christopher Jeffrey",
|
5 | "version": "11.1.0",
|
6 | "type": "module",
|
7 | "main": "./lib/marked.cjs",
|
8 | "module": "./lib/marked.esm.js",
|
9 | "browser": "./lib/marked.umd.js",
|
10 | "types": "./lib/marked.d.ts",
|
11 | "bin": {
|
12 | "marked": "bin/marked.js"
|
13 | },
|
14 | "man": "./man/marked.1",
|
15 | "files": [
|
16 | "bin/",
|
17 | "lib/",
|
18 | "man/",
|
19 | "marked.min.js"
|
20 | ],
|
21 | "exports": {
|
22 | ".": {
|
23 | "import": {
|
24 | "types": "./lib/marked.d.ts",
|
25 | "default": "./lib/marked.esm.js"
|
26 | },
|
27 | "default": {
|
28 | "types": "./lib/marked.d.cts",
|
29 | "default": "./lib/marked.cjs"
|
30 | }
|
31 | },
|
32 | "./bin/marked": "./bin/marked.js",
|
33 | "./marked.min.js": "./marked.min.js",
|
34 | "./package.json": "./package.json"
|
35 | },
|
36 | "repository": "git://github.com/markedjs/marked.git",
|
37 | "homepage": "https://marked.js.org",
|
38 | "bugs": {
|
39 | "url": "http://github.com/markedjs/marked/issues"
|
40 | },
|
41 | "license": "MIT",
|
42 | "keywords": [
|
43 | "markdown",
|
44 | "markup",
|
45 | "html"
|
46 | ],
|
47 | "tags": [
|
48 | "markdown",
|
49 | "markup",
|
50 | "html"
|
51 | ],
|
52 | "devDependencies": {
|
53 | "@markedjs/testutils": "9.1.5-0",
|
54 | "@arethetypeswrong/cli": "^0.13.3",
|
55 | "@rollup/plugin-terser": "^0.4.4",
|
56 | "@rollup/plugin-typescript": "^11.1.5",
|
57 | "@semantic-release/commit-analyzer": "^11.1.0",
|
58 | "@semantic-release/git": "^10.0.1",
|
59 | "@semantic-release/github": "^9.2.5",
|
60 | "@semantic-release/npm": "^11.0.2",
|
61 | "@semantic-release/release-notes-generator": "^12.1.0",
|
62 | "@typescript-eslint/eslint-plugin": "^6.13.1",
|
63 | "@typescript-eslint/parser": "^6.13.2",
|
64 | "cheerio": "^1.0.0-rc.12",
|
65 | "commonmark": "0.30.0",
|
66 | "cross-env": "^7.0.3",
|
67 | "dts-bundle-generator": "^9.0.0",
|
68 | "eslint": "^8.55.0",
|
69 | "eslint-config-standard": "^17.1.0",
|
70 | "eslint-plugin-import": "^2.29.0",
|
71 | "eslint-plugin-n": "^16.3.1",
|
72 | "eslint-plugin-promise": "^6.1.1",
|
73 | "highlight.js": "^11.9.0",
|
74 | "markdown-it": "13.0.2",
|
75 | "marked-highlight": "^2.0.7",
|
76 | "marked-man": "^2.0.0",
|
77 | "node-fetch": "^3.3.2",
|
78 | "recheck": "^4.4.5",
|
79 | "rollup": "^4.6.1",
|
80 | "semantic-release": "^22.0.8",
|
81 | "titleize": "^4.0.0",
|
82 | "ts-expect": "^1.3.0",
|
83 | "typescript": "5.3.2"
|
84 | },
|
85 | "scripts": {
|
86 | "test": "npm run build && npm run test:specs && npm run test:unit",
|
87 | "test:all": "npm test && npm run test:umd && npm run test:types && npm run test:lint",
|
88 | "test:unit": "node --test --test-reporter=spec test/unit",
|
89 | "test:specs": "node --test --test-reporter=spec test/run-spec-tests.js",
|
90 | "test:lint": "eslint .",
|
91 | "test:redos": "node test/recheck.js > vuln.js",
|
92 | "test:types": "tsc --project tsconfig-type-test.json && attw -P --exclude-entrypoints ./bin/marked ./marked.min.js",
|
93 | "test:umd": "node test/umd-test.js",
|
94 | "test:update": "node test/update-specs.js",
|
95 | "rules": "node test/rules.js",
|
96 | "bench": "npm run build && node test/bench.js",
|
97 | "lint": "eslint --fix .",
|
98 | "build:reset": "git checkout upstream/master lib/marked.cjs lib/marked.umd.js lib/marked.esm.js marked.min.js",
|
99 | "build": "npm run rollup && npm run build:types && npm run build:man",
|
100 | "build:docs": "npm run build && node docs/build.js",
|
101 | "build:types": "tsc && dts-bundle-generator --project tsconfig.json -o lib/marked.d.ts src/marked.ts && dts-bundle-generator --project tsconfig.json -o lib/marked.d.cts src/marked.ts",
|
102 | "build:man": "marked-man man/marked.1.md > man/marked.1",
|
103 | "rollup": "rollup -c rollup.config.js"
|
104 | },
|
105 | "engines": {
|
106 | "node": ">= 18"
|
107 | }
|
108 | }
|