@bleed-believer/path-alias
Version:
Assign path alias using tsconfig.json file
72 lines (71 loc) • 1.76 kB
JSON
{
"name": "@bleed-believer/path-alias",
"version": "2.3.2",
"description": "Assign path alias using tsconfig.json file",
"type": "module",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./utils": {
"types": "./dist/utils.d.ts",
"import": "./dist/utils.js"
}
},
"bin": {
"bb-path-alias": "./dist/cli.js"
},
"scripts": {
"test": "node --run clean && swc ./src -d ./dist --strip-leading-paths && tsc && ava",
"build": "node --run clean && swc ./src -d ./dist --strip-leading-paths --config-file .build.swcrc && tsc -p tsconfig.build.json",
"clean": "rm -rf ./dist",
"check": "tsc --noEmit",
"prepare": "node --run test && node --run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sleep-written/bleed-believer-path-alias.git"
},
"keywords": [
"ts",
"typescript",
"tsconfig",
"ts-config",
"tsconfig.json",
"path",
"alias",
"mapping"
],
"publishConfig": {
"access": "public"
},
"author": "sleep-written",
"license": "MIT",
"engines": {
"node": ">=20.0.0"
},
"bugs": {
"url": "https://github.com/sleep-written/bleed-believer-path-alias/issues"
},
"homepage": "https://github.com/sleep-written/bleed-believer-path-alias#readme",
"devDependencies": {
"@swc/cli": "^0.7.7",
"@types/micromatch": "^4.0.9",
"@types/node": "^24.0.3",
"ava": "^6.4.0",
"typescript": "^5.8.3"
},
"dependencies": {
"@swc/core": "^1.12.1",
"fast-glob": "^3.3.3",
"get-tsconfig": "^4.10.1",
"micromatch": "^4.0.8",
"tslog": "^4.9.3"
}
}