UNPKG

3.27 kBJSONView Raw
1{
2 "name": "marked",
3 "description": "A markdown parser built for speed",
4 "author": "Christopher Jeffrey",
5 "version": "9.1.3",
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 "types": "./lib/marked.d.ts",
24 "import": "./lib/marked.esm.js",
25 "default": "./lib/marked.cjs"
26 },
27 "./bin/marked": "./bin/marked.js",
28 "./marked.min.js": "./marked.min.js",
29 "./package.json": "./package.json"
30 },
31 "repository": "git://github.com/markedjs/marked.git",
32 "homepage": "https://marked.js.org",
33 "bugs": {
34 "url": "http://github.com/markedjs/marked/issues"
35 },
36 "license": "MIT",
37 "keywords": [
38 "markdown",
39 "markup",
40 "html"
41 ],
42 "tags": [
43 "markdown",
44 "markup",
45 "html"
46 ],
47 "devDependencies": {
48 "@markedjs/html-differ": "^4.0.2",
49 "@rollup/plugin-terser": "^0.4.4",
50 "@rollup/plugin-typescript": "^11.1.5",
51 "@semantic-release/commit-analyzer": "^11.0.0",
52 "@semantic-release/git": "^10.0.1",
53 "@semantic-release/github": "^9.2.1",
54 "@semantic-release/npm": "^11.0.0",
55 "@semantic-release/release-notes-generator": "^12.0.0",
56 "@typescript-eslint/eslint-plugin": "^6.8.0",
57 "@typescript-eslint/parser": "^6.8.0",
58 "cheerio": "^1.0.0-rc.12",
59 "commonmark": "0.30.0",
60 "cross-env": "^7.0.3",
61 "eslint": "^8.52.0",
62 "eslint-config-standard": "^17.1.0",
63 "eslint-plugin-import": "^2.29.0",
64 "eslint-plugin-n": "^16.2.0",
65 "eslint-plugin-promise": "^6.1.1",
66 "front-matter": "^4.0.2",
67 "highlight.js": "^11.9.0",
68 "jasmine": "^5.1.0",
69 "markdown-it": "13.0.2",
70 "marked-highlight": "^2.0.6",
71 "marked-man": "^2.0.0",
72 "node-fetch": "^3.3.2",
73 "recheck": "^4.4.5",
74 "rollup": "^4.1.4",
75 "semantic-release": "^22.0.5",
76 "titleize": "^4.0.0",
77 "ts-expect": "^1.3.0",
78 "ts-node": "^10.9.1",
79 "typescript": "5.2.2"
80 },
81 "scripts": {
82 "test": "npm run build && cross-env NODE_OPTIONS=--loader=ts-node/esm jasmine --config=jasmine.json",
83 "test:all": "npm test && npm run test:umd && npm run test:types && npm run test:lint",
84 "test:unit": "npm test -- test/unit/**/*-spec.js",
85 "test:specs": "npm test -- test/specs/**/*-spec.js",
86 "test:lint": "eslint .",
87 "test:redos": "node test/recheck.js > vuln.js",
88 "test:types": "tsc --project tsconfig-type-test.json",
89 "test:umd": "node test/umd-test.js",
90 "test:update": "node test/update-specs.js",
91 "rules": "node test/rules.js",
92 "bench": "npm run build && node test/bench.js",
93 "lint": "eslint --fix .",
94 "build:reset": "git checkout upstream/master lib/marked.cjs lib/marked.umd.js lib/marked.esm.js marked.min.js",
95 "build": "npm run rollup && npm run build:types && npm run build:man",
96 "build:docs": "npm run build && node docs/build.js",
97 "build:types": "tsc --project tsconfig-types.json",
98 "build:man": "marked-man man/marked.1.md > man/marked.1",
99 "rollup": "rollup -c rollup.config.js"
100 },
101 "engines": {
102 "node": ">= 16"
103 }
104}