blob: dbb6d8661cd81c5245076d3728ea3313aaa90436 [file] [log] [blame]
{
"name": "opendal",
"author": "Apache OpenDAL <dev@opendal.apache.org>",
"version": "0.49.2",
"license": "Apache-2.0",
"main": "index.cjs",
"module": "index.mjs",
"types": "index.d.ts",
"description": "Apache OpenDAL: One Layer, All Storage.",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/apache/opendal.git"
},
"napi": {
"binaryName": "opendal",
"packageName": "@opendal/lib",
"targets": [
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"aarch64-apple-darwin",
"aarch64-pc-windows-msvc",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl"
]
},
"keywords": [
"api",
"fs",
"file system",
"gcs",
"ghac",
"http",
"ipmfs",
"memory",
"obs",
"oss",
"s3",
"storage",
"webdav",
"webhdfs"
],
"files": [
"index.d.ts",
"index.cjs",
"index.mjs",
"generated.d.ts",
"generated.js",
"LICENSE",
"NOTICE"
],
"exports": {
".": {
"import": {
"types": "./index.d.ts",
"default": "./index.mjs"
},
"require": {
"types": "./index.d.ts",
"default": "./index.cjs"
}
},
"./package.json": "./package.json"
},
"devDependencies": {
"@aws-sdk/client-s3": "^3.468.0",
"@napi-rs/cli": "^3.1.3",
"@swc-node/register": "^1.6.2",
"@swc/core": "^1.3.38",
"@types/node": "^18.14.5",
"@types/react": "^18.2.48",
"benny": "^3.7.1",
"dotenv": "^16.0.3",
"prettier": "^2.8.4",
"typedoc": "^0.28",
"typescript": "^5.0.2",
"vitest": "^3.2.3"
},
"engines": {
"node": ">= 10"
},
"scripts": {
"build": "napi build --platform --features \"${NAPI_FEATURES:-}\" --target \"${NAPI_TARGET:-}\" --release --js generated.js --dts generated.d.ts && node ./scripts/header.mjs",
"build:debug": "napi build --platform --features \"${NAPI_FEATURES:-}\" --target \"${NAPI_TARGET:-}\" --js generated.js --dts generated.d.ts && node ./scripts/header.mjs",
"build:theme": "tsc -p ./tsconfig.theme.json",
"build:ci": "napi build --platform --features \"${NAPI_FEATURES:-}\" --target \"${NAPI_TARGET:-}\" --release --js generated.js --dts generated.d.ts",
"build:header": "node ./scripts/header.mjs",
"docs": "typedoc",
"format": "prettier --write .",
"test": "vitest",
"bench": "node -r dotenv/config ./benchmark/node.js dotenv_config_path=./.env",
"bench:deno": "deno bench --unstable-detect-cjs ./benchmark/deno.ts --allow-read --allow-ffi --allow-net --allow-env",
"prepublishOnly": "napi prepublish -t npm --no-gh-release"
},
"prettier": {
"overrides": [
{
"files": "./**/*.{js,cjs,ts,mjs,jsx,tsx}",
"options": {
"arrowParens": "always",
"parser": "typescript",
"printWidth": 120,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all"
}
}
]
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"packageManager": "pnpm@8.11.0"
}