{ "name": "vscode-squiggle", "displayName": "Squiggle", "description": "Squiggle language support", "license": "MIT", "version": "0.0.4", "publisher": "QURI", "repository": { "type": "git", "url": "git+https://github.com/quantified-uncertainty/squiggle.git" }, "icon": "media/vendor/icon.png", "engines": { "vscode": "^1.68.0" }, "categories": [ "Programming Languages", "Visualization" ], "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", "compile:tsc": "tsc -p ./", "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", "compile": "yarn run compile:tsc && yarn run compile:vendor", "watch": "tsc -watch -p ./", "pretest": "yarn run compile && yarn run lint", "lint": "eslint src --ext ts", "format": "eslint src --ext ts --fix" }, "devDependencies": { "@types/vscode": "^1.68.0", "@types/glob": "^7.2.0", "@types/node": "18.x", "@typescript-eslint/eslint-plugin": "^5.27.0", "@typescript-eslint/parser": "^5.27.0", "eslint": "^8.18.0", "glob": "^8.0.3", "typescript": "^4.7.2" } }