remark-prism
Version:
Syntax highlighter for markdown code blocks - with support for plugins
123 lines (122 loc) • 2.94 kB
JSON
{
"name": "remark-prism",
"version": "1.3.6",
"description": "Syntax highlighter for markdown code blocks - with support for plugins",
"license": "BSD-3-Clause",
"repository": "sergioramos/remark-prism",
"main": "src/index.js",
"keywords": [
"prismjs",
"markdown",
"remark",
"remarkjs",
"remark-plugin"
],
"publishConfig": {
"registry": "https://registry.npmjs.com",
"access": "public"
},
"scripts": {
"eslint": "eslint . --ext .js",
"fmt": "prettier --config package.json --write '**/*'",
"test": "NODE_ENV=test ava --serial"
},
"dependencies": {
"classnames": "^2.3.1",
"css-selector-parser": "^1.4.1",
"escape-html": "^1.0.3",
"jsdom": "^16.5.3",
"parse-numeric-range": "^1.2.0",
"parse5": "^6.0.1",
"parse5-htmlparser2-tree-adapter": "^6.0.1",
"prismjs": "^1.23.0",
"unist-util-map": "^2.0.1"
},
"devDependencies": {
"@babel/core": "^7.13.15",
"@babel/preset-react": "^7.13.13",
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"@mdx-js/mdx": "^2.0.0-next.9",
"@mdx-js/react": "^2.0.0-next.9",
"@rollup/plugin-virtual": "^2.0.3",
"apr-for-each": "^3.0.3",
"apr-parallel": "^3.0.3",
"ava": "^3.15.0",
"eslint": "^7.24.0",
"eslint-config-prettier": "^8.1.0",
"eslint-config-xo-space": "^0.27.0",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"mz": "^2.7.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"puppeteer": "^8.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rehype-format": "^3.1.0",
"rehype-stringify": "^8.0.0",
"remark-html": "^13.0.1",
"remark-parse": "^9.0.0",
"remark-rehype": "^8.1.0",
"remark-stringify": "^9.0.1",
"rollup": "^2.45.2",
"rollup-plugin-babel": "^4.4.0",
"serve": "^11.3.2",
"to-vfile": "^6.1.0",
"unified": "^9.2.1"
},
"resolutions": {
"fsevents": "1.2.13"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --config package.json --write",
"git add"
],
"*.*": [
"prettier --config package.json --write",
"git add"
]
},
"prettier": {
"bracketSpacing": true,
"jsxBracketSameLine": false,
"printWidth": 80,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"xo-space/esnext",
"prettier"
],
"rules": {
"new-cap": 0,
"camelcase": 0,
"capitalized-comments": 0,
"no-promise-executor-return": 0
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"body-max-line-length": [
0
]
}
}
}