-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
60 lines (60 loc) · 2.11 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
{
"name": "polygolf",
"version": "0.1.0",
"description": "Ambitious polyglot autogolfer for https://code.golf",
"main": "dist/cli.js",
"bin": {
"polygolf": "./dist/cli.js"
},
"scripts": {
"prettier": "prettier --write .",
"eslint-fix": "eslint --fix \"src/**\"",
"build": "npm run build-nearley && etsc && npm run build-docs",
"build-nearley": "nearleyc src/frontend/grammar.ne -o src/frontend/grammar.ts",
"build-docs": "node \"dist/docs-gen/index.js\" && node \"dist/cover/index.js\" --md",
"test:typecheck": "npm run build-nearley && tsc --noEmit",
"test:formatting": "prettier-check .",
"test:lint": "eslint \"src/**\"",
"test:jest": "jest --config jest.config.js",
"test": "npm run test:formatting && npm run test:typecheck && npm run test:lint && npm run test:build && npm run test:jest",
"cli": "npm run build && node --enable-source-maps dist/cli.js",
"test:build": "npm run build && node \"dist/markdown-tests/build.js\"",
"cover": "npm run build && node \"dist/cover/index.js\"",
"cover-all": "npm run build && node \"dist/cover/index.js\" -a",
"cover-all:compare": "npm run build && node \"dist/cover/compare.js\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/polygolf-lang/polygolf.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/polygolf-lang/polygolf/issues"
},
"homepage": "https://github.com/polygolf-lang/polygolf#readme",
"devDependencies": {
"@eslint/js": "^9.6.0",
"@types/eslint__js": "^8.42.3",
"@types/jest": "^29.5.6",
"@types/moo": "^0.5.5",
"@types/nearley": "^2.11.2",
"@types/node": "^20.14.10",
"esbuild": "^0.23.0",
"esbuild-node-tsc": "^2.0.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"jest": "^29.7.0",
"prettier": "^3.3.2",
"prettier-check": "^2.0.0",
"ts-jest": "^29.1.5",
"typescript": "^5.5.3",
"typescript-eslint": "^7.15.0"
},
"dependencies": {
"@datastructures-js/priority-queue": "^6.3.0",
"as-table": "^1.0.55",
"moo": "^0.5.2",
"nearley": "^2.20.1",
"yargs": "^17.6.0"
}
}