UNPKG

convconv

Version:
68 lines (67 loc) 1.87 kB
{ "name": "convconv", "version": "0.3.8", "description": "Naming Conventions Converter", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": "./dist/cli.js", "man": [ "./man/convconv.1" ], "scripts": { "format": "npx prettier --write '**/*.ts'", "clean": "rm -rf dist", "test": "jest", "test:clean": "npm run clean && npm run test", "test:watch": "jest --watch", "test:cov": "jest --coverage", "build": "npm run build:version && npm run build:man && tsc", "build:version": "echo \"export function getVersion() { return {{VERSION}}; }\" | sed \"s/{{VERSION}}/$(cat package.json | jq .version)/\" > version.ts", "build:clean": "npm run clean && npm run build", "build:man": "cat man/convconv.roff | sed \"s/{{VERSION}}/$(cat package.json | jq .version -r)/\" > man/convconv.1", "prepublishOnly": "npm run test:clean && npm run build:clean" }, "repository": { "type": "git", "url": "git+https://github.com/thekhanj/convconv.git" }, "author": "Pooyan Khanjankhani <pooyankhan@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/thekhanj/convconv/issues" }, "keywords": [ "naming-convention", "naming-conventions" ], "files": [ "dist/*.d.ts", "dist/*.js", "dist/adapters/*.d.ts", "dist/adapters/*.js", "man/convconv.1" ], "homepage": "https://github.com/thekhanj/convconv#readme", "devDependencies": { "@types/jest": "^29.5.5", "jest": "^29.7.0", "ts-jest": "^29.1.1" }, "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "rootDir": ".", "testRegex": ".*\\.spec\\.ts$", "transform": { "^.+\\.(t|j)s$": "ts-jest" }, "collectCoverageFrom": [ "**/*.(t|j)s" ], "coverageDirectory": "coverage", "testEnvironment": "node" } }