|
| 1 | +{ |
| 2 | + "name": "react-forgive", |
| 3 | + "displayName": "React Analyzer", |
| 4 | + "description": "React LSP", |
| 5 | + "license": "MIT", |
| 6 | + "version": "0.0.0", |
| 7 | + "repository": { |
| 8 | + "type": "git", |
| 9 | + "url": "git+https://github.com/facebook/react.git", |
| 10 | + "directory": "compiler/packages/react-forgive" |
| 11 | + }, |
| 12 | + "categories": [ |
| 13 | + "Programming Languages" |
| 14 | + ], |
| 15 | + "keywords": [ |
| 16 | + "react", |
| 17 | + "react analyzer", |
| 18 | + "react compiler" |
| 19 | + ], |
| 20 | + "publisher": "Meta", |
| 21 | + "engines": { |
| 22 | + "vscode": "^1.75.0" |
| 23 | + }, |
| 24 | + "activationEvents": [ |
| 25 | + "onLanguage:javascriptreact", |
| 26 | + "onLanguage:typescriptreact" |
| 27 | + ], |
| 28 | + "main": "./dist/extension.js", |
| 29 | + "contributes": { |
| 30 | + "commands": [ |
| 31 | + { |
| 32 | + "command": "react-forgive.toggleAll", |
| 33 | + "title": "React Analyzer: Toggle on/off" |
| 34 | + } |
| 35 | + ] |
| 36 | + }, |
| 37 | + "scripts": { |
| 38 | + "compile": "yarn run esbuild-base -- --sourcemap", |
| 39 | + "dev": "yarn run package && yarn run install-ext", |
| 40 | + "esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node", |
| 41 | + "install-ext": "code --install-extension vscode-react-compiler-0.0.1.vsix", |
| 42 | + "lint": "eslint src --ext ts", |
| 43 | + "package": "vsce package", |
| 44 | + "postinstall": "cd client && yarn install && cd ../server && yarn install && cd ..", |
| 45 | + "pretest": "yarn run compile && yarn run lint", |
| 46 | + "test": "vscode-test", |
| 47 | + "test-compile": "tsc -p ./", |
| 48 | + "vscode:prepublish": "yarn run esbuild-base -- --minify", |
| 49 | + "watch": "yarn run esbuild-base -- --sourcemap --watch" |
| 50 | + }, |
| 51 | + "devDependencies": { |
| 52 | + "@eslint/js": "^9.13.0", |
| 53 | + "@types/node": "^20", |
| 54 | + "esbuild": "^0.24.0", |
| 55 | + "eslint": "^9.13.0", |
| 56 | + "typescript": "^5.7.2", |
| 57 | + "typescript-eslint": "^8.16.0" |
| 58 | + } |
| 59 | +} |
0 commit comments