-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
51 lines (51 loc) · 1.39 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
{
"name": "tspeg",
"version": "3.3.2",
"homepage": "https://github.com/EoinDavey/tsPEG",
"description": "TypeScript parser generator",
"author": "Eoin Davey <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/EoinDavey/tsPEG.git"
},
"main": "index.js",
"scripts": {
"gen-tests": "./gen-tests.sh",
"build": "tsc && npm run gen && tsc",
"gen": "cp src/meta.ts /tmp/meta.ts && node ./tsbuild/cli.js src/metagrammar.peg src/meta.ts",
"test": "./gen-tests.sh && jest && npm run lint-all -- --max-warnings=0",
"clean": "rm -rf tsbuild",
"lint": "eslint",
"lint-all": "eslint src/"
},
"license": "MPL-2.0",
"files": [
"tsbuild/*.js"
],
"devDependencies": {
"@eslint/js": "^9.14.0",
"@types/jest": "^29.5.0",
"@types/node": "^22.9.0",
"@types/yargs": "^17.0.3",
"eslint": "^9.14.0",
"jest": "^29.5.0",
"setanta": "^0.10.0",
"ts-jest": "^29.0.5",
"typescript": "^5.0.2",
"typescript-eslint": "^8.13.0"
},
"bin": {
"tspeg": "tsbuild/cli.js"
},
"jest": {
"preset": "ts-jest",
"testPathIgnorePatterns": [
"/node_modules/",
"^.+\\.js$",
"/demos/"
]
},
"dependencies": {
"yargs": "^17.1.1"
}
}