UNPKG

code-migration-helpers

Version:

Provides useful (but currently not thorough) code migration helpers

69 lines (68 loc) 2.2 kB
{ "name": "code-migration-helpers", "version": "0.6.1", "description": "Provides useful (but currently not thorough) code migration helpers", "author": { "email": "ywordk@gmail.com", "name": "softkave" }, "license": "MIT", "keywords": [ "code migration" ], "repository": { "type": "git", "url": "https://github.com/softkave/code-migration-helpers.git" }, "bugs": { "url": "https://github.com/softkave/code-migration-helpers/issues" }, "homepage": "https://github.com/softkave/code-migration-helpers", "type": "module", "exports": { ".": null }, "bin": "esm-bin/src/index.mjs", "files": [ "esm-bin/src/{*.mjs,**/*.mjs}" ], "scripts": { "test": "vitest --config ./vitest.config.ts", "clean-esm-bin": "rm -rf ./esm-bin", "compile-esm-bin": "tsc --project tsconfig-esm.json", "cp-pkg-esm-bin": "cp ./package.json ./esm-bin/package.json", "add-ext-esm-bin": "npx --yes -- tsx src/index.ts add-ext -f='./esm-bin' --to='.mjs'", "rename-ext-esm-bin": "npx --yes -- tsx src/index.ts rename-ext -f='./esm-bin' --from='.js' --to='.mjs'", "compile-esm": "npm run clean-esm-bin && npm run compile-esm-bin && npm run cp-pkg-esm-bin && npm run add-ext-esm-bin && npm run rename-ext-esm-bin", "start-esm": "node ./esm-bin/src/index.mjs", "lint": "gts lint", "fix": "gts fix", "posttest": "npm run lint", "compile": "npm run compile-esm", "start": "npm run start-esm", "check-circular-deps": "npx dpdm --no-warning --no-tree ./src/index.ts", "publish-to-npm": "npm run compile && npm publish", "publish-to-local": "npm run compile && yalc publish", "show-packlist": "npm run compile && npm pack --dry-run" }, "engines": { "node": ">=18" }, "devDependencies": { "@faker-js/faker": "^8.4.1", "@types/fs-extra": "^11.0.4", "@types/lodash-es": "^4.17.12", "@types/node": "20.11.5", "gts": "^5.3.0", "vitest": "^1.5.3" }, "dependencies": { "@isaacs/cliui": "^8.0.2", "case": "^1.6.3", "fs-extra": "^11.2.0", "lodash-es": "^4.17.21", "softkave-js-utils": "^0.7.0", "type-fest": "^4.18.0", "typescript": "^5.4.5" } }