Update npm scripts
This commit is contained in:
parent
2fde31ef9c
commit
e98df30f76
@ -1,6 +1,7 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
ports: [3001]
|
||||
|
||||
steps:
|
||||
- name: install dependencies
|
||||
@ -17,5 +18,6 @@ steps:
|
||||
- npm run build
|
||||
- name: deploy
|
||||
image: node:18-alpine
|
||||
detach: true
|
||||
commands:
|
||||
- npm run start
|
||||
|
@ -2,9 +2,9 @@
|
||||
"name": "beatsaber-overlay",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"dev": "set APP_ENV=development && next dev",
|
||||
"build": "next build",
|
||||
"start": "npm i && next build && next start -p 3001",
|
||||
"start": "APP_ENV=production next start -p 3001",
|
||||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
|
Reference in New Issue
Block a user