Files
jrx/package.json
Kenneth 4c396d9f60 Add repository field to package.json (#9)
Required for npm provenance verification — npm checks that the
repository URL matches the GitHub repo publishing the package.

Co-authored-by: Ona <no-reply@ona.com>
2026-03-14 01:32:17 +00:00

54 lines
1.3 KiB
JSON

{
"name": "@nym.sh/jrx",
"version": "0.2.0",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"description": "JSX factory for json-render. Write JSX, get Spec JSON.",
"repository": {
"type": "git",
"url": "https://github.com/kennethnym/jrx"
},
"type": "module",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./jsx-runtime": {
"types": "./dist/jsx-runtime.d.ts",
"import": "./dist/jsx-runtime.js"
},
"./jsx-dev-runtime": {
"types": "./dist/jsx-dev-runtime.d.ts",
"import": "./dist/jsx-dev-runtime.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "rm -rf dist && bun build src/index.ts src/jsx-runtime.ts src/jsx-dev-runtime.ts --outdir=dist --target=node --format=esm && tsc -p tsconfig.build.json",
"test": "bun test",
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"@json-render/core": ">=0.10.0"
},
"devDependencies": {
"@json-render/core": "0.10.0",
"@json-render/react": "0.10.0",
"@testing-library/react": "16.3.2",
"@types/bun": "^1.3.9",
"@types/react": "19.2.3",
"happy-dom": "18.0.1",
"react": "19.2.4",
"react-dom": "19.2.4",
"typescript": "5.9.3"
}
}