Huáng Jùnliàng f2da186714
refactor: add @babel/helper-validator-option (#12006)
* refactor: add @babel/helper-validator-option

* refactor: simplify validateTopLevelOptions

* perf: the recursive version is not practically fast

* Update packages/babel-helper-validator-option/README.md

Co-authored-by: Brian Ng <bng412@gmail.com>

* Update packages/babel-helper-validator-option/src/validator.js

* fix: incorrect type annotation

* refactor: use babel/helper-option-validator in babel/compat-data

* chore: fix flow types error

* Address review comments

* address review comments

Co-authored-by: Brian Ng <bng412@gmail.com>
2020-09-24 16:23:35 -04:00

37 lines
910 B
JSON

{
"name": "@babel/helper-compilation-targets",
"version": "7.10.4",
"author": "The Babel Team (https://babeljs.io/team)",
"license": "MIT",
"description": "Engine compat data used in @babel/preset-env",
"repository": {
"type": "git",
"url": "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-compilation-targets"
},
"main": "lib/index.js",
"exports": {
".": "./lib/index.js"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"babel",
"babel-plugin"
],
"dependencies": {
"@babel/compat-data": "workspace:^7.10.4",
"@babel/helper-validator-option": "workspace:^7.11.4",
"browserslist": "^4.12.0",
"semver": "^5.5.0"
},
"peerDependencies": {
"@babel/core": "^7.0.0"
},
"devDependencies": {
"@babel/core": "workspace:^7.10.4",
"@babel/helper-plugin-test-runner": "workspace:^7.10.4"
}
}