A simpler way to view django projects
| 1 | { |
| 2 | "name": "django-tree", |
| 3 | "icon": "resources/logo-512x512.png", |
| 4 | "displayName": "django-tree", |
| 5 | "license": "Apache-2.0", |
| 6 | "publisher": "Hygo", |
| 7 | "description": "Shows the settings and models for the current django project", |
| 8 | "repository": { |
| 9 | "type": "git", |
| 10 | "url": "https://github.com/huncholane/DjangoTree" |
| 11 | }, |
| 12 | "version": "0.0.15", |
| 13 | "engines": { |
| 14 | "vscode": "^1.89.0" |
| 15 | }, |
| 16 | "categories": [ |
| 17 | "Extension Packs", |
| 18 | "Snippets" |
| 19 | ], |
| 20 | "activationEvents": [], |
| 21 | "main": "./out/extension.js", |
| 22 | "contributes": { |
| 23 | "snippets": [ |
| 24 | { |
| 25 | "language": "python", |
| 26 | "path": "./snippets/python.json" |
| 27 | } |
| 28 | ], |
| 29 | "commands": [ |
| 30 | { |
| 31 | "title": "Open File", |
| 32 | "command": "django-tree.openFile" |
| 33 | } |
| 34 | ], |
| 35 | "configuration": { |
| 36 | "title": "DjangoTree", |
| 37 | "properties": { |
| 38 | "django-tree.projectDir": { |
| 39 | "type": "string", |
| 40 | "description": "The root path to a directory containing the manage.py file." |
| 41 | }, |
| 42 | "django-tree.skipDirs": { |
| 43 | "type": "array", |
| 44 | "description": "Directories to skip when searching for settings and models", |
| 45 | "default": [ |
| 46 | "**/node_modules/**", |
| 47 | "**/__pycache__/**" |
| 48 | ] |
| 49 | } |
| 50 | } |
| 51 | }, |
| 52 | "viewsContainers": { |
| 53 | "activitybar": [ |
| 54 | { |
| 55 | "id": "django-tree", |
| 56 | "title": "DjangoTree", |
| 57 | "icon": "resources/django.svg" |
| 58 | } |
| 59 | ] |
| 60 | }, |
| 61 | "views": { |
| 62 | "django-tree": [ |
| 63 | { |
| 64 | "id": "django-tree.get-started", |
| 65 | "name": "Get Started", |
| 66 | "when": "!django-tree.projectDir" |
| 67 | }, |
| 68 | { |
| 69 | "id": "django-tree.project", |
| 70 | "name": "Project", |
| 71 | "when": "django-tree.projectDir" |
| 72 | } |
| 73 | ] |
| 74 | } |
| 75 | }, |
| 76 | "scripts": { |
| 77 | "vscode:prepublish": "npm run compile", |
| 78 | "compile": "tsc -p ./", |
| 79 | "watch": "tsc -watch -p ./", |
| 80 | "pretest": "npm run compile && npm run lint", |
| 81 | "lint": "eslint src --ext ts", |
| 82 | "test": "vscode-test" |
| 83 | }, |
| 84 | "devDependencies": { |
| 85 | "@types/vscode": "^1.89.0", |
| 86 | "@types/mocha": "^10.0.6", |
| 87 | "@types/node": "18.x", |
| 88 | "@typescript-eslint/eslint-plugin": "^7.7.1", |
| 89 | "@typescript-eslint/parser": "^7.7.1", |
| 90 | "eslint": "^8.57.0", |
| 91 | "typescript": "^5.4.5", |
| 92 | "@vscode/test-cli": "^0.0.9", |
| 93 | "@vscode/test-electron": "^2.3.9" |
| 94 | } |
| 95 | } |