{ "name": "marked", "description": "A markdown parser built for speed", "author": "Christopher Jeffrey", "version": "4.0.10", "type": "module", "main": "./lib/marked.cjs", "module": "./lib/marked.esm.js", "browser": "./lib/marked.umd.js", "bin": { "marked": "bin/marked.js" }, "man": "./man/marked.1", "files": [ "bin/", "lib/", "src/", "man/", "marked.min.js" ], "exports": { ".": { "import": "./lib/marked.esm.js", "default": "./lib/marked.cjs" }, "./package.json": "./package.json" }, "repository": "git://github.com/markedjs/marked.git", "homepage": "https://marked.js.org", "bugs": { "url": "http://github.com/markedjs/marked/issues" }, "license": "MIT", "keywords": [ "markdown", "markup", "html" ], "tags": [ "markdown", "markup", "html" ], "devDependencies": { "@babel/core": "^7.16.7", "@babel/preset-env": "^7.16.7", "@markedjs/html-differ": "^4.0.0", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-commonjs": "^21.0.1", "@semantic-release/commit-analyzer": "^9.0.2", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^8.0.2", "@semantic-release/npm": "^8.0.3", "@semantic-release/release-notes-generator": "^10.0.3", "cheerio": "^1.0.0-rc.10", "commonmark": "0.30.0", "eslint": "^8.6.0", "eslint-config-standard": "^16.0.3", "eslint-plugin-import": "^2.25.4", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^6.0.0", "front-matter": "^4.0.2", "highlight.js": "^11.4.0", "jasmine": "^4.0.1", "markdown-it": "12.3.2", "node-fetch": "^3.1.0", "rollup": "^2.63.0", "rollup-plugin-license": "^2.6.1", "semantic-release": "^18.0.1", "titleize": "^3.0.0", "uglify-js": "^3.14.5", "vuln-regex-detector": "^1.3.0" }, "scripts": { "test": "jasmine --config=jasmine.json", "test:all": "npm test && npm run test:lint", "test:unit": "npm test -- test/unit/**/*-spec.js", "test:specs": "npm test -- test/specs/**/*-spec.js", "test:lint": "eslint .", "test:redos": "node test/vuln-regex.js", "test:update": "node test/update-specs.js", "rules": "node test/rules.js", "bench": "npm run rollup && node test/bench.js", "lint": "eslint --fix .", "build:reset": "git checkout upstream/master lib/marked.cjs lib/marked.umd.js lib/marked.esm.js marked.min.js", "build": "npm run rollup && npm run minify", "build:docs": "node build-docs.js", "rollup": "npm run rollup:umd && npm run rollup:esm", "rollup:umd": "rollup -c rollup.config.js", "rollup:esm": "rollup -c rollup.config.esm.js", "minify": "uglifyjs lib/marked.umd.js -cm --comments /Copyright/ -o marked.min.js", "preversion": "npm run build && (git diff --quiet || git commit -am build)" }, "engines": { "node": ">= 12" } }