mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* Use stable babel 8 * Update `@babel/preset-modules` * Do not use `useBuiltIns` * Update polyfill packages
149 lines
5.6 KiB
JSON
149 lines
5.6 KiB
JSON
{
|
|
"name": "babel",
|
|
"version": "8.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"postinstall": "node scripts/postinstall.ts",
|
|
"bootstrap": "make bootstrap",
|
|
"codesandbox:build": "make build-no-bundle",
|
|
"build": "make build",
|
|
"fix": "make fix",
|
|
"lint": "make lint",
|
|
"test": "make test",
|
|
"test-only": "make test-only",
|
|
"version": "yarn --immutable-cache && git add yarn.lock",
|
|
"test:esm": "node test/esm/index.ts",
|
|
"test:runtime:generate-absolute-runtime": "node test/runtime-integration/generate-absolute-runtime.cjs",
|
|
"test:runtime:bundlers": "node test/runtime-integration/bundlers.cjs",
|
|
"test:runtime:node": "node test/runtime-integration/node.cjs"
|
|
},
|
|
"packageManager": "[email protected]+sha512.64df448055b2d37ba269d7db535a469b8da93f8ef1140c25fd7a83c00a8fbaacb214ca0e02553b92a2c54cef78bb67d0b4817fab02001df0e24fac0faccc3b42",
|
|
"devDependencies": {
|
|
"$repo-utils": "link:./scripts/repo-utils",
|
|
"@actions/github": "9.1.1",
|
|
"@babel/cli": "^8.0.1",
|
|
"@babel/core": "^8.0.1",
|
|
"@babel/eslint-parser": "workspace:^",
|
|
"@babel/eslint-plugin-development": "workspace:^",
|
|
"@babel/eslint-plugin-development-internal": "workspace:^",
|
|
"@babel/plugin-transform-dynamic-import": "^8.0.1",
|
|
"@babel/plugin-transform-export-namespace-from": "^8.0.1",
|
|
"@babel/plugin-transform-json-modules": "^8.0.1",
|
|
"@babel/plugin-transform-modules-commonjs": "^8.0.1",
|
|
"@babel/plugin-transform-object-rest-spread": "^8.0.1",
|
|
"@babel/plugin-transform-runtime": "^8.0.1",
|
|
"@babel/preset-env": "^8.0.1",
|
|
"@babel/preset-typescript": "^8.0.1",
|
|
"@babel/runtime": "^8.0.0",
|
|
"@cspotcode/source-map-support": "^0.8.1",
|
|
"@eslint/js": "^10.0.1",
|
|
"@rollup/plugin-babel": "^7.0.0",
|
|
"@rollup/plugin-commonjs": "patch:@rollup/plugin-commonjs@npm%3A29.0.2#~/.yarn/patches/@rollup-plugin-commonjs-npm-29.0.2-18c3a497d8.patch",
|
|
"@rollup/plugin-json": "^6.1.0",
|
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
"@rollup/plugin-replace": "^6.0.3",
|
|
"@rollup/plugin-terser": "^1.0.0",
|
|
"@types/jest": "^29.5.11",
|
|
"@types/node": "^25.0.3",
|
|
"@types/shelljs": "^0.10.0",
|
|
"@yarnpkg/types": "^4.0.0",
|
|
"babel-plugin-transform-charcodes": "^0.2.1",
|
|
"c8": "^11.0.0",
|
|
"charcodes": "^0.2.0",
|
|
"core-js": "catalog:",
|
|
"eslint": "^10.0.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-formatter-codeframe": "^7.32.1",
|
|
"eslint-import-resolver-node": "^0.4.0",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"eslint-plugin-jest": "^29.15.0",
|
|
"eslint-plugin-n": "^17.24.0",
|
|
"eslint-plugin-regexp": "^3.0.0",
|
|
"eslint-plugin-unicorn": "^56.0.0",
|
|
"execa": "^9.0.0",
|
|
"glob": "^13.0.0",
|
|
"globals": "^17.6.0",
|
|
"gulp": "^5.0.1",
|
|
"husky": "^9.0.11",
|
|
"is-ci": "^4.1.0",
|
|
"jest": "^30.4.2",
|
|
"jest-light-runner": "^0.7.12",
|
|
"jest-worker": "^30.4.1",
|
|
"json5": "^2.2.3",
|
|
"knip": "^6.14.2",
|
|
"lint-staged": "^17.0.0",
|
|
"mergeiterator": "^1.4.4",
|
|
"open": "^11.0.0",
|
|
"p-limit": "^7.2.0",
|
|
"pkg-pr-new": "^0.0.54",
|
|
"prettier": "^3.8.1",
|
|
"publint": "^0.3.17",
|
|
"rollup": "^4.18.0",
|
|
"rollup-plugin-dts": "patch:rollup-plugin-dts@npm%3A6.1.0#~/.yarn/patches/rollup-plugin-dts-npm-6.1.0-6d41e665a7.patch",
|
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
"semver": "catalog:",
|
|
"shelljs": "^0.10.0",
|
|
"terser": "catalog:dev",
|
|
"test262-stream": "^1.4.0",
|
|
"tstyche": "^7.1.0",
|
|
"typescript": "catalog:dev",
|
|
"typescript-eslint": "8.60.0"
|
|
},
|
|
"workspaces": [
|
|
"codemods/*",
|
|
"eslint/*",
|
|
"packages/*",
|
|
"test/esm",
|
|
"test/runtime-integration/*",
|
|
"benchmark"
|
|
],
|
|
"resolutions": {
|
|
"browserslist": "4.28.1",
|
|
"caniuse-lite": "1.0.30001766",
|
|
"core-js-compat": "3.48.0",
|
|
"electron-to-chromium": "1.5.278",
|
|
"@types/babel__core": "link:./nope",
|
|
"@types/babel__traverse": "link:./nope",
|
|
"@types/eslint-scope": "link:./nope",
|
|
"@babel/parser/@babel/types": "workspace:*",
|
|
"@babel/plugin-syntax-unicode-sets-regex/@babel/helper-create-regexp-features-plugin": "workspace:*",
|
|
"interpret@npm:^2.2.0": "patch:interpret@npm%3A3.1.1#~/.yarn/patches/interpret-npm-3.1.1-715bac2bd7.patch",
|
|
"interpret@npm:^1.0.0": "patch:interpret@npm%3A3.1.1#~/.yarn/patches/interpret-npm-3.1.1-715bac2bd7.patch",
|
|
"interpret@npm:^3.1.1": "patch:interpret@npm%3A3.1.1#~/.yarn/patches/interpret-npm-3.1.1-715bac2bd7.patch",
|
|
"c8/yargs": "patch:yargs@npm%3A18.0.0#~/.yarn/patches/yargs-npm-18.0.0-ec82bf7b61.patch"
|
|
},
|
|
"engines": {
|
|
"yarn": ">=1.4.0"
|
|
},
|
|
"lint-staged": {
|
|
"./Makefile.source.ts": [
|
|
"node ./scripts/pack-script.ts --auto",
|
|
"git add Makefile.js"
|
|
],
|
|
"*.{js,cjs,mjs,ts,cts,mts}": [
|
|
"eslint --format=codeframe --cache --cache-strategy=content --flag unstable_native_nodejs_ts_config"
|
|
],
|
|
"*": [
|
|
"prettier --write --ignore-unknown"
|
|
]
|
|
},
|
|
"changelog": {
|
|
"repo": "babel/babel",
|
|
"cacheDir": ".changelog",
|
|
"labels": {
|
|
"PR: Spec Compliance :eyeglasses:": ":eyeglasses: Spec Compliance",
|
|
"PR: Breaking Change :boom:": ":boom: Breaking Change",
|
|
"PR: Deprecation :loudspeaker:": ":loudspeaker: Deprecation",
|
|
"PR: New Feature :rocket:": ":rocket: New Feature",
|
|
"PR: Bug Fix :bug:": ":bug: Bug Fix",
|
|
"PR: Polish :nail_care:": ":nail_care: Polish",
|
|
"PR: Docs :memo:": ":memo: Documentation",
|
|
"PR: Internal :house:": ":house: Internal",
|
|
"PR: Performance :running_woman:": ":running_woman: Performance",
|
|
"PR: Revert :leftwards_arrow_with_hook:": ":leftwards_arrow_with_hook: Revert",
|
|
"PR: Output optimization :microscope:": ":microscope: Output optimization"
|
|
}
|
|
}
|
|
}
|