mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +00:00
Add a NodeJS script which amends Babel's fixtures in place to remove transform plugins which we don't support from `options.json` files. Where options are changed from the original, the script runs Babel transform with the new options to regenerate the fixture `output.js` files. Currently limited to transforming the fixtures for `babel-plugin-transform-class-properties` transform, but we can also enable it for other plugins if we wish in future, to get additional test coverage.
22 lines
766 B
JSON
22 lines
766 B
JSON
{
|
|
"name": "transform_conformance",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"vitest": "vitest"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.26.0",
|
|
"@babel/plugin-external-helpers": "^7.25.9",
|
|
"@babel/plugin-proposal-decorators": "^7.25.9",
|
|
"@babel/plugin-transform-arrow-functions": "^7.25.9",
|
|
"@babel/plugin-transform-class-properties": "^7.25.9",
|
|
"@babel/plugin-transform-class-static-block": "^7.26.0",
|
|
"@babel/plugin-transform-exponentiation-operator": "^7.25.9",
|
|
"@babel/plugin-transform-logical-assignment-operators": "^7.25.9",
|
|
"@babel/plugin-transform-optional-chaining": "^7.25.9",
|
|
"@babel/plugin-transform-private-methods": "^7.25.9",
|
|
"@babel/runtime": "^7.26.0"
|
|
}
|
|
}
|