Switch to npm
This commit is contained in:
parent
82f3d99639
commit
702f827f74
5 changed files with 5827 additions and 3309 deletions
3
.gitattributes
vendored
3
.gitattributes
vendored
|
|
@ -1,2 +1 @@
|
|||
yarn.lock linguist-generated=true
|
||||
packages/**/* linguist-generated=true
|
||||
package-lock.json linguist-generated=true
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@ The MCP inspector is a developer tool for testing and debugging MCP servers.
|
|||
Setup:
|
||||
|
||||
```bash
|
||||
yarn
|
||||
npm install
|
||||
```
|
||||
|
||||
You can run it in dev mode via:
|
||||
|
||||
```bash
|
||||
yarn dev
|
||||
npm run dev
|
||||
```
|
||||
|
||||
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:
|
||||
|
||||
```bash
|
||||
yarn build
|
||||
yarn start
|
||||
npm run build
|
||||
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"
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "concurrently \"cd client && yarn dev\" \"cd server && yarn dev\"",
|
||||
"build-server": "cd server && yarn build",
|
||||
"build-client": "cd client && yarn build",
|
||||
"build": "yarn build-server && yarn build-client",
|
||||
"start-server": "cd server && yarn start",
|
||||
"start-client": "cd client && yarn preview",
|
||||
"start": "concurrently \"yarn start-server\" \"yarn start-client\"",
|
||||
"dev": "concurrently \"cd client && npm run dev\" \"cd server && npm run dev\"",
|
||||
"build-server": "cd server && npm run build",
|
||||
"build-client": "cd client && npm run build",
|
||||
"build": "npm run build-server && npm run build-client",
|
||||
"start-server": "cd server && npm run start",
|
||||
"start-client": "cd client && npm run preview",
|
||||
"start": "concurrently \"npm run start-server\" \"npm run start-client\"",
|
||||
"prettier-fix": "prettier --write ."
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue