interface-forge
Version:
A TypeScript library for creating strongly typed mock data factories using Faker.js for test data generation
120 lines (119 loc) • 3.53 kB
JSON
{
"name": "interface-forge",
"author": "Na'aman Hirschfeld",
"version": "2.7.0",
"license": "MIT",
"description": "A TypeScript library for creating strongly typed mock data factories using Faker.js for test data generation",
"keywords": [
"factory",
"testing",
"typescript",
"faker.js",
"faker",
"mock-data",
"test-data",
"fixtures",
"type-safe",
"mocking",
"zod",
"schema",
"validation"
],
"repository": {
"type": "git",
"url": "https://github.com/Goldziher/interface-forge"
},
"bugs": {
"url": "https://github.com/Goldziher/interface-forge/issues"
},
"homepage": "https://github.com/Goldziher/interface-forge#readme",
"files": [
"dist",
"examples",
"LICENSE",
"README.md"
],
"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",
"default": "./dist/index.mjs"
},
"./zod": {
"types": "./dist/zod.d.ts",
"import": "./dist/zod.mjs",
"require": "./dist/zod.js",
"default": "./dist/zod.mjs"
},
"./json-schema": {
"types": "./dist/json-schema.d.ts",
"import": "./dist/json-schema.mjs",
"require": "./dist/json-schema.js",
"default": "./dist/json-schema.mjs"
}
},
"engines": {
"node": ">=20.0.0"
},
"sideEffects": false,
"scripts": {
"build": "rimraf dist && vite build",
"clean": "rimraf dist",
"format": "prek run oxfmt --all-files",
"lint": "prek run oxlint --all-files",
"prepublishOnly": "pnpm build",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
"docs:start": "pnpm --filter docs start",
"docs:build": "pnpm --filter docs build",
"docs:serve": "pnpm --filter docs serve"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.58.7",
"@prisma/client": "^7.8.0",
"@types/node": "^25.9.1",
"@vitest/coverage-v8": "^4.1.7",
"ai-rulez": "^4.2.1",
"ajv": "^8.20.0",
"ajv-formats": "^3.0.1",
"docusaurus-plugin-typedoc": "^1.4.2",
"expect-type": "^1.3.0",
"http-server": "^14.1.1",
"mongoose": "^9.6.3",
"rimraf": "^6.1.3",
"type-fest": "^5.6.0",
"typedoc": "^0.28.19",
"typedoc-plugin-markdown": "^4.11.0",
"typescript": "^6.0.3",
"vite": "^8.0.14",
"vite-plugin-dts": "^5.0.1",
"vitest": "^4.1.7",
"zod": "^4.4.3"
},
"dependencies": {
"@faker-js/faker": "^10.4.0",
"@tool-belt/type-predicates": "^1.4.1"
},
"peerDependencies": {
"ajv": ">=8.0.0",
"ajv-formats": ">=3.0.0",
"zod": ">=3.0.0"
},
"peerDependenciesMeta": {
"ajv": {
"optional": true
},
"ajv-formats": {
"optional": true
},
"zod": {
"optional": true
}
},
"packageManager": "pnpm@11.4.0+sha512.f0febc7e37552ab485494a914241b338e0b3580b93d54ce31f00933015880863129038a1b4ae4e414a0ee63ac35bf21197e990172c4a68256450b5636310968f"
}