2011-07-24 13:15:35 +00:00
|
|
|
{
|
|
|
|
"name": "marked",
|
2011-08-24 16:38:27 +00:00
|
|
|
"description": "A markdown parser built for speed",
|
2011-07-24 13:15:35 +00:00
|
|
|
"author": "Christopher Jeffrey",
|
2024-09-08 15:31:54 +00:00
|
|
|
"version": "14.1.2",
|
2021-11-02 14:32:17 +00:00
|
|
|
"type": "module",
|
2021-11-11 02:33:22 +00:00
|
|
|
"main": "./lib/marked.cjs",
|
2021-08-04 21:34:34 +00:00
|
|
|
"module": "./lib/marked.esm.js",
|
2021-11-12 21:38:04 +00:00
|
|
|
"browser": "./lib/marked.umd.js",
|
2023-07-29 06:31:34 +00:00
|
|
|
"types": "./lib/marked.d.ts",
|
2020-10-21 14:50:40 +00:00
|
|
|
"bin": {
|
2021-11-02 14:32:17 +00:00
|
|
|
"marked": "bin/marked.js"
|
2020-10-21 14:50:40 +00:00
|
|
|
},
|
2012-01-27 21:53:57 +00:00
|
|
|
"man": "./man/marked.1",
|
2018-10-28 22:27:11 +00:00
|
|
|
"files": [
|
|
|
|
"bin/",
|
|
|
|
"lib/",
|
|
|
|
"man/",
|
|
|
|
"marked.min.js"
|
|
|
|
],
|
2021-11-02 14:32:17 +00:00
|
|
|
"exports": {
|
|
|
|
".": {
|
2023-10-31 01:55:04 +00:00
|
|
|
"import": {
|
|
|
|
"types": "./lib/marked.d.ts",
|
|
|
|
"default": "./lib/marked.esm.js"
|
|
|
|
},
|
|
|
|
"default": {
|
|
|
|
"types": "./lib/marked.d.cts",
|
|
|
|
"default": "./lib/marked.cjs"
|
|
|
|
}
|
2021-11-02 14:32:17 +00:00
|
|
|
},
|
2022-10-30 22:14:31 +00:00
|
|
|
"./bin/marked": "./bin/marked.js",
|
2023-10-11 20:22:24 +00:00
|
|
|
"./marked.min.js": "./marked.min.js",
|
2021-11-02 14:32:17 +00:00
|
|
|
"./package.json": "./package.json"
|
|
|
|
},
|
2024-05-29 17:29:20 +00:00
|
|
|
"publishConfig": {
|
|
|
|
"provenance": true
|
|
|
|
},
|
2018-02-15 18:24:49 +00:00
|
|
|
"repository": "git://github.com/markedjs/marked.git",
|
2018-03-22 16:33:05 +00:00
|
|
|
"homepage": "https://marked.js.org",
|
2017-12-01 16:23:27 +00:00
|
|
|
"bugs": {
|
2018-02-15 18:24:49 +00:00
|
|
|
"url": "http://github.com/markedjs/marked/issues"
|
2017-12-01 16:23:27 +00:00
|
|
|
},
|
2013-12-29 00:09:34 +00:00
|
|
|
"license": "MIT",
|
2017-12-01 16:23:27 +00:00
|
|
|
"keywords": [
|
|
|
|
"markdown",
|
|
|
|
"markup",
|
|
|
|
"html"
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"markdown",
|
|
|
|
"markup",
|
|
|
|
"html"
|
|
|
|
],
|
2013-03-01 09:25:28 +00:00
|
|
|
"devDependencies": {
|
2024-09-16 17:54:13 +00:00
|
|
|
"@arethetypeswrong/cli": "^0.16.2",
|
2024-09-23 15:54:19 +00:00
|
|
|
"@markedjs/eslint-config": "^1.0.4",
|
2024-09-04 07:17:44 +00:00
|
|
|
"@markedjs/testutils": "14.1.1-0",
|
2023-10-09 16:58:26 +00:00
|
|
|
"@rollup/plugin-terser": "^0.4.4",
|
2024-09-23 15:54:03 +00:00
|
|
|
"@rollup/plugin-typescript": "^12.1.0",
|
2024-06-03 18:40:48 +00:00
|
|
|
"@semantic-release/commit-analyzer": "^13.0.0",
|
2021-11-01 15:01:50 +00:00
|
|
|
"@semantic-release/git": "^10.0.1",
|
2024-09-16 17:52:32 +00:00
|
|
|
"@semantic-release/github": "^10.3.4",
|
2024-05-13 18:54:23 +00:00
|
|
|
"@semantic-release/npm": "^12.0.1",
|
2024-06-25 01:44:40 +00:00
|
|
|
"@semantic-release/release-notes-generator": "^14.0.1",
|
2024-08-12 16:44:00 +00:00
|
|
|
"cheerio": "1.0.0",
|
2024-08-05 21:40:41 +00:00
|
|
|
"commonmark": "0.31.1",
|
2023-07-29 06:31:34 +00:00
|
|
|
"cross-env": "^7.0.3",
|
2024-04-23 00:38:49 +00:00
|
|
|
"dts-bundle-generator": "^9.5.1",
|
2024-09-23 15:54:30 +00:00
|
|
|
"eslint": "^9.11.0",
|
2024-07-08 15:40:43 +00:00
|
|
|
"highlight.js": "^11.10.0",
|
2024-04-01 22:14:49 +00:00
|
|
|
"markdown-it": "14.1.0",
|
2024-08-12 16:44:42 +00:00
|
|
|
"marked-highlight": "^2.1.4",
|
2024-04-23 00:40:08 +00:00
|
|
|
"marked-man": "^2.1.0",
|
2023-07-31 22:29:31 +00:00
|
|
|
"node-fetch": "^3.3.2",
|
2023-06-07 04:18:50 +00:00
|
|
|
"recheck": "^4.4.5",
|
2024-09-23 15:54:38 +00:00
|
|
|
"rollup": "^4.22.4",
|
2024-09-16 17:54:38 +00:00
|
|
|
"semantic-release": "^24.1.1",
|
2023-09-04 15:24:56 +00:00
|
|
|
"titleize": "^4.0.0",
|
2023-07-29 06:31:34 +00:00
|
|
|
"ts-expect": "^1.3.0",
|
2024-08-26 15:53:12 +00:00
|
|
|
"tslib": "^2.7.0",
|
2024-09-23 15:54:59 +00:00
|
|
|
"typescript": "5.6.2"
|
2013-03-01 09:25:28 +00:00
|
|
|
},
|
2017-12-01 16:23:27 +00:00
|
|
|
"scripts": {
|
2024-07-14 06:38:17 +00:00
|
|
|
"bench": "npm run build && node test/bench.js",
|
|
|
|
"build": "npm run rollup && npm run build:types && npm run build:man",
|
|
|
|
"build:docs": "npm run build && node docs/build.js",
|
|
|
|
"build:man": "marked-man man/marked.1.md > man/marked.1",
|
|
|
|
"build:reset": "git checkout upstream/master lib/marked.cjs lib/marked.umd.js lib/marked.esm.js marked.min.js",
|
2024-08-26 03:54:03 +00:00
|
|
|
"build:types": "tsc && dts-bundle-generator --export-referenced-types --project tsconfig.json -o lib/marked.d.ts src/marked.ts && dts-bundle-generator --export-referenced-types --project tsconfig.json -o lib/marked.d.cts src/marked.ts",
|
2024-07-14 06:38:17 +00:00
|
|
|
"lint": "eslint --fix",
|
|
|
|
"rollup": "rollup -c rollup.config.js",
|
|
|
|
"rules": "node test/rules.js",
|
2023-11-11 05:49:27 +00:00
|
|
|
"test": "npm run build && npm run test:specs && npm run test:unit",
|
2023-08-07 22:50:43 +00:00
|
|
|
"test:all": "npm test && npm run test:umd && npm run test:types && npm run test:lint",
|
2024-07-14 06:38:17 +00:00
|
|
|
"test:lint": "eslint",
|
|
|
|
"test:only": "npm run build && npm run test:specs:only && npm run test:unit:only",
|
2023-06-07 04:18:50 +00:00
|
|
|
"test:redos": "node test/recheck.js > vuln.js",
|
2024-07-14 06:38:17 +00:00
|
|
|
"test:specs:only": "node --test --test-only --test-reporter=spec test/run-spec-tests.js",
|
|
|
|
"test:specs": "node --test --test-reporter=spec test/run-spec-tests.js",
|
2023-10-31 01:55:04 +00:00
|
|
|
"test:types": "tsc --project tsconfig-type-test.json && attw -P --exclude-entrypoints ./bin/marked ./marked.min.js",
|
2023-08-07 22:50:43 +00:00
|
|
|
"test:umd": "node test/umd-test.js",
|
2024-07-14 06:38:17 +00:00
|
|
|
"test:unit:only": "node --test --test-only --test-reporter=spec test/unit/*.test.js",
|
|
|
|
"test:unit": "node --test --test-reporter=spec test/unit/*.test.js",
|
|
|
|
"test:update": "node test/update-specs.js"
|
2018-02-11 13:19:29 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
2023-11-11 05:49:27 +00:00
|
|
|
"node": ">= 18"
|
2017-12-01 16:23:27 +00:00
|
|
|
}
|
2011-08-11 02:50:25 +00:00
|
|
|
}
|