mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-24 11:34:21 +01:00
73 lines
1.6 KiB
JSON
73 lines
1.6 KiB
JSON
{
|
|
"name": "@tursodatabase/turso",
|
|
"version": "0.1.4-pre.2",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/tursodatabase/turso"
|
|
},
|
|
"description": "The Turso database library",
|
|
"module": "./promise.mjs",
|
|
"main": "./promise.cjs",
|
|
"exports": {
|
|
".": {
|
|
"require": "./promise.cjs",
|
|
"import": "./promise.mjs"
|
|
},
|
|
"./sync": {
|
|
"require": "./sync.cjs",
|
|
"import": "./sync.mjs"
|
|
}
|
|
},
|
|
"files": [
|
|
"browser.js",
|
|
"index.js",
|
|
"promise.cjs",
|
|
"promise.mjs",
|
|
"sync.cjs",
|
|
"sync.mjs",
|
|
"dist/**"
|
|
],
|
|
"types": "index.d.ts",
|
|
"napi": {
|
|
"binaryName": "turso",
|
|
"targets": [
|
|
"x86_64-unknown-linux-gnu",
|
|
"x86_64-pc-windows-msvc",
|
|
"universal-apple-darwin",
|
|
"wasm32-wasip1-threads"
|
|
]
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@napi-rs/cli": "^3.0.4",
|
|
"@napi-rs/wasm-runtime": "^1.0.1",
|
|
"ava": "^6.0.1",
|
|
"better-sqlite3": "^11.9.1",
|
|
"tsc": "^2.0.4",
|
|
"typescript": "^5.9.2"
|
|
},
|
|
"ava": {
|
|
"timeout": "3m"
|
|
},
|
|
"engines": {
|
|
"node": ">= 10"
|
|
},
|
|
"scripts": {
|
|
"artifacts": "napi artifacts && tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json",
|
|
"build": "napi build --platform --release",
|
|
"build:debug": "napi build --platform",
|
|
"prepublishOnly": "napi prepublish -t npm",
|
|
"test": "true",
|
|
"universal": "napi universalize",
|
|
"version": "napi version"
|
|
},
|
|
"packageManager": "yarn@4.9.2",
|
|
"imports": {
|
|
"#entry-point": {
|
|
"types": "./index.d.ts",
|
|
"browser": "./browser.js",
|
|
"node": "./index.js"
|
|
}
|
|
}
|
|
}
|