ts-nameof
Version:
nameof in TypeScript
59 lines (58 loc) • 2.03 kB
JSON
{
"name": "ts-nameof",
"version": "5.0.0",
"description": "nameof in TypeScript",
"main": "dist/main.js",
"typings": "ts-nameof.d.ts",
"scripts": {
"clean": "rimraf dist && tsc --b --clean",
"build": "tsc --b && npm run build:declarations",
"build-test": "tsc --build && npm run --silent copy-test-files",
"test": "npm run build-test && mocha",
"test:debug": "npm run build-test && mocha --inspect-brk",
"copy-test-files": "rimraf temp && copyfiles -u 2 \"./src/tests/testFiles/**/*{.js,.txt}\" \"./temp\"",
"build:declarations": "ts-node --project scripts/tsconfig.json scripts/generation/main create-declaration-file && npm run --silent verify-declaration-file",
"verify-declaration-file": "ts-node --project scripts/tsconfig.json scripts/verification/main verify-declaration-file",
"dopublish": "npm run test && npm run build && npm run verify-declaration-file && echo \"run: npm publish --otp\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/dsherret/ts-nameof.git",
"directory": "packages/ts-nameof"
},
"keywords": [
"nameof",
"typescript",
"transformer",
"custom-transformer"
],
"author": "David Sherret",
"license": "MIT",
"bugs": {
"url": "https://github.com/dsherret/ts-nameof/issues"
},
"homepage": "https://github.com/dsherret/ts-nameof#readme",
"peerDependencies": {
"typescript": "*"
},
"dependencies": {
"@ts-nameof/common": "^4.2.0",
"@ts-nameof/transforms-ts": "^4.2.1",
"glob": "^7.1.6"
},
"devDependencies": {
"@ts-nameof/scripts-common": "^4.0.2",
"@ts-nameof/tests-common": "^4.2.0",
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^14.0.1",
"conditional-type-checks": "^1.0.5",
"copyfiles": "^2.2.0",
"mocha": "^7.1.2",
"prettier": "^1.19.1",
"rimraf": "^3.0.2",
"ts-morph": "^7.0.3",
"ts-node": "^8.10.1",
"typescript": "^3.9.2"
}
}