ts-forged
Version:
Type-safe fake data generation from DTOs for TypeScript and NestJS
113 lines (112 loc) • 3.08 kB
JSON
{
"name": "ts-forged",
"version": "0.0.3",
"description": "Type-safe fake data generation from DTOs for TypeScript and NestJS",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"format": "prettier --write \"src/**/*.ts\"",
"prepublishOnly": "npm run build && npm run test && npm run lint",
"postpublish": "npm run changelog",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"changelog:first": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"prepare": "husky",
"release:patch": "npm run version:patch && npm run changelog && npm publish",
"release:minor": "npm run version:minor && npm run changelog && npm publish",
"release:major": "npm run version:major && npm run changelog && npm publish",
"dry-run": "npm pack"
},
"keywords": [
"typescript",
"nestjs",
"testing",
"fake-data",
"factory",
"dto",
"mock",
"fixture",
"test-data",
"type-safe",
"data-generation"
],
"author": {
"name": "Tyler Churchill",
"email": "tylerchurchill95@gmail.com",
"url": "https://www.tylerchurchill.com/"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Tyler-Churchill/ts-forged"
},
"homepage": "https://github.com/Tyler-Churchill/ts-forged#readme",
"bugs": {
"url": "https://github.com/Tyler-Churchill/ts-forged/issues"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
},
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/Tyler-Churchill"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"conventional-changelog-cli": "^4.1.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^16.1.2",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"tsup": "^8.0.2",
"typescript": "^5.5.4"
},
"dependencies": {
"@faker-js/faker": "^8.4.1",
"@nestjs/swagger": "^11.2.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.2",
"reflect-metadata": "^0.2.1"
},
"peerDependencies": {
"typescript": ">=4.9.0"
},
"lint-staged": {
"src/**/*.ts": [
"eslint --fix",
"prettier --write"
]
}
}