Skip to content

Commit

Permalink
changed scripts to not build and run in one command
Browse files Browse the repository at this point in the history
  • Loading branch information
st-vi committed Oct 18, 2023
1 parent e32acf5 commit caee613
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions WebSocketLanguageServer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ COPY . .

EXPOSE 30000

RUN npm run build
CMD [ "npm", "run", "start" ]
5 changes: 2 additions & 3 deletions WebSocketLanguageServer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start:dev": "npx nodemon",
"build": "rimraf ./build && tsc",
"start": "npm run build && node build/index.js"
"build": "tsc",
"start": "node build/index.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/node": "^20.8.6",
"nodemon": "^3.0.1",
"rimraf": "^5.0.5",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
Expand Down

0 comments on commit caee613

Please sign in to comment.