Switch to npm
This commit is contained in:
3
.gitattributes
vendored
3
.gitattributes
vendored
@@ -1,2 +1 @@
|
|||||||
yarn.lock linguist-generated=true
|
package-lock.json linguist-generated=true
|
||||||
packages/**/* linguist-generated=true
|
|
||||||
|
|||||||
@@ -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
5815
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
14
package.json
14
package.json
@@ -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": {
|
||||||
|
|||||||
Reference in New Issue
Block a user