-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
41 lines (41 loc) · 1.24 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
{
"name": "func-compiler",
"version": "0.5.3",
"description": "A compiler for func",
"author": "sodic",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/sodic/masters"
},
"files": [
"dist"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build-ast": "npx tsc src/ast/* --outDir dist --target es2020",
"update-grammar": "npm run build-ast && resources/grammar/update-grammar.bash \"$PWD\"",
"make-parsers": "npm run update-grammar && npx ts-node src/parser/makeParsers.ts",
"ts-compile": "npx tsc",
"build": "rm -r dist/; npm run make-parsers && npm run ts-compile",
"start": "npm run compile",
"compile": "node dist/cli.js",
"test": "TS_NODE_FILES=true mocha 'test/**/*.spec.ts' -r ts-node/register",
"build-and-test": "npm run build && npm run test"
},
"devDependencies": {
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.8",
"@typescript-eslint/eslint-plugin": "^4.7.0",
"eslint": "^7.13.0",
"esm": "^3.2.25",
"mocha": "^8.2.1",
"ts-node": "^9.0.0",
"typescript": "^4.1.0",
"@typescript-eslint/parser": "^4.7.0",
"pegjs": "^0.10.0",
"@types/pegjs": "^0.10.2",
"pegjs-backtrace": "^0.2.0"
}
}