mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 14:30:22 +00:00
feat: added api-docs as submodule
This commit is contained in:
parent
423b087e0f
commit
2062740869
4
.gitignore
vendored
4
.gitignore
vendored
@ -42,3 +42,7 @@ yarn-error.log*
|
|||||||
package-lock.json
|
package-lock.json
|
||||||
|
|
||||||
secret.json
|
secret.json
|
||||||
|
|
||||||
|
# sub module
|
||||||
|
|
||||||
|
api-docs/
|
||||||
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "api-docs"]
|
||||||
|
path = api-docs
|
||||||
|
url = https://github.com/koreanbots/api-docs
|
||||||
1
api-docs
Submodule
1
api-docs
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 2ef14c2afc5d539a011a6c48401962c5ffec1073
|
||||||
@ -4,7 +4,8 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"pre-build": "git submodule init && git submodule update",
|
||||||
|
"build": "npm run pre-build && next build",
|
||||||
"start": "next start | (sleep 1; wget http://localhost:3000/api/v2 -O /dev/null)",
|
"start": "next start | (sleep 1; wget http://localhost:3000/api/v2 -O /dev/null)",
|
||||||
"lint": "eslint --ext ts,tsx .",
|
"lint": "eslint --ext ts,tsx .",
|
||||||
"prettier": "prettier --write **/*",
|
"prettier": "prettier --write **/*",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user