UNPKG

aminus

Version:

Genshin Impact stat and damage calculation library

78 lines (77 loc) 2.24 kB
{ "name": "aminus", "version": "1.0.0-beta", "description": "Genshin Impact stat and damage calculation library", "type": "module", "main": "./pkg/aminus_js.js", "types": "./pkg/aminus_js.d.ts", "files": [ "pkg/" ], "scripts": { "build": "wasm-pack build --target bundler --out-dir pkg", "build:nodejs": "wasm-pack build --target nodejs --out-dir pkg", "build:web": "wasm-pack build --target web --out-dir pkg", "test": "npm run build:nodejs && jest", "test:watch": "jest --watch", "dev": "npm run build && npm test", "generate-types": "wasm-pack build --target bundler --out-dir pkg", "example": "npm run build:nodejs && node --loader ts-node/esm examples/basic-usage.ts", "prepublishOnly": "npm run build:nodejs && npm test", "prepack": "npm run build:nodejs" }, "devDependencies": { "@babel/core": "^7.27.4", "@babel/preset-env": "^7.27.2", "@types/jest": "^29.5.0", "@types/node": "^20.0.0", "babel-jest": "^30.0.2", "jest": "^29.5.0", "jest-environment-node": "^29.5.0", "ts-jest": "^29.1.0", "ts-node": "^10.9.0", "typescript": "^5.0.0" }, "jest": { "preset": "ts-jest/presets/default-esm", "extensionsToTreatAsEsm": [".ts"], "testEnvironment": "node", "moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json"], "testMatch": ["<rootDir>/tests/*.test.{ts,js}"], "transform": { "^.+\\.(ts|tsx)$": ["ts-jest", { "useESM": true }] }, "moduleNameMapper": { "^(\\.{1,2}/.*)\\.js$": "$1" }, "modulePathIgnorePatterns": ["<rootDir>/pkg/"] }, "keywords": [ "genshin-impact", "calculation", "wasm", "typescript", "javascript", "artifact-optimization", "damage-calculator" ], "author": "Lambdev", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/lambdv/aminus", "directory": "bindings/js" }, "bugs": { "url": "https://github.com/lambdv/aminus/issues" }, "homepage": "https://github.com/lambdv/aminus#readme", "engines": { "node": ">=16.0.0" }, "publishConfig": { "access": "public" } }