-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
62 lines (62 loc) · 1.8 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
{
"name": "tree-sitter-wasm",
"version": "0.0.0",
"author": "silvanshade <silvanshade@users.noreply.github.com>",
"license": "Apache-2.0 WITH LLVM-exception",
"description": "WebAssembly grammars for tree-sitter",
"keywords": [
"parser",
"lexer"
],
"homepage": "https://github.com/wasm-lsp/tree-sitter-wasm#readme",
"repository": {
"type": "git",
"url": "https://github.com/wasm-lsp/tree-sitter-wasm.git"
},
"bugs": {
"url": "https://github.com/wasm-lsp/tree-sitter-wasm/issues"
},
"main": "index.js",
"scripts": {
"build": "npm run build-native && npm run build-wasm",
"build-wasm": "npm run build-wasm-wast && npm run build-wasm-wat",
"build-wasm-wast": "cd wast && tree-sitter build-wasm",
"build-wasm-wat": "cd wat && tree-sitter build-wasm",
"build-native": "npm run build-native-wast && npm run build-native-wat",
"build-native-wast": "cd wast && tree-sitter generate",
"build-native-wat": "cd wat && tree-sitter generate",
"format": "prettier --write '**/*.{js,json,ts,tsx,yml,yaml}'",
"lint": "eslint '**/*.{js,ts,tsx}'",
"test": "npm run test-wast && npm run test-wat",
"test-wast": "cd wast && tree-sitter parse corpus/**/*.wast",
"test-wat": "cd wat && tree-sitter parse corpus/**/*.wat"
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/eslint-parser": "^7.16.0",
"eslint": "^8.5.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.4.0",
"tree-sitter-cli": "^0.20.0"
},
"dependencies": {
"nan": "^2.15.0"
},
"tree-sitter": [
{
"scope": "source.wat",
"file-types": [
"wat"
],
"path": "wat"
},
{
"scope": "source.wast",
"file-types": [
"wast"
],
"path": "wast"
}
]
}