UNPKG

vite-plugin-fakery

Version:

Vite plugin to mock frontend APIs with realistic data from Faker

83 lines (82 loc) 2.13 kB
{ "name": "vite-plugin-fakery", "version": "1.1.0", "description": "Vite plugin to mock frontend APIs with realistic data from Faker", "module": "./dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist" ], "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs" } }, "scripts": { "dev": "unbuild --stub", "build": "unbuild", "test": "vitest", "test:run": "vitest run", "test:coverage": "vitest run --coverage", "test:ui": "vitest --ui", "lint": "eslint 'src/**/*.{js,ts}'", "prepare": "husky" }, "keywords": [ "vite", "vite-plugin", "plugin", "faker", "mock", "mock api", "api mocking", "mock server", "vite mock", "vite mock api", "vite faker", "vite faker api", "fake data", "mock data", "frontend mock", "api simulator", "development server", "local api", "test api", "vite plugin fakery" ], "author": "Caleb Pierce - https://calebpierce.dev", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/ridgehkr/vite-plugin-fakery.git" }, "bugs": { "url": "https://github.com/ridgehkr/vite-plugin-fakery/issues" }, "homepage": "https://vite-plugin-fakery.netlify.app", "peerDependencies": { "vite": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0" }, "devDependencies": { "@types/node": "^22.15.32", "@typescript-eslint/eslint-plugin": "^8.34.1", "@typescript-eslint/parser": "^8.34.1", "@vitest/ui": "^3.2.4", "eslint": "^9.29.0", "eslint-config-prettier": "^10.1.5", "eslint-plugin-html": "^8.1.3", "eslint-plugin-prettier": "^5.5.0", "husky": "^9.1.7", "prettier": "^3.5.3", "typescript": "^5.8.3", "unbuild": "^3.5.0", "vitest": "^3.2.4" }, "packageManager": "pnpm@10.12.1+sha512.f0dda8580f0ee9481c5c79a1d927b9164f2c478e90992ad268bbb2465a736984391d6333d2c327913578b2804af33474ca554ba29c04a8b13060a717675ae3ac", "dependencies": { "@faker-js/faker": "^9.8.0", "quick-lru": "^7.0.1" } }