centralize the theming
This commit is contained in:
parent
30b28056de
commit
db8b20ee71
20 changed files with 183 additions and 114 deletions
|
@ -4,7 +4,7 @@ WORKDIR /usr/src/app
|
|||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN if [ "$NODE_ENV" = "dev" ]; then npm install; else npm install --only=production; fi
|
||||
RUN if [ "$NODE_ENV" = "dev" ]; then npm install; else npm install --omit=dev; fi
|
||||
|
||||
COPY . .
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"version": "1.0.0",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"dev": "nodemon ./src/index.js",
|
||||
"dev": "nodemon ./src/index.ts",
|
||||
"production": "tsc && node ./dist/index.js",
|
||||
"demo": "tsc && node ./dist/index.js"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue