Switch to npm

This commit is contained in:
Justin Spahr-Summers
2024-10-28 10:48:22 +00:00
parent 82f3d99639
commit 702f827f74
5 changed files with 5827 additions and 3309 deletions

3
.gitattributes vendored
View File

@@ -1,2 +1 @@
yarn.lock linguist-generated=true package-lock.json linguist-generated=true
packages/**/* linguist-generated=true

View File

@@ -5,13 +5,13 @@ The MCP inspector is a developer tool for testing and debugging MCP servers.
Setup: Setup:
```bash ```bash
yarn npm install
``` ```
You can run it in dev mode via: You can run it in dev mode via:
```bash ```bash
yarn dev npm run dev
``` ```
This will start both the client and server. This will start both the client and server.
@@ -19,6 +19,6 @@ This will start both the client and server.
To run in production mode: To run in production mode:
```bash ```bash
yarn build npm run build
yarn start npm start
``` ```

5815
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -8,13 +8,13 @@
"server" "server"
], ],
"scripts": { "scripts": {
"dev": "concurrently \"cd client && yarn dev\" \"cd server && yarn dev\"", "dev": "concurrently \"cd client && npm run dev\" \"cd server && npm run dev\"",
"build-server": "cd server && yarn build", "build-server": "cd server && npm run build",
"build-client": "cd client && yarn build", "build-client": "cd client && npm run build",
"build": "yarn build-server && yarn build-client", "build": "npm run build-server && npm run build-client",
"start-server": "cd server && yarn start", "start-server": "cd server && npm run start",
"start-client": "cd client && yarn preview", "start-client": "cd client && npm run preview",
"start": "concurrently \"yarn start-server\" \"yarn start-client\"", "start": "concurrently \"npm run start-server\" \"npm run start-client\"",
"prettier-fix": "prettier --write ." "prettier-fix": "prettier --write ."
}, },
"devDependencies": { "devDependencies": {

3296
yarn.lock

File diff suppressed because it is too large Load Diff