Restructuring the folders #1
No files matched your search
@@ -130,3 +130,6 @@ dist
|
||||
.yarn/install-state.gz
|
||||
.pnp.*
|
||||
|
||||
# Project
|
||||
lib/
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
src
|
||||
tsconfig.json
|
||||
tslint.json
|
||||
.prettierrc
|
||||
.yarnrc.yml
|
||||
.drone.yml
|
||||
babel.config.*
|
||||
jest.config.*
|
||||
+1
-1
@@ -32,4 +32,4 @@ COPY package*.json yarn.lock ./
|
||||
RUN yarn set version stable && yarn install && yarn cache clean
|
||||
COPY --from=build /home/node/app/dist .
|
||||
EXPOSE $PORT
|
||||
CMD ["node","server/index.js"]
|
||||
CMD ["node","index.js"]
|
||||
+7
-6
@@ -1,17 +1,18 @@
|
||||
{
|
||||
"name": "@mifi/auth-service",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"author": "mifi (Mike Fitzpatrick)",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"build:production": "tsc -p .",
|
||||
"build:production": "tsc -p ",
|
||||
"format": "prettier:fix && lint:fix",
|
||||
"lint": "eslint --ext .ts,.tsx lib/",
|
||||
"lint": "eslint --ext .ts,.tsx src/",
|
||||
"lint:fix": "eslint --fix --ext .ts,.tsx lib/",
|
||||
"prettier": "prettier --check 'lib/**/*.ts'",
|
||||
"prettier:fix": "prettier --write 'lib/**/*.ts'",
|
||||
"serve": "node dist/lib/index.js",
|
||||
"prettier": "prettier --check 'src/**/*.ts'",
|
||||
"prettier:fix": "prettier --write 'src/**/*.ts'",
|
||||
"serve-dev": "node-ts src/index.ts",
|
||||
"serve": "node lib/index.js",
|
||||
"start": "nodemon",
|
||||
"test": "jest --passWithNoTests"
|
||||
},
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+2
-2
@@ -5,8 +5,8 @@
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"noImplicitAny": true,
|
||||
"outDir": "./dist/",
|
||||
"rootDirs": ["lib"],
|
||||
"outDir": "./lib/",
|
||||
"rootDirs": ["src"],
|
||||
"sourceMap": true
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user