-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 2 KB
/
package.json
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
{
"author": "Adrian de la Rosa <adrian@delarosab.me>",
"dependencies": {
"nearley": "^2.20.1"
},
"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.11.1",
"@types/nearley": "^2.11.5",
"@typescript-eslint/parser": "^8.9.0",
"@vitest/coverage-v8": "^2.1.1",
"eslint": "^9.11.1",
"eslint-config-prettier": "^10.0.1",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import-x": "^4.3.0",
"husky": "^9.1.6",
"install": "^0.13.0",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"typescript": "^5.6.2",
"typescript-eslint": "^8.9.0",
"vitest": "^2.1.1"
},
"files": [
"/dist/",
"LICENSE",
"README.md"
],
"keywords": [
"chess",
"fide",
"parser",
"pgn"
],
"license": "MIT",
"main": "dist/index.js",
"name": "@echecs/pgn",
"repository": "mormubis/pgn",
"scripts": {
"bench": "vitest bench --run",
"build": "pnpm run build:grammar && pnpm run build:entry",
"build:grammar": "pnpm run grammar:compile",
"build:entry": "tsc --project tsconfig.build.json",
"format": "pnpm run format:ci --write",
"format:ci": "prettier -l \"**/*.+(css|js|json|jsx|md|mjs|mts|ts|tsx|yml|yaml)\"",
"grammar:compile": "nearleyc src/grammar.ne -o src/grammar.cjs",
"grammar:diagram": "nearley-railroad src/grammar.ne -o diagram.html",
"grammar:test": "nearley-test -s DATABASE src/grammar.cjs < ./test.pgn",
"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}\" --fix",
"lint:types": "tsc --noEmit --project tsconfig.json",
"prepare": "pnpm run build",
"test": "vitest run",
"test:coverage": "pnpm run test --coverage",
"test:watch": "pnpm run test --watch"
},
"type": "module",
"types": "dist/index.d.ts",
"version": "3.0.18"
}