-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
87 lines (87 loc) · 2.15 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "bytescript",
"displayName": "bytescript",
"description": "Compile TypeScript to WebAssembly and native.",
"version": "0.0.0",
"engines": {
"vscode": "^1.56.0"
},
"categories": [
"Programming Languages"
],
"contributes": {
"languages": [
{
"id": "bytescript",
"aliases": [
"ByteScript",
"bytescript"
],
"extensions": [
".ts",
".bs"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "bytescript",
"scopeName": "source.bytescript",
"path": "./syntaxes/bytescript.tmLanguage.json"
}
]
},
"activationEvents": [
"onLanguage:bytescript"
],
"files": [
"bin",
"out",
"src"
],
"bin": {
"bs": "./bin/cli.js"
},
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "npm run build && npm run lint",
"build": "tsc -b tsconfig.json",
"watch": "tsc -b tsconfig.json --watch",
"lint": "prettier . --check && eslint src --ext ts",
"langium:generate": "langium generate",
"langium:watch": "langium generate --watch",
"format:all": "prettier --write .",
"wat2wasm": "wat2wasm generated/poc1.wat -o generated/poc1.wasm",
"wtr": "web-test-runner tests/browser/*.ts --node-resolve",
"test": "npm run lint && npm run test:compile && npm run test:node && npm run test:browser && echo 'Tests passed!'",
"test:compile": "./bin/cli.js compile examples/basic/poc1.ts && npm run wat2wasm",
"test:node": "node tests/node/test.mjs",
"test:browser": "npm run wtr"
},
"dependencies": {
"chalk": "^4.1.2",
"chevrotain": "^10.4.1",
"commander": "^8.0.0",
"langium": "~1.0.0",
"vscode-languageclient": "^8.0.2",
"vscode-languageserver": "^8.0.2",
"vscode-uri": "^3.0.2",
"wdeasync": "^0.1.118"
},
"devDependencies": {
"@open-wc/testing": "^3.1.8",
"@types/node": "^14.17.3",
"@types/vscode": "^1.56.0",
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.28.0",
"@web/dev-server-esbuild": "^0.4.1",
"@web/test-runner": "^0.16.1",
"binaryen": "^113.0.0",
"eslint": "^8.17.0",
"langium-cli": "~1.0.0",
"prettier": "^2.8.4",
"typescript": "^4.9.4",
"wabt": "^1.0.32"
}
}