squiggle/packages/vscode-ext/package.json

50 lines
1.3 KiB
JSON
Raw Normal View History

{
"name": "vscode-squiggle",
"displayName": "Squiggle",
"description": "Squiggle language support",
"version": "0.0.1",
"engines": {
"vscode": "^1.68.0"
},
"categories": [
"Programming Languages"
],
"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 -p ./ && (cd ../components && yarn all) && cp ../components/dist/bundle.js media/components-bundle.js && cp ../components/dist/main.css media/components.css",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.68.0",
"@types/glob": "^7.2.0",
"@types/node": "16.x",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"eslint": "^8.16.0",
"glob": "^8.0.3",
"typescript": "^4.7.2"
}
}