UNPKG

generator-code

Version:

Yeoman generator for Visual Studio Code extensions.

51 lines (50 loc) 1.77 kB
{ "name": <%- JSON.stringify(name) %>, "displayName": <%- JSON.stringify(displayName) %>, "description": <%- JSON.stringify(description) %>, "version": "0.0.1", "engines": { "vscode": <%- JSON.stringify(vsCodeEngine) %> }, "categories": [ "Other" ], "activationEvents": [], "browser": "./dist/web/extension.js", "contributes": { "commands": [ { "command": <%- JSON.stringify(`${name}.helloWorld`) %>, "title": "Hello World" } ] }, "scripts": { "test": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. --extensionTestsPath=dist/web/test/suite/extensionTests.js", "pretest": "<%= pkgManager %> run compile-web", "vscode:prepublish": "<%= pkgManager %> run package-web", "compile-web": "<%= pkgManager %> run check-types && <%= pkgManager %> run lint && node esbuild.js", "watch-web": "npm-run-all -p watch-web:*", "watch-web:esbuild": "node esbuild.js --watch", "watch-web:tsc": "tsc --noEmit --watch --project tsconfig.json", "package-web": "<%= pkgManager %> run check-types && <%= pkgManager %> run lint && node esbuild.js --production", "check-types": "tsc --noEmit", "lint": "eslint src", "run-in-browser": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. ." }, "devDependencies": { <%- dep("@types/vscode") %>, <%- dep("@types/mocha") %>, <%- dep("@types/assert") %>, <%- dep("eslint") %>, <%- dep("typescript-eslint") %>, <%- dep("mocha") %>, <%- dep("typescript") %>, <%- dep("@vscode/test-web") %>, <%- dep("esbuild") %>, <%- dep("glob") %>, <%- dep("npm-run-all") %>, <%- dep("@esbuild-plugins/node-globals-polyfill") %>, <%- dep("assert") %> } }