|
@@ -3,16 +3,19 @@
|
|
|
"version": "0.9.1-RC",
|
|
"version": "0.9.1-RC",
|
|
|
"license": "MIT",
|
|
"license": "MIT",
|
|
|
"scripts": {
|
|
"scripts": {
|
|
|
- "build": "yarn tsc && tsc-alias -p tsconfig.build.json && yarn postbuild",
|
|
|
|
|
- "postbuild": "yarn cp:public && yarn cp:views",
|
|
|
|
|
- "cp:public": "mkdir -p ./dist/public && cp -r ./src/public ./dist",
|
|
|
|
|
- "cp:views": "mkdir -p ./dist/views && cp -r ./src/views ./dist",
|
|
|
|
|
|
|
+ "build": "yarn tsc && tsc-alias -p tsconfig.build.json",
|
|
|
|
|
+ "cp:public": "cp -RT ./src/public ./dist/public",
|
|
|
|
|
+ "cp:views": "cp -RT ./src/views ./dist/views",
|
|
|
|
|
+ "cp:bootstrap": "cp -RT ./node_modules/bootstrap/dist ./dist/public/bootstrap",
|
|
|
|
|
+ "cp:bootstrap:dev": "cp -RT ./node_modules/bootstrap/dist ./src/public/bootstrap",
|
|
|
"tsc": "tsc -p tsconfig.build.json",
|
|
"tsc": "tsc -p tsconfig.build.json",
|
|
|
"tsc:w": "yarn tsc -w",
|
|
"tsc:w": "yarn tsc -w",
|
|
|
"dev:ci": "yarn dev --ci",
|
|
"dev:ci": "yarn dev --ci",
|
|
|
"dev": "cross-env NODE_ENV=development ts-node-dev -r tsconfig-paths/register -r dotenv-flow/config src/index.ts",
|
|
"dev": "cross-env NODE_ENV=development ts-node-dev -r tsconfig-paths/register -r dotenv-flow/config src/index.ts",
|
|
|
"start:prod:ci": "yarn start:prod --ci",
|
|
"start:prod:ci": "yarn start:prod --ci",
|
|
|
"start:prod": "cross-env NODE_ENV=production node -r dotenv-flow/config dist/index.js",
|
|
"start:prod": "cross-env NODE_ENV=production node -r dotenv-flow/config dist/index.js",
|
|
|
|
|
+ "postbuild": "yarn cp:public && yarn cp:views && yarn cp:bootstrap",
|
|
|
|
|
+ "predev": "yarn cp:bootstrap:dev",
|
|
|
"test": "yarn test:lint && yarn test:coverage",
|
|
"test": "yarn test:lint && yarn test:coverage",
|
|
|
"test:unit": "cross-env NODE_ENV=test jest --passWithNoTests",
|
|
"test:unit": "cross-env NODE_ENV=test jest --passWithNoTests",
|
|
|
"test:coverage": "yarn test:unit",
|
|
"test:coverage": "yarn test:unit",
|
|
@@ -34,7 +37,6 @@
|
|
|
"@tsed/swagger": "^6.43.0",
|
|
"@tsed/swagger": "^6.43.0",
|
|
|
"@tsed/typeorm": "^6.43.0",
|
|
"@tsed/typeorm": "^6.43.0",
|
|
|
"axios": "^0.21.1",
|
|
"axios": "^0.21.1",
|
|
|
- "bootstrap": "^5.0.2",
|
|
|
|
|
"browser-bunyan": "^1.6.3",
|
|
"browser-bunyan": "^1.6.3",
|
|
|
"bunyan": "^1.8.15",
|
|
"bunyan": "^1.8.15",
|
|
|
"compression": "^1.7.4",
|
|
"compression": "^1.7.4",
|
|
@@ -57,6 +59,7 @@
|
|
|
"@tsed/schema": "^6.43.0",
|
|
"@tsed/schema": "^6.43.0",
|
|
|
"@typescript-eslint/eslint-plugin": "^4.18.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.18.0",
|
|
|
"@typescript-eslint/parser": "^4.18.0",
|
|
"@typescript-eslint/parser": "^4.18.0",
|
|
|
|
|
+ "bootstrap": "^5.0.2",
|
|
|
"browser-bunyan": "^1.6.3",
|
|
"browser-bunyan": "^1.6.3",
|
|
|
"eslint-import-resolver-typescript": "^2.4.0",
|
|
"eslint-import-resolver-typescript": "^2.4.0",
|
|
|
"morgan": "^1.10.0",
|
|
"morgan": "^1.10.0",
|