Restructuring the folders
This commit is contained in:
27 files changed
+444
-439
No files matched your search
@@ -130,3 +130,6 @@ dist
|
|||||||
.yarn/install-state.gz
|
.yarn/install-state.gz
|
||||||
.pnp.*
|
.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
|
RUN yarn set version stable && yarn install && yarn cache clean
|
||||||
COPY --from=build /home/node/app/dist .
|
COPY --from=build /home/node/app/dist .
|
||||||
EXPOSE $PORT
|
EXPOSE $PORT
|
||||||
CMD ["node","server/index.js"]
|
CMD ["node","index.js"]
|
||||||
+7
-6
@@ -1,17 +1,18 @@
|
|||||||
{
|
{
|
||||||
"name": "@mifi/auth-service",
|
"name": "@mifi/auth-service",
|
||||||
"version": "1.0.2",
|
"version": "1.0.3",
|
||||||
"author": "mifi (Mike Fitzpatrick)",
|
"author": "mifi (Mike Fitzpatrick)",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"build:production": "tsc -p .",
|
"build:production": "tsc -p ",
|
||||||
"format": "prettier:fix && lint:fix",
|
"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/",
|
"lint:fix": "eslint --fix --ext .ts,.tsx lib/",
|
||||||
"prettier": "prettier --check 'lib/**/*.ts'",
|
"prettier": "prettier --check 'src/**/*.ts'",
|
||||||
"prettier:fix": "prettier --write 'lib/**/*.ts'",
|
"prettier:fix": "prettier --write 'src/**/*.ts'",
|
||||||
"serve": "node dist/lib/index.js",
|
"serve-dev": "node-ts src/index.ts",
|
||||||
|
"serve": "node lib/index.js",
|
||||||
"start": "nodemon",
|
"start": "nodemon",
|
||||||
"test": "jest --passWithNoTests"
|
"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,
|
"experimentalDecorators": true,
|
||||||
"emitDecoratorMetadata": true,
|
"emitDecoratorMetadata": true,
|
||||||
"noImplicitAny": true,
|
"noImplicitAny": true,
|
||||||
"outDir": "./dist/",
|
"outDir": "./lib/",
|
||||||
"rootDirs": ["lib"],
|
"rootDirs": ["src"],
|
||||||
"sourceMap": true
|
"sourceMap": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user