Update npm scripts
This commit is contained in:
parent
2fde31ef9c
commit
e98df30f76
@ -1,6 +1,7 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
|
ports: [3001]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
@ -17,5 +18,6 @@ steps:
|
|||||||
- npm run build
|
- npm run build
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: node:18-alpine
|
image: node:18-alpine
|
||||||
|
detach: true
|
||||||
commands:
|
commands:
|
||||||
- npm run start
|
- npm run start
|
||||||
|
64
package.json
64
package.json
@ -1,34 +1,34 @@
|
|||||||
{
|
{
|
||||||
"name": "beatsaber-overlay",
|
"name": "beatsaber-overlay",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "set APP_ENV=development && next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "npm i && next build && next start -p 3001",
|
"start": "APP_ENV=production next start -p 3001",
|
||||||
"lint": "next lint"
|
"lint": "next lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/cache": "^11.10.3",
|
"@emotion/cache": "^11.10.3",
|
||||||
"@emotion/server": "^11.10.0",
|
"@emotion/server": "^11.10.0",
|
||||||
"@nextui-org/react": "^1.0.0-beta.10",
|
"@nextui-org/react": "^1.0.0-beta.10",
|
||||||
"critters": "^0.0.16",
|
"critters": "^0.0.16",
|
||||||
"ioredis": "^5.2.3",
|
"ioredis": "^5.2.3",
|
||||||
"next": "12",
|
"next": "12",
|
||||||
"next-seo": "^5.8.0",
|
"next-seo": "^5.8.0",
|
||||||
"next-themes": "^0.2.1",
|
"next-themes": "^0.2.1",
|
||||||
"node-fetch": "^3.2.10",
|
"node-fetch": "^3.2.10",
|
||||||
"prop-types": "^15.8.1",
|
"prop-types": "^15.8.1",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-country-flag": "^3.0.2",
|
"react-country-flag": "^3.0.2",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"react-toastify": "^9.0.8",
|
"react-toastify": "^9.0.8",
|
||||||
"sharp": "^0.31.1"
|
"sharp": "^0.31.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^18.11.5",
|
"@types/node": "^18.11.5",
|
||||||
"@types/react": "^18.0.23",
|
"@types/react": "^18.0.23",
|
||||||
"eslint": "8.26.0",
|
"eslint": "8.26.0",
|
||||||
"eslint-config-next": "12.3.1",
|
"eslint-config-next": "12.3.1",
|
||||||
"typescript": "^4.8.4"
|
"typescript": "^4.8.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user