38
38
" onLanguage:masm"
39
39
],
40
40
"main" : " ./dist/extension.js" ,
41
+ "browser" : " ./dist/web/extension.js" ,
41
42
"contributes" : {
42
43
"languages" : [
43
44
{
279
280
"scripts" : {
280
281
"clean" : " rimraf dist/ web/dist" ,
281
282
"postinstall" : " node dev/downloadBundle.js" ,
282
- "compile " : " webpack --mode production " ,
283
+ "watch-tsc " : " tsc -watch -p ./ " ,
283
284
"watch" : " webpack --mode development --watch" ,
284
- "watch-test" : " tsc -watch -p ./src" ,
285
+ "compile" : " webpack --mode production" ,
286
+ "pretest" : " tsc -p ./" ,
287
+ "test" : " node ./dist/test/runTest.js" ,
288
+ "pretest-web" : " yarn run compile" ,
289
+ "test-web" : " vscode-test-web --browserType=chromium --extensionDevelopmentPath=. --extensionTestsPath=dist/web/test/suite/index.js" ,
290
+ "run-in-browser" : " vscode-test-web --browserType=chromium --extensionDevelopmentPath=. ." ,
285
291
"lint" : " eslint src --ext ts" ,
286
292
"lint-fix" : " eslint src --ext ts --fix" ,
287
- "pretest" : " tsc -p ./src" ,
288
- "test" : " node ./dist/test/runTest.js" ,
289
293
"vscode:prepublish" : " yarn clean && yarn compile" ,
290
- "deploy" : " vsce publish --yarn --baseContentUrl https://github.com/dosasm/masm-tasm/blob/main/ --baseImagesUrl https://github.com/dosasm/masm-tasm/raw/main/ " ,
294
+ "deploy" : " vsce publish --yarn" ,
291
295
"package" : " vsce package"
292
296
},
293
297
"devDependencies" : {
294
298
"@types/glob" : " ^7.1.3" ,
295
299
"@types/js-yaml" : " ^4.0.0" ,
296
300
"@types/mocha" : " ^9.0.0" ,
297
- "@types/node" : " ^16.6.1" ,
298
301
"@types/vscode" : " ^1.49.0" ,
302
+ "@types/webpack-env" : " ^1.16.2" ,
299
303
"@typescript-eslint/eslint-plugin" : " ^4.29.1" ,
300
304
"@typescript-eslint/parser" : " ^4.29.1" ,
305
+ "@vscode/test-web" : " ^0.0.13" ,
306
+ "assert" : " ^2.0.0" ,
301
307
"del" : " ^6.0.0" ,
302
308
"download" : " ^8.0.0" ,
303
309
"emulators" : " ^0.67.0" ,
306
312
"js-yaml" : " ^4.0.0" ,
307
313
"jszip" : " ^3.7.1" ,
308
314
"mocha" : " ^9.0.3" ,
315
+ "node-fetch" : " ^3.0.0" ,
316
+ "path-browserify" : " ^1.0.1" ,
317
+ "process" : " ^0.11.10" ,
309
318
"rimraf" : " ^3.0.2" ,
310
319
"ts-loader" : " ^9.2.5" ,
311
320
"typescript" : " ^4.3.5" ,
323
332
324
333
},
325
334
"license" : " MIT"
326
- }
335
+ }
0 commit comments