-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 4.16 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
{
"name": "@kusto/monaco-kusto",
"version": "5.0.0",
"description": "CSL, KQL plugin for the Monaco Editor",
"author": {
"name": "Microsoft"
},
"license": "MIT",
"keywords": [
"Azure Data Explorer",
"ADE",
"kusto"
],
"homepage": "https://github.com/Azure/monaco-kusto",
"repository": {
"type": "git",
"url": "https://github.com/Azure/monaco-kusto"
},
"scripts": {
"copy_runtime_deps_to_out": "mcopy ./node_modules/@kusto/language-service/Kusto.JavaScript.Client.min.js ./out/vs/language/kusto/kusto.javascript.client.min.js && mcopy ./node_modules/@kusto/language-service-next/Kusto.Language.Bridge.min.js ./out/vs/language/kusto/Kusto.Language.Bridge.min.js && mcopy ./node_modules/@kusto/language-service/bridge.min.js ./out/vs/language/kusto/bridge.min.js && node ./node_modules/copy-dir-cli/bin/copy ./node_modules/monaco-editor-core/dev/vs ./out/vs",
"compile": "tsc -p ./src/tsconfig.json && tsc -p ./src/tsconfig.esm.json",
"watch": "echo dev > test/mode.txt && tsc -p ./src/tsconfig.watch.json && npm run copy_runtime_deps_to_out && concurrently \"live-server ./ \" \"tsc -w -p ./src/tsconfig.watch.json \"",
"test_release": "echo release > test/mode.txt && http-server -c-1 -p 8080 ./ -o index.html",
"copy_types_to_release": "mcopy ./src/monaco.d.ts ./release/esm/monaco.d.ts && mcopy ./out/amd/monaco.contribution.d.ts ./release/esm/monaco.contribution.d.ts && mcopy ./src/monaco.d.ts ./release/min/monaco.d.ts && mcopy ./out/amd/monaco.contribution.d.ts ./release/min/monaco.contribution.d.ts && mcopy ./node_modules/@kusto/language-service/Kusto.JavaScript.Client.min.js ./release/min/kusto.javascript.client.min.js && mcopy ./node_modules/@kusto/language-service-next/Kusto.Language.Bridge.min.js ./release/min/Kusto.Language.Bridge.min.js && mcopy ./node_modules/@kusto/language-service/bridge.min.js ./release/min/bridge.min.js && mcopy ./node_modules/@kusto/language-service/newtonsoft.json.min.js ./release/min/newtonsoft.json.min.js",
"prepublishOnly": "mkdirp release && npm run compile && node ./scripts/release.js && node ./scripts/bundle.js && npm run copy_runtime_deps_to_out && npm run copy_types_to_release",
"test": "jest",
"clean": "mrmdir ./out && mrmdir ./release",
"make_package": "npm run prepublishOnly && cp ./package.json ../package.json && cp -r ./release ../",
"premake_package": "mrmdir ../release && rm -f ../package.json"
},
"main": "./release/min/monaco.contribution.js",
"types": "./release/min/monaco.contribution.d.ts",
"devDependencies": {
"@types/jest": "^29.0.0",
"@types/lodash": "^4.14.109",
"@types/xregexp": "^3.0.29",
"concurrently": "^5.1.0",
"copy-dir-cli": "0.0.3",
"event-stream": "3.3.4",
"http-server": "^0.12.3",
"jest": "^29.0.0",
"live-server": "^1.2.1",
"lodash": "^4.17.4",
"merge-stream": "1.0.0",
"minimatch": "^3.0.4",
"monaco-editor-core": "0.41.0",
"monaco-languages": "2.11.1",
"monaco-plugin-helpers": "^1.0.3",
"object-assign": "4.1.0",
"requirejs": "^2.3.6",
"terser": "^4.6.7",
"ts-jest": "^29.0.0",
"typescript": "^5.1.6",
"vscode-languageserver-textdocument": "1.0.4",
"vscode-languageserver-types": "3.16.0",
"xregexp": "^3.2.0"
},
"dependencies": {
"@kusto/language-service": "2.0.0-beta.0",
"@kusto/language-service-next": "0.0.54"
},
"peerDependencies": {
"monaco-editor": "0.41.0"
},
"jest": {
"rootDir": "src",
"globals": {
"ts-jest": {
"tsConfigFile": "src/tsconfig.json"
}
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"prettier": {
"printWidth": 120,
"tabWidth": 4,
"singleQuote": true
}
}