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.
18 lines
525 B
JSON
18 lines
525 B
JSON
{
|
|
"name": "@babel/code-frame",
|
|
"version": "7.0.0-beta.39",
|
|
"description": "Generate errors that contain a code frame that point to source locations.",
|
|
"author": "Sebastian McKenzie <sebmck@gmail.com>",
|
|
"homepage": "https://babeljs.io/",
|
|
"license": "MIT",
|
|
"repository": "https://github.com/babel/babel/tree/master/packages/babel-code-frame",
|
|
"main": "lib/index.js",
|
|
"dependencies": {
|
|
"@babel/highlight": "7.0.0-beta.39"
|
|
},
|
|
"devDependencies": {
|
|
"chalk": "^2.0.0",
|
|
"strip-ansi": "^4.0.0"
|
|
}
|
|
}
|