2022-06-16 21:37:20 +00:00
|
|
|
{
|
|
|
|
"name": "vscode-squiggle",
|
|
|
|
"displayName": "Squiggle",
|
|
|
|
"description": "Squiggle language support",
|
2022-06-18 18:39:23 +00:00
|
|
|
"license": "MIT",
|
2022-06-19 20:59:17 +00:00
|
|
|
"version": "0.0.4",
|
2022-06-18 20:56:05 +00:00
|
|
|
"publisher": "QURI",
|
2022-06-18 18:39:23 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/quantified-uncertainty/squiggle.git"
|
|
|
|
},
|
2022-06-18 20:56:05 +00:00
|
|
|
"icon": "media/vendor/icon.png",
|
2022-06-16 21:37:20 +00:00
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.68.0"
|
|
|
|
},
|
|
|
|
"categories": [
|
2022-06-18 20:56:05 +00:00
|
|
|
"Programming Languages",
|
|
|
|
"Visualization"
|
2022-06-16 21:37:20 +00:00
|
|
|
],
|
|
|
|
"activationEvents": [
|
|
|
|
"onCustomEditor:squiggle.wysiwyg"
|
|
|
|
],
|
|
|
|
"main": "./out/extension.js",
|
|
|
|
"contributes": {
|
|
|
|
"customEditors": [
|
|
|
|
{
|
|
|
|
"viewType": "squiggle.wysiwyg",
|
|
|
|
"displayName": "Squiggle WYSIWYG",
|
|
|
|
"selector": [
|
|
|
|
{
|
|
|
|
"filenamePattern": "*.squiggle"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"priority": "default"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"commands": []
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"vscode:prepublish": "yarn run compile",
|
2022-06-18 08:57:52 +00:00
|
|
|
"compile:tsc": "tsc -p ./",
|
2022-06-19 20:59:17 +00:00
|
|
|
"compile:vendor": "(cd ../squiggle-lang && yarn run build) && (cd ../components && yarn run bundle && yarn run build:css) && 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",
|
2022-06-18 08:57:52 +00:00
|
|
|
"compile": "yarn run compile:tsc && yarn run compile:vendor",
|
2022-06-16 21:37:20 +00:00
|
|
|
"watch": "tsc -watch -p ./",
|
|
|
|
"pretest": "yarn run compile && yarn run lint",
|
2022-06-20 15:52:54 +00:00
|
|
|
"lint": "eslint src --ext ts",
|
|
|
|
"format": "eslint src --ext ts --fix"
|
2022-06-16 21:37:20 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/vscode": "^1.68.0",
|
|
|
|
"@types/glob": "^7.2.0",
|
2022-06-20 16:16:09 +00:00
|
|
|
"@types/node": "18.x",
|
2022-06-16 21:37:20 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.27.0",
|
|
|
|
"@typescript-eslint/parser": "^5.27.0",
|
2022-06-20 14:44:38 +00:00
|
|
|
"eslint": "^8.18.0",
|
2022-06-16 21:37:20 +00:00
|
|
|
"glob": "^8.0.3",
|
|
|
|
"typescript": "^4.7.2"
|
|
|
|
}
|
|
|
|
}
|