-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 2.33 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
{
"name": "lambda-espresso",
"version": "0.0.1",
"description": "A lambda calculus interpreter",
"directories": {
"test": "test"
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.3",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"browserify": "^17.0.0",
"chokidar-cli": "^3.0.0",
"concurrently": "^7.6.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"http-server": "^14.1.1",
"jison": "^0.4.18",
"mocha": "^10.2.0",
"prettier": "^2.8.4",
"terser": "^5.16.6",
"ts-node": "^10.9.1",
"tsify": "^5.0.4",
"typescript": "^5.0.2"
},
"scripts": {
"start": "concurrently --names server,grammar,build,test,lint 'npm run server' 'npm run watch-grammar' 'npm run watch-build' 'npm run watch-test' 'npm run watch-lint'",
"prebuild": "[ -f src/lambda/grammar.js ] || npm run build-grammar",
"build": "browserify --debug --detect-globals false --no-builtins -p tsify src/app.ts > assets/index.js",
"build-grammar": "jison src/lambda/grammar.jison -o src/lambda/grammar.js",
"build-prod": "npm run build && npm run minify-js",
"minify-js": "terser assets/index.js --source-map \"root='.',url='index.js.map',content=inline\" -o assets/index.js",
"server": "http-server -c-1",
"test": "mocha",
"lint": "eslint src test",
"lint-fix": "npm run lint -- --fix",
"format": "prettier --write '{src,test}/**/*.ts'",
"check-format": "prettier --check '{src,test}/**/*.ts'",
"watch-build": "chokidar src --initial --silent -c 'npm run build'",
"watch-grammar": "chokidar src/lambda/grammar.jison --silent -c 'npm run build-grammar'",
"watch-test": "chokidar src test --initial --silent -c 'npm run test'",
"watch-lint": "chokidar src test --initial --silent -c 'npm run lint'",
"clean": "rm -f src/lambda/grammar.js assets/index.js assets/index.js.map",
"bench": "ts-node src/benchmark.ts",
"publish": "bin/publish.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/epidemian/lambda-espresso.git"
},
"author": "Demian Ferreiro",
"license": "Unlicense",
"bugs": {
"url": "https://github.com/epidemian/lambda-espresso/issues"
},
"homepage": "https://demian.ferrei.ro/lambda-espresso/"
}