UNPKG

@luozhu/create-vscode-extension

Version:
85 lines (84 loc) 2.37 kB
{ "name": "{{name}}", "displayName": "{{displayName}}", "description": "{{description}}", "version": "0.0.0", "icon": "assets/luozhu.png", "license": "MIT", "publisher": "{{publisher}}", "engines": { "vscode": "^1.60.0" }, "categories": ["Other"], "keywords": ["vscode"], "activationEvents": ["onCommand:{{name}}.helloWorld"], "main": "./out/extension.js", "contributes": { "commands": [ { "command": "{{name}}.helloWorld", "title": "Hello World" } ] }, "scripts": { "vscode:prepublish": "yarn esbuild-base --minify", "preesbuild-base": "rimraf out", "esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node", "esbuild": "yarn esbuild-base --sourcemap", "esbuild-watch": "yarn esbuild-base --sourcemap --watch", "test-compile": "tsc -p ./", "pretest": "yarn test-compile && yarn lint", "test": "node ./out/test/runTest.js", "lint": "eslint src --ext ts", "package": "vsce package --no-yarn", "release-it": "standard-version", "publish-it": "vsce publish --no-yarn", "commit": "git cz" }, "bugs": { "url": "https://github.com/{{repository}}/issues" }, "homepage": "https://github.com/{{repository}}", "repository": { "type": "git", "url": "https://github.com/{{repository}}.git" }, "devDependencies": { "@commitlint/cli": "^13.1.0", "@luozhu/eslint-config-typescript": "^1.8.2", "@luozhu/prettier-config": "^1.2.0", "@types/glob": "^7.1.3", "@types/mocha": "^8.2.2", "@types/node": "14.x", "@types/vscode": "^1.63.0", "commitizen": "^4.2.4", "commitlint-config-cz": "^0.13.2", "cz-customizable": "^6.3.0", "esbuild": "^0.12.27", "eslint": "^7.32.0", "glob": "^7.1.7", "lint-staged": "^11.1.2", "mocha": "^8.4.0", "prettier": "^2.4.0", "rimraf": "^3.0.2", "standard-version": "^9.3.1", "typescript": "^4.4.3", "vsce": "^1.99.0", "vscode-test": "^1.5.2", "yorkie": "^2.0.0" }, "gitHooks": { "pre-commit": "lint-staged", "commit-msg": "commitlint -e -V" }, "lint-staged": { "**/*.{js,jsx,ts,tsx}": ["eslint --fix"], "**/*.{md,json}": ["prettier --write"] }, "config": { "commitizen": { "path": "cz-customizable" } } }