UNPKG

@mliebelt/pgn-parser

Version:

A PEG parser to read PGN (Portable Game Notation) games.

58 lines (57 loc) 1.63 kB
{ "name": "@mliebelt/pgn-parser", "description": "A PEG parser to read PGN (Portable Game Notation) games.", "keywords": [ "chess", "pgn", "peg", "parser" ], "version": "1.4.18", "homepage": "https://github.com/mliebelt/pgn-parser/blob/master/README.md", "bugs": "https://github.com/mliebelt/pgn-parser/issues", "main": "lib/index.umd.js", "module": "lib/index.umd.js", "types": "lib/index.umd.d.ts", "files": [ "README.md", "lib/index.umd.d.ts", "lib/index.umd.js", "doc/*", "bin/*" ], "bin": "./bin/pgn-to-json.js", "author": "mliebelt", "license": "Apache-2.0", "repository": { "type": "git", "url": "https://github.com/mliebelt/pgn-parser.git" }, "dependencies": { "@mliebelt/pgn-types": "^1.0.4" }, "devDependencies": { "@rollup/plugin-commonjs": "^28.0.0", "@rollup/plugin-node-resolve": "^16.0.0", "rollup-plugin-dts": "^6.1.0", "@types/node": "^22.0.0", "peggy": "^5.0.0", "rollup": "^4.9.4", "tsm": "^2.0.0", "ts-loader": "^9.5.1", "ts-node": "^10.9.1", "typescript": "^5.3.2", "uvu": "^0.5.6" }, "scripts": { "clean": "rm -fr lib/*", "buildpeg": "node ./bin/build-peg.js", "build": "npm run clean && npm run mjs && npm run umd && npm run dts", "mjs": "tsc -p tsconfig-mjs.json", "cjs": "tsc -p tsconfig.json", "umd": "rollup lib/mjs/index.js -c rollup.config.mjs -o lib/index.umd.js -f umd", "dts": "cp src/_pgn-parser-types.d.ts lib/mjs/ && rollup -c rollup.config-dts.mjs", "test": "uvu -r tsm test", "prepare": "npm run build && npm test" } }