dal/package.json
2024-08-30 08:53:32 +02:00

35 lines
1 KiB
JSON

{
"name": "@nesterow/dal",
"version": "0.0.2",
"repository": "https://l12.xyz/x/dal.git",
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"module": "dist/index.js",
"type": "module",
"devDependencies": {
"@types/bun": "latest",
"prettier": "^3.3.3"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"dependencies": {
"@msgpack/msgpack": "^3.0.0-beta2",
"node-addon-api": "^8.1.0",
"node-gyp": "^10.2.0"
},
"scripts": {
"test:client": "bun test:*",
"test:dal": "bun test client/__test__",
"test:serve": "cd client/__test__/srv && go run main.go",
"bench:node": "node ./client/__test__/bench.node.cjs",
"bench:bun": "bun ./client/__test__/bench.bun.ts",
"fmt": "prettier --write .",
"build": "tsc",
"prepublish": "tsc",
"preinstall": "cd binding && go build -buildmode=c-archive -o dal.a ./dal.go && cd ../clib && go build -o ./clib.dylib -buildmode=c-shared ./main.go",
"postinstall": "node-gyp configure build"
}
}