{ "name": "nish", "version": "0.43.0", "description": "Nish: an ahead-of-time compiler from a static subset of TypeScript to LLVM IR", "license": "MIT", "type": "module", "exports": { ".": { "types": "./runtime/nish.d.ts" }, "./package.json": "./package.json", "./runtime": { "types": "./runtime/core.d.ts", "default": "./runtime/core.mjs" }, "./runtime/node": { "types": "./runtime/host.d.ts", "default": "./runtime/node.mjs" }, "./runtime/browser": { "types": "./runtime/browser.d.ts", "default": "./runtime/browser.mjs" }, "./vite": { "types": "./runtime/vite.d.ts", "default": "./runtime/vite.mjs" }, "./page": { "types": "./runtime/page.d.ts", "default": "./runtime/page.mjs" }, "./page/frame": { "types": "./runtime/page-frame.d.ts", "default": "./runtime/page-frame.mjs" }, "./page/game": { "types": "./runtime/page-game.d.ts", "default": "./runtime/page-game.mjs" }, "./runtime/*": "./runtime/*", "./scripts/*": "./scripts/*", "./*": "./std/*.ts" }, "bin": { "nish": "bin/nish", "nish-skills": "bin/nish-skills.js" }, "files": [ "bin", "runtime", "scripts/build.sh", "scripts/link-skills.mjs", "scripts/postinstall.mjs", "skills", "std", "README.md", "LICENSE", "llms.txt", "docs/AI.md", "docs/INSTALL.md" ], "scripts": { "build": "bash scripts/bootstrap.sh", "postinstall": "node scripts/postinstall.mjs", "bootstrap": "bash scripts/bootstrap.sh", "compile": "build/nish", "example": "build/nish examples/add.ts -o build/add.ll && cat build/add.ll", "test": "node tests/run.js", "size-report": "build/nish examples/add.ts -o build/add.ll && bash scripts/size-report.sh build/add.ll examples/main.c", "smoke": "bash scripts/smoke.sh", "check": "tsc -p tsconfig.json", "test:update": "UPDATE_GOLDENS=1 node tests/run.js", "test:diff": "node tests/differential/run.js", "test:nish": "build/nish tests/nish/run.ts -o build/nish-runner.ir/ --link build/nish-runner && build/nish-runner", "test:cli": "build/nish tests/nish/cli.ts -o build/nish-cli.ir/ --link build/nish-cli && build/nish-cli", "test:node": "node tests/differential/unmodified.js", "lint": "node scripts/check-filenames.mjs && node scripts/check-install-scripts.mjs && biome check .", "lint:fix": "biome check --write .", "lint:dead": "knip --no-progress", "format": "biome format --write .", "prepublishOnly": "npm run check && npm test", "changelog": "node scripts/changelog-gen.mjs", "sync-main": "node scripts/sync-main.mjs" }, "engines": { "node": ">=22.18.0" }, "repository": { "type": "git", "url": "git+https://github.com/amritk/nish.git" }, "bugs": { "url": "https://github.com/amritk/nish/issues" }, "homepage": "https://nishlang.com/", "keywords": [ "typescript", "compiler", "llvm", "llvm-ir", "ahead-of-time", "aot", "native", "wasm", "webassembly", "nish" ], "devDependencies": { "@amritk/generate-markdown": "0.12.0", "@biomejs/biome": "2.5.12", "@types/node": "^22.0.0", "knip": "6.38.0", "typedoc": "0.28.20", "typescript": "^5.6.0" } }