sc2ts
Version:
TypeScript library for parsing MPQ (MoPaQ) archive files
90 lines (89 loc) • 2.43 kB
JSON
{
"name": "sc2ts",
"version": "0.3.0",
"description": "TypeScript library for parsing MPQ (MoPaQ) archive files",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"bin": {
"sc2ts": "./dist/cli/index.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "pnpm run clean && pnpm run build:cjs && pnpm run build:esm && pnpm run build:cli && pnpm run build:postprocess",
"build:cli": "npx tsc -p tsconfig.cli.json --noEmitOnError false || echo 'CLI build completed with warnings'",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build:postprocess": "node scripts/build-postprocess.js",
"clean": "rm -rf dist dist-esm",
"dev": "tsc --watch",
"dev:cli": "tsx src/cli/index.ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"typecheck": "tsc --noEmit",
"test": "jest --config jest.config.ts",
"test:watch": "jest --config jest.config.ts --watch",
"test:coverage": "jest --config jest.config.ts --coverage",
"prepublishOnly": "pnpm run build && pnpm run test",
"prepare": "husky"
},
"keywords": [
"mpq",
"mopaq",
"blizzard",
"archive",
"parser",
"typescript",
"starcraft",
"starcraft2",
"sc2",
"replay",
"replay-parser"
],
"author": "kanghyojun",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/kanghyojun/sc2ts.git"
},
"bugs": {
"url": "https://github.com/kanghyojun/sc2ts/issues"
},
"homepage": "https://github.com/kanghyojun/sc2ts#readme",
"packageManager": "pnpm@10.17.0",
"devDependencies": {
"@eslint/js": "^9.35.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.13.5",
"eslint": "^9.35.0",
"eslint-plugin-import": "^2.32.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jiti": "^2.5.1",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsx": "^4.20.5",
"typescript": "^5.9.2",
"typescript-eslint": "^8.44.1"
},
"dependencies": {
"@logtape/logtape": "^1.1.0",
"@optique/core": "^0.4.4",
"@optique/run": "^0.4.4",
"compressjs": "^1.0.3",
"fflate": "^0.8.2",
"seek-bzip": "^2.0.0",
"zod": "^4.1.9"
}
}