UNPKG

tscpaths

Version:

Replace absolute paths to relative paths after typescript compilation

59 lines (58 loc) 1.67 kB
{ "name": "tscpaths", "version": "0.0.9", "description": "Replace absolute paths to relative paths after typescript compilation", "main": "cjs/index.js", "module": "lib/index.js", "types": "lib/index.d.ts", "bin": { "tscpaths": "cjs/index.js" }, "scripts": { "build": "yarn build:esm && yarn build:cjs", "build:esm": "tsc -p ./tsconfig.esm.json", "build:cjs": "tsc -p ./tsconfig.cjs.json", "clear": "rm -rf ./lib ./cjs ./coverage", "format": "prettier --write \"./*.{js,jsx,ts,tsx}\" \"./src/**/*.{js,jsx,ts,tsx}\"", "lint": "tslint -c ./tslint.json \"src/**/*\"", "lint:fix": "tslint --fix -c ./tslint.json \"src/**/*\"", "start": "yarn clear && yarn format && yarn lint:fix && yarn test && yarn build", "test": "jest", "test:coverage": "jest --coverage", "test:watch": "jest --watch" }, "repository": { "type": "git", "url": "https://github.com/joonhocho/tscpaths.git" }, "keywords": [ "typescript", "paths", "alias", "absolute path", "relative path", "compilation", "tsc" ], "author": "Joon Ho Cho <joonho1101@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/joonhocho/tscpaths/issues" }, "homepage": "https://github.com/joonhocho/tscpaths#readme", "devDependencies": { "@types/jest": "^24.0.12", "@types/node": "^12.0.0", "jest": "^24.8.0", "prettier": "^1.17.0", "ts-jest": "^24.0.2", "tslint": "^5.16.0", "tslint-config-airbnb": "^5.11.1", "tslint-config-prettier": "^1.18.0", "typescript": "^3.4.5" }, "dependencies": { "commander": "^2.20.0", "globby": "^9.2.0" } }