@neyric_w/wechat-sdk
Version:
微信服务号 OAuth SDK - 提供完整的网页授权功能
61 lines (60 loc) • 1.55 kB
JSON
{
"name": "@neyric_w/wechat-sdk",
"version": "1.0.3",
"description": "微信服务号 OAuth SDK - 提供完整的网页授权功能",
"main": "./lib/index.cjs",
"module": "./lib/index.mjs",
"types": "./lib/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.mjs",
"require": "./lib/index.cjs"
}
},
"scripts": {
"build": "bun run build:clean && bun run build:esm && bun run build:cjs && bun run build:types",
"build:clean": "rm -rf lib",
"build:esm": "bun build ./src/index.ts --format esm --target node --outfile ./lib/index.mjs",
"build:cjs": "bun build ./src/index.ts --format cjs --target node --outfile ./lib/index.cjs",
"build:types": "tsc -p tsconfig.build.json",
"test": "bun test",
"test:sdk": "bun run test-sdk.ts",
"prepublishOnly": "bun run build"
},
"files": [
"lib",
"README.md"
],
"keywords": [
"wechat",
"weixin",
"oauth",
"sdk",
"微信",
"服务号",
"公众号",
"网页授权"
],
"author": "Neyric <finegn@outlook.com>",
"license": "MIT",
"homepage": "https://github.com/neyric/wechat-sdk#readme",
"bugs": {
"url": "https://github.com/neyric/wechat-sdk/issues"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/bun": "latest",
"typescript": "^5.0.0"
},
"engines": {
"node": ">=16.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/neyric/wechat-sdk.git"
}
}