-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 3.49 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "ecsql-lsp",
"description": "a language server for the ECSQL language used by iTwin.js",
"author": {
"name": "Michael Belousov",
"email": "[email protected]"
},
"publisher": "mikemikeb",
"license": "MIT",
"version": "0.0.4",
"repository": {
"type": "git",
"url": "https://[email protected]/MichaelBelousov/ecsql-lsp.git"
},
"bugs": {
"url": "https://github.com/MichaelBelousov/ecsql-lsp/issues"
},
"homepage": "https://github.com/MichaelBelousov/ecsql-lsp#readme",
"categories": [
"Programming Languages"
],
"keywords": [
"ecsql",
"sql",
"itwinjs",
"itwin"
],
"engines": {
"vscode": "^1.43.0"
},
"activationEvents": [
"onLanguage:typescript"
],
"main": "./client/dist/main.js",
"icon": "icon.png",
"contributes": {
"configuration": {
"type": "object",
"title": "ECSQL Language Server configuration",
"properties": {
"ecsql-lsp.fallbackIModelUrl": {
"type": "string",
"default": "",
"description": "if the schema is unknown, try to find it in this iModel"
},
"ecsql-lsp.queryCallRegex": {
"type": "string",
"default": "(i[mM]odel|[dD]b)\\.(query|withPreparedStatement)",
"description": "pattern to match for calls to queries. This is a stopgap before using typescript's LSP to find it"
}
}
}
},
"scripts": {
"bundle": "npm run bundle:client && npm run bundle:server",
"bundle:server": "cd server && npm run bundle",
"bundle:client": "cd client && npm run bundle",
"// TODO: get NODE_ENV=development webpacked output to be debuggable instead": "",
"dev-build": "npm run dev-build:client && npm run dev-build:server",
"dev-build:client": "cd client && npm run build",
"dev-build:server": "cd server && npm run build",
"package": "vsce package --yarn",
"publish": "vsce publish --yarn",
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "eslint ./client/src ./server/src --ext .ts,.tsx",
"test": "echo these tests are not yet supported && exit 1 && sh ./scripts/e2e.sh"
},
"//": [
"note that dependencies of the client and server must be hoisted here for vsce to find them"
],
"dependencies": {
"tree-sitter": "workspace:*",
"tree-sitter-sql": "workspace:*",
"vscode-languageclient": "^7.0.0",
"vscode-languageserver": "^7.0.0",
"vscode-languageserver-textdocument": "^1.0.1",
"xml2js": "^0.4.23"
},
"devDependencies": {
"@types/chai": "^4.3.0",
"@types/fs-extra": "^9.0.13",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.10",
"@types/sinon": "^10.0.11",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"chai": "^4.3.4",
"cross-env": "^7.0.3",
"eslint": "^7.12.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-mocha": "^10.0.3",
"eslint-plugin-prettier": "^4.0.0",
"fs-extra": "^10.0.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.4",
"mocha": "^9.2.1",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"sinon": "^13.0.1",
"ts-loader": "^9.2.7",
"ts-node": "^10.4.0",
"typescript": "^4.5.2",
"vsce": "^2.6.7",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,md,js}": [
"prettier --write"
],
"*.{ts,js}": [
"eslint --fix"
]
}
}