|
7 | 7 | "main": "index.js", |
8 | 8 | "scripts": { |
9 | 9 | "clean": "node -e \"require('fs').rmSync('build', {recursive: true, force: true})\"", |
10 | | - "bundle": "npm run clean && npm run build && rollup -c rollup.config.mjs", |
| 10 | + "bundle": "npm run clean && npm run build && rollup -c rollup.config.mjs && node -e \"require('fs').rmSync('build/node_modules', {recursive: true, force: true})\"", |
11 | 11 | "build": "tsc && node --experimental-strip-types --no-warnings=ExperimentalWarning scripts/post-build.ts", |
12 | 12 | "typecheck": "tsc --noEmit", |
13 | 13 | "format": "eslint --cache --fix . && prettier --write --cache .", |
|
16 | 16 | "docs:generate": "node --experimental-strip-types scripts/generate-docs.ts", |
17 | 17 | "start": "npm run build && node build/src/index.js", |
18 | 18 | "start-debug": "DEBUG=mcp:* DEBUG_COLORS=false npm run build && node build/src/index.js", |
19 | | - "test:node20": "node --require ./build/tests/setup.js --test-reporter spec --test-force-exit --test build/tests", |
20 | | - "test": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --experimental-print-required-tla --test-reporter spec --test-force-exit --test \"build/tests/**/*.test.js\"", |
21 | | - "test:only": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-reporter spec --test-force-exit --test --test-only \"build/tests/**/*.test.js\"", |
22 | | - "test:only:no-build": "node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-reporter spec --test-force-exit --test --test-only \"build/tests/**/*.test.js\"", |
23 | | - "test:update-snapshots": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-force-exit --test --test-update-snapshots \"build/tests/**/*.test.js\"", |
| 19 | + "test:node20": "node --import ./build/tests/setup.js --test-reporter spec --test-force-exit --test build/tests", |
| 20 | + "test:no-build": "node --import ./build/tests/setup.js --no-warnings=ExperimentalWarning --experimental-print-required-tla --test-reporter spec --test-force-exit --test \"build/tests/**/*.test.js\"", |
| 21 | + "test": "npm run build && node --import ./build/tests/setup.js --no-warnings=ExperimentalWarning --experimental-print-required-tla --test-reporter spec --test-force-exit --test \"build/tests/**/*.test.js\"", |
| 22 | + "test:only": "npm run build && node --import ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-reporter spec --test-force-exit --test --test-only \"build/tests/**/*.test.js\"", |
| 23 | + "test:only:no-build": "node --import ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-reporter spec --test-force-exit --test --test-only \"build/tests/**/*.test.js\"", |
| 24 | + "test:update-snapshots": "npm run build && node --import ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-force-exit --test --test-update-snapshots \"build/tests/**/*.test.js\"", |
24 | 25 | "prepare": "node --experimental-strip-types scripts/prepare.ts", |
25 | 26 | "verify-server-json-version": "node --experimental-strip-types scripts/verify-server-json-version.ts" |
26 | 27 | }, |
|
0 commit comments