UNPKG

2.92 kBJSONView Raw
1{
2 "name": "marked",
3 "description": "A markdown parser built for speed",
4 "author": "Christopher Jeffrey",
5 "version": "4.0.18",
6 "type": "module",
7 "main": "./lib/marked.cjs",
8 "module": "./lib/marked.esm.js",
9 "browser": "./lib/marked.umd.js",
10 "bin": {
11 "marked": "bin/marked.js"
12 },
13 "man": "./man/marked.1",
14 "files": [
15 "bin/",
16 "lib/",
17 "src/",
18 "man/",
19 "marked.min.js"
20 ],
21 "exports": {
22 ".": {
23 "import": "./lib/marked.esm.js",
24 "default": "./lib/marked.cjs"
25 },
26 "./package.json": "./package.json"
27 },
28 "repository": "git://github.com/markedjs/marked.git",
29 "homepage": "https://marked.js.org",
30 "bugs": {
31 "url": "http://github.com/markedjs/marked/issues"
32 },
33 "license": "MIT",
34 "keywords": [
35 "markdown",
36 "markup",
37 "html"
38 ],
39 "tags": [
40 "markdown",
41 "markup",
42 "html"
43 ],
44 "devDependencies": {
45 "@babel/core": "^7.18.6",
46 "@babel/preset-env": "^7.18.6",
47 "@markedjs/html-differ": "^4.0.2",
48 "@rollup/plugin-babel": "^5.3.1",
49 "@rollup/plugin-commonjs": "^22.0.1",
50 "@semantic-release/commit-analyzer": "^9.0.2",
51 "@semantic-release/git": "^10.0.1",
52 "@semantic-release/github": "^8.0.5",
53 "@semantic-release/npm": "^9.0.1",
54 "@semantic-release/release-notes-generator": "^10.0.3",
55 "cheerio": "^1.0.0-rc.12",
56 "commonmark": "0.30.0",
57 "eslint": "^8.19.0",
58 "eslint-config-standard": "^17.0.0",
59 "eslint-plugin-import": "^2.26.0",
60 "eslint-plugin-n": "^15.2.4",
61 "eslint-plugin-promise": "^6.0.0",
62 "front-matter": "^4.0.2",
63 "highlight.js": "^11.5.1",
64 "jasmine": "^4.2.1",
65 "markdown-it": "13.0.1",
66 "node-fetch": "^3.2.6",
67 "rollup": "^2.76.0",
68 "rollup-plugin-license": "^2.8.1",
69 "semantic-release": "^19.0.3",
70 "titleize": "^3.0.0",
71 "uglify-js": "^3.16.2",
72 "vuln-regex-detector": "^1.3.0"
73 },
74 "scripts": {
75 "test": "jasmine --config=jasmine.json",
76 "test:all": "npm test && npm run test:lint",
77 "test:unit": "npm test -- test/unit/**/*-spec.js",
78 "test:specs": "npm test -- test/specs/**/*-spec.js",
79 "test:lint": "eslint .",
80 "test:redos": "node test/vuln-regex.js",
81 "test:update": "node test/update-specs.js",
82 "rules": "node test/rules.js",
83 "bench": "npm run rollup && node test/bench.js",
84 "lint": "eslint --fix .",
85 "build:reset": "git checkout upstream/master lib/marked.cjs lib/marked.umd.js lib/marked.esm.js marked.min.js",
86 "build": "npm run rollup && npm run minify",
87 "build:docs": "node build-docs.js",
88 "rollup": "npm run rollup:umd && npm run rollup:esm",
89 "rollup:umd": "rollup -c rollup.config.js",
90 "rollup:esm": "rollup -c rollup.config.esm.js",
91 "minify": "uglifyjs lib/marked.umd.js -cm --comments /Copyright/ -o marked.min.js",
92 "preversion": "npm run build && (git diff --quiet || git commit -am build)"
93 },
94 "engines": {
95 "node": ">= 12"
96 }
97}