packages: add initial codemods package

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-06-01 21:36:46 +02:00
parent 1c085d4358
commit d131851373
5 changed files with 183 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
{
"name": "@backstage/codemods",
"description": "A collection of codemods for Backstage projects",
"version": "0.1.0",
"private": true,
"homepage": "https://backstage.io",
"repository": {
"type": "git",
"url": "https://github.com/backstage/backstage",
"directory": "packages/codemods"
},
"keywords": [
"backstage"
],
"license": "Apache-2.0",
"main": "src/index.ts",
"scripts": {
"start": "nodemon --",
"lint": "backstage-cli lint",
"test": "backstage-cli test",
"test:e2e": "yarn start"
},
"bin": {
"backstage-codemods": "bin/backstage-codemods"
},
"dependencies": {
"chalk": "^4.0.0",
"jscodeshift": "^0.12.0"
},
"devDependencies": {
"@types/node": "^14.14.32",
"commander": "^6.1.0",
"ts-node": "^9.1.1"
},
"nodemonConfig": {
"watch": "./src",
"exec": "bin/e2e-test",
"ext": "ts"
}
}