indian-rummy-core
Version:
High-performance Indian Rummy game logic library implemented in Rust with TypeScript bindings for Node.js applications
108 lines • 3.45 kB
JSON
{
"name": "indian-rummy-core",
"version": "0.1.1",
"description": "High-performance Indian Rummy game logic library implemented in Rust with TypeScript bindings for Node.js applications",
"main": "index.js",
"types": "index.d.ts",
"files": [
"index.js",
"index.d.ts",
"*.node"
],
"scripts": {
"build": "napi build --platform --release",
"build:debug": "napi build --platform",
"build:all": "napi build --platform --release --target x86_64-unknown-linux-gnu --target aarch64-unknown-linux-gnu --target x86_64-pc-windows-msvc --target aarch64-pc-windows-msvc --target x86_64-apple-darwin --target aarch64-apple-darwin",
"test": "jest",
"test:ts": "jest --testMatch='**/tests/**/*.test.ts'",
"test:js": "jest --testMatch='**/tests/**/*.test.js'",
"test:performance": "jest --testMatch='**/tests/performance.test.ts' --runInBand",
"test:error-handling": "jest --testMatch='**/tests/error-handling.test.ts'",
"test:type-safety": "jest --testMatch='**/tests/type-safety.test.ts'",
"test:all": "jest --testMatch='**/tests/**/*.test.{js,ts}'",
"test:rust": "cargo test",
"test:integration": "npm run build:debug && npm run test:all",
"test:coverage": "jest --coverage --testMatch='**/tests/**/*.test.{js,ts}'",
"test:game-logic": "jest --testMatch='**/tests/future-game-logic.test.ts'",
"simulate": "npx tsx simulate_tournament.ts",
"simulate:js": "node simulate_tournament.js",
"prepublishOnly": "napi prepublish -t npm",
"version": "napi version",
"clean": "napi clean"
},
"keywords": [
"rummy",
"card-game",
"indian-rummy",
"game-logic",
"rust",
"napi",
"typescript",
"nodejs",
"performance",
"native"
],
"author": {
"name": "Indian Rummy Core Team"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/mudont/indian-rummy-core.git"
},
"homepage": "https://github.com/mudont/indian-rummy-core#readme",
"bugs": {
"url": "https://github.com/mudont/indian-rummy-core/issues"
},
"engines": {
"node": ">=22.0.0"
},
"os": [
"darwin",
"linux",
"win32"
],
"cpu": [
"x64",
"arm64"
],
"devDependencies": {
"@napi-rs/cli": "^2.18.0",
"@types/jest": "^29.5.0",
"@types/node": "^22.0.0",
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.0",
"tsx": "^4.7.0",
"typescript": "^5.3.0"
},
"optionalDependencies": {
"indian-rummy-core-win32-x64-msvc": "0.1.1",
"indian-rummy-core-darwin-x64": "0.1.1",
"indian-rummy-core-linux-x64-gnu": "0.1.1",
"indian-rummy-core-linux-x64-musl": "0.1.1",
"indian-rummy-core-linux-arm64-gnu": "0.1.1",
"indian-rummy-core-win32-ia32-msvc": "0.1.1",
"indian-rummy-core-linux-arm-gnueabihf": "0.1.1",
"indian-rummy-core-darwin-arm64": "0.1.1",
"indian-rummy-core-win32-arm64-msvc": "0.1.1",
"indian-rummy-core-linux-arm64-musl": "0.1.1",
"indian-rummy-core-darwin-universal": "0.1.1"
},
"napi": {
"name": "indian-rummy-core",
"triples": {
"defaults": true,
"additional": [
"x86_64-unknown-linux-musl",
"aarch64-unknown-linux-gnu",
"i686-pc-windows-msvc",
"armv7-unknown-linux-gnueabihf",
"aarch64-apple-darwin",
"aarch64-pc-windows-msvc",
"aarch64-unknown-linux-musl",
"universal-apple-darwin"
]
}
}
}