-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.49 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"author": "Adrian de la Rosa <adrian@delarosab.me>",
"bugs": {
"url": "https://github.com/mormubis/pgn/issues"
},
"description": "PGN is a parser that is part of the ECHECS project, designed to interpret the PGN (Portable Game Notation) specification.",
"devDependencies": {
"@eslint/js": "^9.21.0",
"@mliebelt/pgn-parser": "^1.4.15",
"@types/node": "^25.0.0",
"@typescript-eslint/parser": "^8.24.1",
"@vitest/coverage-v8": "^3.0.6",
"@vitest/eslint-plugin": "^1.6.9",
"chess.js": "^1.4.0",
"eslint": "^10.0.3",
"eslint-config-prettier": "^10.0.1",
"eslint-import-resolver-typescript": "^4.1.1",
"eslint-plugin-import-x": "^4.6.1",
"eslint-plugin-unicorn": "^63.0.0",
"husky": "^9.1.7",
"lint-staged": "^16.0.0",
"peggy": "^5.0.6",
"pgn-parser": "^2.2.1",
"prettier": "^3.5.2",
"typescript": "^5.7.3",
"typescript-eslint": "^8.24.1",
"vitest": "^3.0.6"
},
"engines": {
"node": ">=20"
},
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"/dist/",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"homepage": "https://github.com/mormubis/pgn#readme",
"keywords": [
"chess",
"fide",
"parser",
"pgn"
],
"license": "MIT",
"main": "dist/index.js",
"name": "@echecs/pgn",
"repository": {
"type": "git",
"url": "https://github.com/mormubis/pgn.git"
},
"scripts": {
"bench": "vitest bench --run",
"build": "pnpm run build:grammar && pnpm run build:entry",
"build:entry": "tsc --project tsconfig.build.json",
"build:grammar": "pnpm run grammar:compile",
"format": "pnpm run format:ci --write",
"format:ci": "prettier -l \"**/*.+(css|js|json|jsx|md|mjs|mts|ts|tsx|yml|yaml)\"",
"grammar:compile": "peggy --format commonjs -o src/grammar.cjs src/grammar.pegjs",
"grammar:test": "pnpm grammar:compile && peggy --format commonjs -o src/grammar.cjs --test-file ./test.pgn src/grammar.pegjs",
"lint": "pnpm run lint:style && pnpm run lint:types",
"lint:ci": "pnpm run lint:style --max-warnings 0 && pnpm run lint:types",
"lint:style": "eslint \"src/**/*.{ts,tsx}\" \"*.mjs\" --fix",
"lint:types": "tsc --noEmit --project tsconfig.json",
"prepare": "pnpm run build",
"test": "pnpm grammar:compile && vitest run",
"test:coverage": "pnpm run test --coverage",
"test:watch": "pnpm run test --watch"
},
"type": "module",
"types": "dist/index.d.ts",
"version": "3.4.0"
}