UNPKG

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