summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorbscan <10503608+bscan@users.noreply.github.com>2023-01-15 17:09:29 -0500
committerbscan <10503608+bscan@users.noreply.github.com>2023-01-15 17:09:29 -0500
commit2c17a5096fa5c9310ffea8d478e30c7175b0b125 (patch)
treec82c5eacfc4d6213eca7bc49b75263c047c34d94 /package.json
parentd8b9250e26f5e86037d401de523478353413564d (diff)
downloadPerlNavigator-2c17a5096fa5c9310ffea8d478e30c7175b0b125.zip
First version of Web Extension. Currently only offers syntax highlighting.
Diffstat (limited to 'package.json')
-rw-r--r--package.json16
1 files changed, 13 insertions, 3 deletions
diff --git a/package.json b/package.json
index a5e9e48..754b595 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"description": "Code navigation, autocompletion, syntax checking, and linting for Perl",
"author": "bscan",
"license": "MIT",
- "version": "0.4.9",
+ "version": "0.5.0",
"icon": "images/camel_icon.png",
"repository": {
"type": "git",
@@ -22,6 +22,7 @@
"onLanguage:perl"
],
"main": "./client/out/extension",
+ "browser": "./client/dist/browserClientMain",
"contributes": {
"configuration": {
"type": "object",
@@ -330,9 +331,13 @@
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
+ "web-compile": "export NODE_OPTIONS=--openssl-legacy-provider; webpack",
+ "web-watch": "export NODE_OPTIONS=--openssl-legacy-provider; webpack --watch",
+ "package": "export NODE_OPTIONS=--openssl-legacy-provider; webpack --mode production --devtool hidden-source-map",
"install-client": "cd client && npm install",
"install-server": "cd server && npm install",
- "postinstall": "npm run-script install-client && npm run-script install-server",
+ "install-browser": "cd browser-ext && npm install",
+ "postinstall": "npm run-script install-client && npm run-script install-server && npm run-script install-browser",
"ci-client": "cd client && npm ci",
"ci-server": "cd server && npm ci",
"ci-all": "npm ci && npm run ci-client && npm run ci-server",
@@ -346,10 +351,15 @@
"@types/node": "^12.12.0",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
+ "@types/webpack-env": "^1.16.0",
"eslint": "^7.26.0",
"mocha": "^10.1.0",
"pkg": "^5.5.2",
- "typescript": "^4.2.3"
+ "typescript": "^4.8.4",
+ "webpack": "^5.38.1",
+ "webpack-cli": "^4.7.0",
+ "ts-loader": "^9.3.0",
+ "path-browserify": "^1.0.1"
},
"bin": "server/out/server.js",
"pkg": {