new vscode ext publisher & icon

This commit is contained in:
Vyacheslav Matyukhin 2022-06-18 23:56:05 +03:00
parent 77c2e51aca
commit 112eae9115
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C

View File

@ -3,17 +3,19 @@
"displayName": "Squiggle", "displayName": "Squiggle",
"description": "Squiggle language support", "description": "Squiggle language support",
"license": "MIT", "license": "MIT",
"version": "0.0.2", "version": "0.0.3",
"publisher": "berekuk", "publisher": "QURI",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/quantified-uncertainty/squiggle.git" "url": "git+https://github.com/quantified-uncertainty/squiggle.git"
}, },
"icon": "media/vendor/icon.png",
"engines": { "engines": {
"vscode": "^1.68.0" "vscode": "^1.68.0"
}, },
"categories": [ "categories": [
"Programming Languages" "Programming Languages",
"Visualization"
], ],
"activationEvents": [ "activationEvents": [
"onCustomEditor:squiggle.wysiwyg" "onCustomEditor:squiggle.wysiwyg"
@ -37,7 +39,7 @@
"scripts": { "scripts": {
"vscode:prepublish": "yarn run compile", "vscode:prepublish": "yarn run compile",
"compile:tsc": "tsc -p ./", "compile:tsc": "tsc -p ./",
"compile:vendor": "(cd ../components && yarn run build) && mkdir -p media/vendor && cp ../components/dist/bundle.js media/vendor/components.js && cp ../components/dist/main.css media/vendor/components.css && cp ../../node_modules/react/umd/react.production.min.js media/vendor/react.js && cp ../../node_modules/react-dom/umd/react-dom.production.min.js media/vendor/react-dom.js", "compile:vendor": "(cd ../components && yarn run build) && mkdir -p media/vendor && cp ../components/dist/bundle.js media/vendor/components.js && cp ../components/dist/main.css media/vendor/components.css && cp ../../node_modules/react/umd/react.production.min.js media/vendor/react.js && cp ../../node_modules/react-dom/umd/react-dom.production.min.js media/vendor/react-dom.js && cp ../website/static/img/quri-logo.png media/vendor/icon.png",
"compile": "yarn run compile:tsc && yarn run compile:vendor", "compile": "yarn run compile:tsc && yarn run compile:vendor",
"watch": "tsc -watch -p ./", "watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint", "pretest": "yarn run compile && yarn run lint",