This creates a new package called @babel/highlight which syntax highlights JavaScript code for terminal output. This functionality was already present in @babel/code-frame, but exposing it as a separate package lets other projects leverage it. @babel/code-frame has been refactored slightly so that it uses @babel/highlight to do its syntax highlighting.
19 lines
508 B
JSON
19 lines
508 B
JSON
{
|
|
"name": "@babel/highlight",
|
|
"version": "7.0.0-beta.39",
|
|
"description": "Syntax highlight JavaScript strings for output in terminals.",
|
|
"author": "suchipi <me@suchipi.com>",
|
|
"homepage": "https://babeljs.io/",
|
|
"license": "MIT",
|
|
"repository": "https://github.com/babel/babel/tree/master/packages/babel-highlight",
|
|
"main": "lib/index.js",
|
|
"dependencies": {
|
|
"chalk": "^2.0.0",
|
|
"esutils": "^2.0.2",
|
|
"js-tokens": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"strip-ansi": "^4.0.0"
|
|
}
|
|
}
|