|
| 1 | +{ |
| 2 | + "name": "coc-leetcode", |
| 3 | + "version": "1.0.0", |
| 4 | + "description": "leetcode support for (Neo)vim", |
| 5 | + "author": "iamcco <ooiss@qq.com>", |
| 6 | + "license": "MIT", |
| 7 | + "main": "out/index.js", |
| 8 | + "keywords": [ |
| 9 | + "coc.nvim", |
| 10 | + "leetcode" |
| 11 | + ], |
| 12 | + "engines": { |
| 13 | + "coc": "^0.0.74" |
| 14 | + }, |
| 15 | + "scripts": { |
| 16 | + "clean": "rm -rf ./out", |
| 17 | + "watch": "webpack --watch", |
| 18 | + "build": "webpack", |
| 19 | + "lint": "eslint --fix ./src/**/*.ts", |
| 20 | + "prepare": "npm run clean && npm run build" |
| 21 | + }, |
| 22 | + "husky": { |
| 23 | + "hooks": { |
| 24 | + "pre-commit": "npm run lint", |
| 25 | + "pre-push": "npm run lint" |
| 26 | + } |
| 27 | + }, |
| 28 | + "activationEvents": [ |
| 29 | + "*" |
| 30 | + ], |
| 31 | + "contributes": { |
| 32 | + "configuration": { |
| 33 | + "type": "object", |
| 34 | + "title": "leetcode configuration", |
| 35 | + "properties": { |
| 36 | + "leetcode.trace.server": { |
| 37 | + "type": "string", |
| 38 | + "default": "off", |
| 39 | + "enum": [ |
| 40 | + "off", |
| 41 | + "messages", |
| 42 | + "verbose" |
| 43 | + ], |
| 44 | + "description": "Trace level of log" |
| 45 | + }, |
| 46 | + "leetcode.enabled": { |
| 47 | + "type": "boolean", |
| 48 | + "default": true, |
| 49 | + "description": "Enable/disable this extension" |
| 50 | + } |
| 51 | + }, |
| 52 | + "commands": [ |
| 53 | + { |
| 54 | + "command": "leetcode.login", |
| 55 | + "title": "Login by account and password" |
| 56 | + } |
| 57 | + ] |
| 58 | + } |
| 59 | + }, |
| 60 | + "devDependencies": { |
| 61 | + "@types/node": "^13.11.0", |
| 62 | + "@typescript-eslint/eslint-plugin": "^2.5.0", |
| 63 | + "@typescript-eslint/parser": "^2.5.0", |
| 64 | + "coc.nvim": "^0.0.74", |
| 65 | + "colors": "^1.4.0", |
| 66 | + "eslint": "^6.6.0", |
| 67 | + "eslint-config-prettier": "^6.5.0", |
| 68 | + "eslint-plugin-prettier": "^3.1.1", |
| 69 | + "husky": "^3.0.9", |
| 70 | + "prettier": "^1.18.2", |
| 71 | + "ts-loader": "^6.0.4", |
| 72 | + "typescript": "^3.5.3", |
| 73 | + "vscode-languageserver-protocol": "3.15.0-next.6", |
| 74 | + "webpack": "^4.39.2", |
| 75 | + "webpack-cli": "^3.3.6" |
| 76 | + }, |
| 77 | + "dependencies": { |
| 78 | + "axios": "^0.19.2" |
| 79 | + } |
| 80 | +} |
0 commit comments