forked from pegjs/pegjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 1.95 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
62
63
64
65
66
67
68
69
70
71
{
"name": "arpege",
"version": "3.0.0",
"packageManager": "[email protected]",
"description": "Parser generator for JavaScript",
"keywords": [
"parser generator",
"PEG"
],
"repository": "https://github.com/arcanis/arpege",
"bugs": "https://github.com/arcanis/arpege/issues",
"license": "MIT",
"author": "David Majda <[email protected]> (http://majda.cz/)",
"main": "sources/index.ts",
"bin": {
"arpege": "sources/cli.ts",
"peg": "sources/cli.ts"
},
"workspaces": [
"examples",
"extension",
"scripts/pegjs"
],
"dependencies": {
"@swc/wasm-typescript": "^1.7.23",
"clipanion": "^4.0.0-rc.3",
"lodash": "^4.17.21",
"prettier": "^3.3.3",
"tslib": "^2.4.0",
"typanion": "^3.14.0"
},
"devDependencies": {
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^8.3.2",
"@types/jest": "^27.5.1",
"@types/lodash": "^4",
"@types/node": "^22.5.2",
"@types/prettier": "^3",
"@yarnpkg/eslint-config": "^0.6.0-rc.9",
"eslint": "^8.48.0",
"jest": "^29.6.4",
"pegjs": "workspace:*",
"pretty-format": "^28.1.0",
"rollup": "^2.72.1",
"rollup-plugin-pegjs": "^2.1.3",
"rollup-plugin-string": "^3.0.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.5.4"
},
"scripts": {
"lkg": "yarn peg ./examples/grammar.pegjs.pegjs --output=./sources/lkg-parser.js --format commonjs --with-types",
"prepack": "rm -rf lib && yarn rollup && yarn peg ./examples/grammar.pegjs.pegjs --output=./lib/grammar.pegjs.js",
"postpack": "rm -rf lib",
"peg": "yarn ts-node -T sources/cli.ts",
"rollup": "NODE_OPTIONS=\"${NODE_OPTIONS:-} --require ts-node/register/transpile-only\" rollup -c"
},
"files": [
"examples",
"lib"
],
"publishConfig": {
"main": "lib/index",
"bin": {
"peg": "lib/cli",
"arpege": "lib/cli"
}
}
}