supa-seed
Version:
A constraint-aware, framework-agnostic database seeding framework with deep PostgreSQL business logic discovery and MakerKit integration support
124 lines (123 loc) • 3.71 kB
JSON
{
"name": "supa-seed",
"version": "2.5.2",
"description": "A constraint-aware, framework-agnostic database seeding framework with deep PostgreSQL business logic discovery and MakerKit integration support",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"supa-seed": "dist/cli.js"
},
"files": [
"dist/**/*",
"schema.sql",
"schema-minimal.sql",
"schema-makerkit.sql",
".env.example",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"build:check": "tsc --noEmit",
"dev": "tsc --watch",
"clean": "rimraf dist",
"typecheck": "tsc --noEmit",
"lint": "echo 'Linting not configured yet'",
"validate": "npm run typecheck && npm run test",
"version:update": "bash scripts/update-version.sh",
"_prepublishOnly": "npm run clean && npm run build",
"seed": "tsx src/cli.ts seed",
"seed:minimal": "tsx src/cli.ts seed --users 3 --setups 1 --images 1",
"seed:standard": "tsx src/cli.ts seed --users 10 --setups 3 --images 3",
"seed:comprehensive": "tsx src/cli.ts seed --users 25 --setups 5 --images 5",
"seed:cleanup": "tsx src/cli.ts cleanup",
"migrate:config": "tsx src/cli.ts migrate-config",
"test:architecture": "tsx src/cli.ts test-architecture",
"migrate:v2.2.0": "tsx src/cli.ts migrate-v2.2.0",
"test:constraints": "tsx src/cli.ts test-constraints",
"discover:constraints": "tsx src/cli.ts discover-constraints",
"generate:workflows": "tsx src/cli.ts generate-workflows",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:comprehensive": "jest tests/comprehensive-test-suite.test.ts",
"test:makerkit": "jest tests/makerkit-integration.test.ts",
"test:performance": "jest tests/performance-benchmarks.test.ts --testTimeout=60000",
"test:all": "jest tests/",
"benchmark": "npm run test:performance"
},
"keywords": [
"supabase",
"database",
"seeding",
"typescript",
"testing",
"fake-data",
"postgresql",
"constraint-aware",
"business-logic",
"trigger-parsing",
"schema-first",
"framework-agnostic",
"dynamic-mapping",
"auto-fix",
"workflow-generation",
"makerkit",
"makerkit-integration",
"existing-users",
"hybrid-seeding",
"persona-users",
"constraint-discovery",
"database-introspection"
],
"author": "Tyler Barnard <tyler@livebydesign.co>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/livebydesign2/supa-seed.git"
},
"bugs": {
"url": "https://github.com/livebydesign2/supa-seed/issues"
},
"homepage": "https://github.com/livebydesign2/supa-seed#readme",
"dependencies": {
"@faker-js/faker": "^8.4.1",
"@supabase/supabase-js": "^2.0.0",
"@types/js-yaml": "^4.0.9",
"chalk": "^5.3.0",
"commander": "^11.1.0",
"dotenv": "^16.3.1",
"glob": "^11.0.3",
"handlebars": "^4.7.8",
"js-yaml": "^4.1.0",
"ora": "^7.0.1",
"pluralize": "^8.0.0",
"semver": "^7.7.2",
"tar": "^7.4.3",
"yaml": "^2.8.0"
},
"devDependencies": {
"@types/dotenv": "^6.1.1",
"@types/glob": "^8.1.0",
"@types/inquirer": "^9.0.8",
"@types/jest": "^29.5.0",
"@types/node": "^20.0.0",
"@types/ora": "^3.1.0",
"@types/pluralize": "^0.0.33",
"@types/semver": "^7.7.0",
"@types/tar": "^6.1.13",
"dotenv": "^17.2.0",
"inquirer": "^12.8.2",
"jest": "^29.5.0",
"rimraf": "^6.0.0",
"ts-jest": "^29.1.0",
"tsx": "^4.11.0",
"typescript": "^5.8.0"
},
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"@supabase/supabase-js": "^2.0.0"
}
}