babel-plugin-transform-syntax-highlight
Version:
Perform syntax highlighting of string and template literals during Babel compilation, rather than at runtime
80 lines (79 loc) • 1.97 kB
JSON
{
"name": "babel-plugin-transform-syntax-highlight",
"version": "0.1.0",
"description": "Perform syntax highlighting of string and template literals during Babel compilation, rather than at runtime",
"main": "index.js",
"scripts": {
"precommit": "lint-staged",
"lint": "eslint index.js test lib",
"format": "prettier --write --single-quote '{lib/**/,test/**/,}*.js'",
"start": "budo test/manual.js -d -l -- -t babelify",
"jest": "jest",
"pretest": "npm run lint",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/davidtheclark/babel-plugin-transform-syntax-highlight.git"
},
"author": "David Clark",
"license": "MIT",
"bugs": {
"url": "https://github.com/davidtheclark/babel-plugin-transform-syntax-highlight/issues"
},
"homepage": "https://github.com/davidtheclark/babel-plugin-transform-syntax-highlight#readme",
"dependencies": {
"babylon": "^6.17.3",
"balanced-match": "^1.0.0",
"highlight.js": "^9.12.0",
"htmltojsx": "^0.2.6",
"lodash": "^4.17.4",
"prismjs": "^1.6.0",
"strip-indent": "^2.0.0"
},
"devDependencies": {
"babel-core": "^6.25.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babelify": "^7.3.0",
"budo": "^10.0.3",
"eslint": "^4.0.0",
"eslint-plugin-node": "^5.0.0",
"husky": "^0.13.4",
"jest": "^20.0.4",
"lint-staged": "^3.6.1",
"prettier": "^1.4.4",
"react": "^15.6.1",
"react-dom": "^15.6.1"
},
"lint-staged": {
"{lib/**/,test/**/,}*.js": [
"prettier --single-quote --write",
"git add"
]
},
"babel": {
"presets": [
"es2015",
"react"
],
"plugins": [
"./index.js"
]
},
"jest": {
"coverageReporters": [
"json",
"lcov",
"text",
"html"
],
"resetMocks": true,
"roots": [
"./test"
]
},
"engines": {
"node": ">=4"
}
}