109 lines
3.5 KiB
JSON
109 lines
3.5 KiB
JSON
|
{
|
||
|
"name": "marked",
|
||
|
"description": "A markdown parser built for speed",
|
||
|
"author": "Christopher Jeffrey",
|
||
|
"version": "11.1.1",
|
||
|
"type": "module",
|
||
|
"main": "./lib/marked.cjs",
|
||
|
"module": "./lib/marked.esm.js",
|
||
|
"browser": "./lib/marked.umd.js",
|
||
|
"types": "./lib/marked.d.ts",
|
||
|
"bin": {
|
||
|
"marked": "bin/marked.js"
|
||
|
},
|
||
|
"man": "./man/marked.1",
|
||
|
"files": [
|
||
|
"bin/",
|
||
|
"lib/",
|
||
|
"man/",
|
||
|
"marked.min.js"
|
||
|
],
|
||
|
"exports": {
|
||
|
".": {
|
||
|
"import": {
|
||
|
"types": "./lib/marked.d.ts",
|
||
|
"default": "./lib/marked.esm.js"
|
||
|
},
|
||
|
"default": {
|
||
|
"types": "./lib/marked.d.cts",
|
||
|
"default": "./lib/marked.cjs"
|
||
|
}
|
||
|
},
|
||
|
"./bin/marked": "./bin/marked.js",
|
||
|
"./marked.min.js": "./marked.min.js",
|
||
|
"./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": {
|
||
|
"@markedjs/testutils": "9.1.5-0",
|
||
|
"@arethetypeswrong/cli": "^0.13.5",
|
||
|
"@rollup/plugin-terser": "^0.4.4",
|
||
|
"@rollup/plugin-typescript": "^11.1.5",
|
||
|
"@semantic-release/commit-analyzer": "^11.1.0",
|
||
|
"@semantic-release/git": "^10.0.1",
|
||
|
"@semantic-release/github": "^9.2.6",
|
||
|
"@semantic-release/npm": "^11.0.2",
|
||
|
"@semantic-release/release-notes-generator": "^12.1.0",
|
||
|
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
||
|
"@typescript-eslint/parser": "^6.13.2",
|
||
|
"cheerio": "^1.0.0-rc.12",
|
||
|
"commonmark": "0.30.0",
|
||
|
"cross-env": "^7.0.3",
|
||
|
"dts-bundle-generator": "^9.0.0",
|
||
|
"eslint": "^8.56.0",
|
||
|
"eslint-config-standard": "^17.1.0",
|
||
|
"eslint-plugin-import": "^2.29.1",
|
||
|
"eslint-plugin-n": "^16.5.0",
|
||
|
"eslint-plugin-promise": "^6.1.1",
|
||
|
"highlight.js": "^11.9.0",
|
||
|
"markdown-it": "13.0.2",
|
||
|
"marked-highlight": "^2.1.0",
|
||
|
"marked-man": "^2.0.0",
|
||
|
"node-fetch": "^3.3.2",
|
||
|
"recheck": "^4.4.5",
|
||
|
"rollup": "^4.9.1",
|
||
|
"semantic-release": "^22.0.12",
|
||
|
"titleize": "^4.0.0",
|
||
|
"ts-expect": "^1.3.0",
|
||
|
"typescript": "5.3.3"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "npm run build && npm run test:specs && npm run test:unit",
|
||
|
"test:all": "npm test && npm run test:umd && npm run test:types && npm run test:lint",
|
||
|
"test:unit": "node --test --test-reporter=spec test/unit",
|
||
|
"test:specs": "node --test --test-reporter=spec test/run-spec-tests.js",
|
||
|
"test:lint": "eslint .",
|
||
|
"test:redos": "node test/recheck.js > vuln.js",
|
||
|
"test:types": "tsc --project tsconfig-type-test.json && attw -P --exclude-entrypoints ./bin/marked ./marked.min.js",
|
||
|
"test:umd": "node test/umd-test.js",
|
||
|
"test:update": "node test/update-specs.js",
|
||
|
"rules": "node test/rules.js",
|
||
|
"bench": "npm run build && 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 build:types && npm run build:man",
|
||
|
"build:docs": "npm run build && node docs/build.js",
|
||
|
"build:types": "tsc && dts-bundle-generator --project tsconfig.json -o lib/marked.d.ts src/marked.ts && dts-bundle-generator --project tsconfig.json -o lib/marked.d.cts src/marked.ts",
|
||
|
"build:man": "marked-man man/marked.1.md > man/marked.1",
|
||
|
"rollup": "rollup -c rollup.config.js"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">= 18"
|
||
|
}
|
||
|
}
|