marked/package.json

111 lines
3.7 KiB
JSON
Raw Normal View History

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",
"version": "14.1.2",
"type": "module",
"main": "./lib/marked.cjs",
"module": "./lib/marked.esm.js",
"browser": "./lib/marked.umd.js",
"types": "./lib/marked.d.ts",
2020-10-21 14:50:40 +00:00
"bin": {
"marked": "bin/marked.js"
2020-10-21 14:50:40 +00:00
},
"man": "./man/marked.1",
2018-10-28 22:27:11 +00:00
"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"
}
},
2022-10-30 22:14:31 +00:00
"./bin/marked": "./bin/marked.js",
"./marked.min.js": "./marked.min.js",
"./package.json": "./package.json"
},
"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
},
"license": "MIT",
2017-12-01 16:23:27 +00:00
"keywords": [
"markdown",
"markup",
"html"
],
"tags": [
"markdown",
"markup",
"html"
],
"devDependencies": {
"@arethetypeswrong/cli": "^0.16.2",
"@markedjs/eslint-config": "^1.0.4",
"@markedjs/testutils": "14.1.1-0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.0",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^10.3.4",
"@semantic-release/npm": "^12.0.1",
"@semantic-release/release-notes-generator": "^14.0.1",
"cheerio": "1.0.0",
"commonmark": "0.31.1",
"cross-env": "^7.0.3",
"dts-bundle-generator": "^9.5.1",
"eslint": "^9.11.0",
"highlight.js": "^11.10.0",
"markdown-it": "14.1.0",
"marked-highlight": "^2.1.4",
"marked-man": "^2.1.0",
"node-fetch": "^3.3.2",
2023-06-07 04:18:50 +00:00
"recheck": "^4.4.5",
"rollup": "^4.22.4",
"semantic-release": "^24.1.1",
"titleize": "^4.0.0",
"ts-expect": "^1.3.0",
"tslib": "^2.7.0",
"typescript": "5.6.2"
},
2017-12-01 16:23:27 +00:00
"scripts": {
"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",
"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",
"lint": "eslint --fix",
"rollup": "rollup -c rollup.config.js",
"rules": "node test/rules.js",
"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: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",
"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",
"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: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": {
"node": ">= 18"
2017-12-01 16:23:27 +00:00
}
2011-08-11 02:50:25 +00:00
}