UNPKG

slp-enforcer

Version:

Finds violations of the Melee Controller Ruleset by inspecting SLP files (WASM-powered)

56 lines (55 loc) 1.73 kB
{ "name": "slp-enforcer", "version": "2.3.3", "type": "module", "description": "Finds violations of the Melee Controller Ruleset by inspecting SLP files (WASM-powered)", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "files": [ "/dist", "/pkg/web" ], "scripts": { "build:wasm": "cd libenforcer-wasm && wasm-pack build --target web --out-dir ../pkg/web --release && rm -f ../pkg/web/.gitignore", "build:ts": "tsc", "build": "npm run build:wasm && npm run build:ts", "test": "npm run test:rust && npm run test:ts", "test:all": "yarn build:wasm && yarn test:rust && yarn test:ts", "test:ts": "node --experimental-vm-modules node_modules/jest/bin/jest.js", "test:ts:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch", "test:ts:debug": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand", "test:rust": "cd libenforcer-wasm && cargo test --target x86_64-unknown-linux-gnu", "prepublishOnly": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/altf4/libenforcer.git" }, "keywords": [ "slippi", "slp", "cheat", "wasm" ], "author": "altf4", "license": "GPL-3.0-or-later", "bugs": { "url": "https://github.com/altf4/libenforcer/issues" }, "homepage": "https://github.com/altf4/libenforcer#readme", "devDependencies": { "@babel/preset-typescript": "^7.23.2", "@types/jest": "^29.5.6", "@types/node": "^20.0.0", "jest": "^29.7.0", "jest-cli": "^29.7.0", "ts-jest": "^29.1.1", "typescript": "^5.2.2" } }