132 lines
4.6 KiB
JSON
132 lines
4.6 KiB
JSON
{
|
|
"name": "@suaveplan/test-vite",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"description": "Vite + Vitest configuration factories and validators: createViteLibraryConfig/createViteAppConfig/createVitestConfig/createVitestBrowserConfig, browser-environment shims, tree-shake validator, bundle-size snapshot, port allocator, HMR tester, custom matchers, TEST_VITE_CODES error registry, and OTel self-telemetry.",
|
|
"license": "MIT",
|
|
"author": "Suaveplan Team",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"./vite-library-config": {
|
|
"import": {
|
|
"types": "./dist/vite-library-config/index.d.ts",
|
|
"default": "./dist/vite-library-config/index.js"
|
|
}
|
|
},
|
|
"./vite-app-config": {
|
|
"import": {
|
|
"types": "./dist/vite-app-config/index.d.ts",
|
|
"default": "./dist/vite-app-config/index.js"
|
|
}
|
|
},
|
|
"./vitest-config": {
|
|
"import": {
|
|
"types": "./dist/vitest-config/index.d.ts",
|
|
"default": "./dist/vitest-config/index.js"
|
|
}
|
|
},
|
|
"./vitest-browser-config": {
|
|
"import": {
|
|
"types": "./dist/vitest-browser-config/index.d.ts",
|
|
"default": "./dist/vitest-browser-config/index.js"
|
|
}
|
|
},
|
|
"./browser-environment": {
|
|
"import": {
|
|
"types": "./dist/browser-environment/index.d.ts",
|
|
"default": "./dist/browser-environment/index.js"
|
|
}
|
|
},
|
|
"./tree-shake-validator": {
|
|
"import": {
|
|
"types": "./dist/tree-shake-validator/index.d.ts",
|
|
"default": "./dist/tree-shake-validator/index.js"
|
|
}
|
|
},
|
|
"./bundle-size-snapshot": {
|
|
"import": {
|
|
"types": "./dist/bundle-size-snapshot/index.d.ts",
|
|
"default": "./dist/bundle-size-snapshot/index.js"
|
|
}
|
|
},
|
|
"./port-allocator": {
|
|
"import": {
|
|
"types": "./dist/port-allocator/index.d.ts",
|
|
"default": "./dist/port-allocator/index.js"
|
|
}
|
|
},
|
|
"./hmr-tester": {
|
|
"import": {
|
|
"types": "./dist/hmr-tester/index.d.ts",
|
|
"default": "./dist/hmr-tester/index.js"
|
|
}
|
|
},
|
|
"./matchers": {
|
|
"import": {
|
|
"types": "./dist/matchers/index.d.ts",
|
|
"default": "./dist/matchers/index.js"
|
|
}
|
|
},
|
|
"./error-codes": {
|
|
"import": {
|
|
"types": "./dist/error-codes/index.d.ts",
|
|
"default": "./dist/error-codes/index.js"
|
|
}
|
|
},
|
|
"./telemetry": {
|
|
"import": {
|
|
"types": "./dist/telemetry/index.d.ts",
|
|
"default": "./dist/telemetry/index.js"
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"test": "vitest run --passWithNoTests",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage --passWithNoTests",
|
|
"lint": "bunx biome check src/",
|
|
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/",
|
|
"format": "bunx biome format --write --max-diagnostics 500 src/",
|
|
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/",
|
|
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
|
|
"docs:check": "bun run ../../../../scripts/docs-check.ts ."
|
|
},
|
|
"dependencies": {
|
|
"@opentelemetry/api": "catalog:observability",
|
|
"@suaveplan/error": "workspace:^",
|
|
"@suaveplan/types": "workspace:^",
|
|
"tslib": "catalog:build",
|
|
"vite": "catalog:build",
|
|
"vite-plugin-dts": "catalog:build",
|
|
"vitest": "catalog:testing",
|
|
"zod": "catalog:forms"
|
|
},
|
|
"devDependencies": {
|
|
"@opentelemetry/sdk-metrics": "^1.30.0",
|
|
"@suaveplan/testing": "workspace:^",
|
|
"@types/node": "catalog:",
|
|
"@vitest/coverage-istanbul": "catalog:testing",
|
|
"typescript": "catalog:"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://npmjs.fq.io/",
|
|
"access": "public"
|
|
},
|
|
"files": ["dist", "src", "README.md"]
|
|
}
|