main
json 63 lines 1.82 KB
Raw
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/react/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.96.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 "build": "yarn run compile",
39 "build:compiler": "yarn workspace babel-plugin-react-compiler build --dts",
40 "compile": "rimraf dist && concurrently -n server,client \"scripts/build.mjs -t server\" \"scripts/build.mjs -t client\"",
41 "dev": "yarn run package && yarn run install-ext",
42 "install-ext": "code --install-extension react-forgive-0.0.0.vsix",
43 "lint": "echo 'no tests'",
44 "package": "rm -f react-forgive-0.0.0.vsix && vsce package --yarn",
45 "postinstall": "cd client && yarn install && cd ../server && yarn install && cd ..",
46 "pretest": "yarn run build:compiler && yarn run compile && yarn run lint",
47 "test": "vscode-test",
48 "vscode:prepublish": "yarn run compile",
49 "watch": "scripts/build.mjs --watch"
50 },
51 "devDependencies": {
52 "@eslint/js": "^9.13.0",
53 "@types/mocha": "^10.0.10",
54 "@types/node": "^20",
55 "@types/vscode": "^1.96.0",
56 "@vscode/test-cli": "^0.0.10",
57 "@vscode/test-electron": "^2.4.1",
58 "eslint": "^9.13.0",
59 "mocha": "^11.0.1",
60 "typescript-eslint": "^8.16.0",
61 "yargs": "^17.7.2"
62 }
63 }