UNPKG

@altimateai/altimate-core

Version:

Type-check your SQL. No database required.

48 lines (47 loc) 1.66 kB
{ "name": "@altimateai/altimate-core", "version": "0.7.0", "description": "Type-check your SQL. No database required.", "license": "Apache-2.0", "main": "index.js", "types": "index.d.ts", "napi": { "binaryName": "altimate-core", "targets": [ "aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "x86_64-pc-windows-msvc" ], "package": { "name": "@altimateai/altimate-core" } }, "files": [ "index.js", "index.d.ts" ], "engines": { "node": ">= 18" }, "repository": { "type": "git", "url": "https://github.com/AltimateAI/altimate-core" }, "scripts": { "build": "napi build --release --platform --no-dts-header && node -e \"const fs=require('fs');const h=fs.readFileSync('types-preamble.d.ts','utf8');const g=fs.readFileSync('index.d.ts','utf8');fs.writeFileSync('index.d.ts',h+'\\n'+g)\" && node validate-exports.js", "build:debug": "napi build --platform --no-dts-header && node -e \"const fs=require('fs');const h=fs.readFileSync('types-preamble.d.ts','utf8');const g=fs.readFileSync('index.d.ts','utf8');fs.writeFileSync('index.d.ts',h+'\\n'+g)\" && node validate-exports.js", "test": "node --test validate-exports.test.js" }, "optionalDependencies": { "@altimateai/altimate-core-darwin-arm64": "0.7.0", "@altimateai/altimate-core-darwin-x64": "0.7.0", "@altimateai/altimate-core-linux-arm64-gnu": "0.7.0", "@altimateai/altimate-core-linux-x64-gnu": "0.7.0", "@altimateai/altimate-core-win32-x64-msvc": "0.7.0" }, "devDependencies": { "@napi-rs/cli": "^3" } }