Skip to content

Commit 7f5b048

Browse files
authored
chore
fix start command
1 parent 4364c1e commit 7f5b048

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"@grpc/grpc-js": "1.10.1"
6969
},
7070
"scripts": {
71-
"start": "node lib/start.js",
71+
"start": "node lib/start.cjs",
7272
"dev": "cross-env NODE_ENV=development nodemon --watch './src/**/*.ts' --exec node --loader ts-node/esm ./src/start.ts",
7373
"test": "npm run build && npm run lint && c8 --reporter=text npm run mocha",
7474
"lint": "eslint src --ext .ts",
@@ -78,7 +78,7 @@
7878
"lcov-report": "c8 report --reporter=lcov",
7979
"coveralls": "c8 report --reporter=text-lcov | coveralls",
8080
"tsctests": "tsc -d -p tsconfig.test.json",
81-
"build:tsc": "esbuild ./src/start.ts --bundle --platform=node --outfile=lib/start.js --minify --tree-shaking=true --sourcemap=inline",
81+
"build:tsc": "esbuild ./src/start.ts --bundle --platform=node --outfile=lib/start.cjs --minify --tree-shaking=true --sourcemap=inline",
8282
"build:clean": "rimraf lib",
8383
"build": "npm-run-all lint build:clean build:tsc"
8484
},

0 commit comments

Comments
 (0)