2011-07-24 08:15:35 -05:00
|
|
|
{
|
|
|
|
"name": "marked",
|
2011-08-24 11:38:27 -05:00
|
|
|
"description": "A markdown parser built for speed",
|
2011-07-24 08:15:35 -05:00
|
|
|
"author": "Christopher Jeffrey",
|
2023-06-10 03:15:44 +00:00
|
|
|
"version": "5.1.0",
|
2021-11-02 07:32:17 -07:00
|
|
|
"type": "module",
|
2021-11-10 18:33:22 -08:00
|
|
|
"main": "./lib/marked.cjs",
|
2021-08-04 14:34:34 -07:00
|
|
|
"module": "./lib/marked.esm.js",
|
2021-11-12 13:38:04 -08:00
|
|
|
"browser": "./lib/marked.umd.js",
|
2020-10-21 09:50:40 -05:00
|
|
|
"bin": {
|
2021-11-02 07:32:17 -07:00
|
|
|
"marked": "bin/marked.js"
|
2020-10-21 09:50:40 -05:00
|
|
|
},
|
2012-01-27 15:53:57 -06:00
|
|
|
"man": "./man/marked.1",
|
2018-10-28 18:27:11 -04:00
|
|
|
"files": [
|
|
|
|
"bin/",
|
|
|
|
"lib/",
|
2019-11-06 14:57:24 -06:00
|
|
|
"src/",
|
2018-10-28 18:27:11 -04:00
|
|
|
"man/",
|
|
|
|
"marked.min.js"
|
|
|
|
],
|
2021-11-02 07:32:17 -07:00
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"import": "./lib/marked.esm.js",
|
|
|
|
"default": "./lib/marked.cjs"
|
|
|
|
},
|
2022-10-30 23:14:31 +01:00
|
|
|
"./bin/marked": "./bin/marked.js",
|
2021-11-02 07:32:17 -07:00
|
|
|
"./package.json": "./package.json"
|
|
|
|
},
|
2018-02-15 13:24:49 -05:00
|
|
|
"repository": "git://github.com/markedjs/marked.git",
|
2018-03-22 12:33:05 -04:00
|
|
|
"homepage": "https://marked.js.org",
|
2017-12-01 11:23:27 -05:00
|
|
|
"bugs": {
|
2018-02-15 13:24:49 -05:00
|
|
|
"url": "http://github.com/markedjs/marked/issues"
|
2017-12-01 11:23:27 -05:00
|
|
|
},
|
2013-12-28 16:09:34 -08:00
|
|
|
"license": "MIT",
|
2017-12-01 11:23:27 -05:00
|
|
|
"keywords": [
|
|
|
|
"markdown",
|
|
|
|
"markup",
|
|
|
|
"html"
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"markdown",
|
|
|
|
"markup",
|
|
|
|
"html"
|
|
|
|
],
|
2013-03-01 17:25:28 +08:00
|
|
|
"devDependencies": {
|
2023-05-29 10:58:19 -05:00
|
|
|
"@babel/core": "^7.22.1",
|
2023-05-29 12:01:34 -05:00
|
|
|
"@babel/preset-env": "^7.22.4",
|
2022-04-25 21:59:11 -05:00
|
|
|
"@markedjs/html-differ": "^4.0.2",
|
2022-11-28 09:54:47 -06:00
|
|
|
"@rollup/plugin-babel": "^6.0.3",
|
2023-06-05 11:00:55 -05:00
|
|
|
"@semantic-release/commit-analyzer": "^10.0.0",
|
2021-11-01 10:01:50 -05:00
|
|
|
"@semantic-release/git": "^10.0.1",
|
2023-06-12 18:26:23 -06:00
|
|
|
"@semantic-release/github": "^9.0.3",
|
2023-05-01 23:30:44 -05:00
|
|
|
"@semantic-release/npm": "^10.0.3",
|
2023-05-29 10:58:02 -05:00
|
|
|
"@semantic-release/release-notes-generator": "^11.0.2",
|
2022-06-27 12:00:05 -05:00
|
|
|
"cheerio": "^1.0.0-rc.12",
|
2021-06-25 16:14:09 -04:00
|
|
|
"commonmark": "0.30.0",
|
2023-06-05 11:00:40 -05:00
|
|
|
"eslint": "^8.42.0",
|
2023-06-06 00:39:57 -05:00
|
|
|
"eslint-config-standard": "^17.1.0",
|
2023-01-23 14:40:16 -06:00
|
|
|
"eslint-plugin-import": "^2.27.5",
|
2023-04-04 00:58:47 -05:00
|
|
|
"eslint-plugin-n": "^15.7.0",
|
2022-10-25 00:53:34 -05:00
|
|
|
"eslint-plugin-promise": "^6.1.1",
|
2020-07-13 08:48:14 -05:00
|
|
|
"front-matter": "^4.0.2",
|
2023-05-01 15:16:39 -05:00
|
|
|
"highlight.js": "^11.8.0",
|
2023-05-22 15:47:14 -05:00
|
|
|
"jasmine": "^5.0.0",
|
2022-05-09 10:47:12 -05:00
|
|
|
"markdown-it": "13.0.1",
|
2023-03-13 19:09:54 -05:00
|
|
|
"node-fetch": "^3.3.1",
|
2023-06-06 23:18:50 -05:00
|
|
|
"recheck": "^4.4.5",
|
2023-05-22 14:12:29 -05:00
|
|
|
"rollup": "^3.23.0",
|
2023-06-05 12:31:05 -05:00
|
|
|
"semantic-release": "^21.0.3",
|
2021-11-12 00:44:18 -06:00
|
|
|
"titleize": "^3.0.0",
|
2022-10-31 10:02:45 -05:00
|
|
|
"uglify-js": "^3.17.4",
|
2019-11-06 14:34:27 -06:00
|
|
|
"vuln-regex-detector": "^1.3.0"
|
2013-03-01 17:25:28 +08:00
|
|
|
},
|
2017-12-01 11:23:27 -05:00
|
|
|
"scripts": {
|
2019-11-06 12:15:12 -06:00
|
|
|
"test": "jasmine --config=jasmine.json",
|
2019-11-05 15:30:38 -06:00
|
|
|
"test:all": "npm test && npm run test:lint",
|
2018-03-04 00:47:02 -06:00
|
|
|
"test:unit": "npm test -- test/unit/**/*-spec.js",
|
|
|
|
"test:specs": "npm test -- test/specs/**/*-spec.js",
|
2021-11-02 07:32:17 -07:00
|
|
|
"test:lint": "eslint .",
|
2023-06-06 23:18:50 -05:00
|
|
|
"test:redos": "node test/recheck.js > vuln.js",
|
2019-04-25 13:17:01 -05:00
|
|
|
"test:update": "node test/update-specs.js",
|
2020-06-19 10:33:24 -05:00
|
|
|
"rules": "node test/rules.js",
|
2019-11-06 11:11:06 -06:00
|
|
|
"bench": "npm run rollup && node test/bench.js",
|
2021-11-02 07:32:17 -07:00
|
|
|
"lint": "eslint --fix .",
|
2021-11-12 22:32:14 -06:00
|
|
|
"build:reset": "git checkout upstream/master lib/marked.cjs lib/marked.umd.js lib/marked.esm.js marked.min.js",
|
2019-11-06 14:00:06 -06:00
|
|
|
"build": "npm run rollup && npm run minify",
|
2020-08-16 23:04:05 -04:00
|
|
|
"build:docs": "node build-docs.js",
|
2022-11-10 19:46:16 -06:00
|
|
|
"rollup": "rollup -c rollup.config.js",
|
2023-01-14 00:33:13 -06:00
|
|
|
"minify": "uglifyjs lib/marked.umd.js -cm --comments /Copyright/ -o marked.min.js"
|
2018-02-11 14:19:29 +01:00
|
|
|
},
|
|
|
|
"engines": {
|
2023-05-01 23:27:33 -05:00
|
|
|
"node": ">= 18"
|
2017-12-01 11:23:27 -05:00
|
|
|
}
|
2011-08-10 21:50:25 -05:00
|
|
|
}
|