Files
SnowLuma/packages/proton/package.json
T
DrSmoothl 9544aa7761 chore(repo): standardize cross-platform development
Make line endings deterministic across macOS, Windows, and Linux while preserving the native checkout format required by Windows launchers.

Pin the tested application runtime and Node type baseline, add a shared startup preflight, and keep independently published packages on their existing compatibility ranges.

Align local scripts, pull request validation, complete package builds, dependency metadata, and contributor documentation around the same Node and pnpm contract. The root test command now covers every tested workspace package while a focused Core command remains available for local iteration.
2026-07-31 13:09:02 +08:00

45 lines
1.2 KiB
JSON

{
"license": "SEE LICENSE IN LICENSE",
"name": "@snowluma/proton",
"version": "1.12.10",
"private": true,
"type": "module",
"description": "Compile-time protobuf encoder/decoder generator for SnowLuma. TypeScript interfaces → fully-inlined, zero-runtime protobuf codec functions. Vendored from SnowLuma/protobuf-dsl (reference copy under dev/protobuf-dsl/) with edge-case fixes applied.",
"main": "./src/runtime.ts",
"types": "./protobuf.d.ts",
"exports": {
".": {
"types": "./protobuf.d.ts",
"default": "./src/runtime.ts"
},
"./vite": {
"types": "./src/index.ts",
"default": "./dist/index.js"
}
},
"scripts": {
"build": "tsup src/index.ts --format esm --out-dir dist --target node20 --external typescript --external vite",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"prepare": "test -f dist/index.js || pnpm build"
},
"dependencies": {
"typescript": "catalog:"
},
"peerDependencies": {
"vite": "catalog:"
},
"peerDependenciesMeta": {
"vite": {
"optional": true
}
},
"devDependencies": {
"@types/node": "catalog:",
"tsup": "^8.5.0",
"vite": "catalog:",
"vitest": "^4.1.4"
}
}