2022-03-06 19:46:59 -05:00
|
|
|
{
|
2022-03-28 15:13:22 -04:00
|
|
|
"name": "sequelize-typescript-starter",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "",
|
|
|
|
"main": "index.ts",
|
|
|
|
"scripts": {
|
2022-04-01 17:37:24 -04:00
|
|
|
"start": "cross-env NODE_ENV=production node dist/index.js",
|
|
|
|
"dev": "cross-env NODE_ENV=development nodemon index.ts",
|
2022-03-28 19:19:53 -04:00
|
|
|
"build": "mkdir -p ./dist && cp .env ./dist/.env && tsc -p ./tsconfig.json && tsc-alias -p ./tsconfig.json && yarn post-build",
|
2022-04-13 18:31:38 -04:00
|
|
|
"build:docker": "mkdir -p ./dist && cp .env.test ./dist/.env && tsc -p ./tsconfig.json && tsc-alias -p ./tsconfig.json && yarn post-build",
|
2022-03-28 19:19:53 -04:00
|
|
|
"post-build": "cp package.json ./dist/package.json && cp yarn.lock ./dist/yarn.lock && cd dist && env NODE_ENV=production yarn install",
|
2022-04-01 19:26:42 -04:00
|
|
|
"migrate:up": "ts-node migrate up",
|
|
|
|
"migrate:down": "ts-node migrate down",
|
|
|
|
"migrate": "ts-node migrate",
|
2022-04-03 15:47:37 -04:00
|
|
|
"lint": "prettier --config .prettierrc 'src/**/*.ts' 'index.ts' --write",
|
2022-04-06 12:31:16 -04:00
|
|
|
"test": "jest --silent"
|
2022-03-28 15:13:22 -04:00
|
|
|
},
|
|
|
|
"author": "",
|
|
|
|
"license": "ISC",
|
|
|
|
"dependencies": {
|
2022-03-28 22:26:16 -04:00
|
|
|
"bcryptjs": "^2.4.3",
|
2022-03-28 15:13:22 -04:00
|
|
|
"body-parser": "^1.18.2",
|
|
|
|
"celebrate": "^15.0.1",
|
|
|
|
"cors": "^2.8.5",
|
|
|
|
"dotenv": "^16.0.0",
|
|
|
|
"express": "^4.16.2",
|
|
|
|
"express-jwt": "^6.1.1",
|
|
|
|
"jsonwebtoken": "^8.5.1",
|
|
|
|
"marked": "^4.0.12",
|
|
|
|
"nodemon": "^2.0.15",
|
|
|
|
"prism-react-renderer": "^1.3.1",
|
2022-04-13 20:45:57 -04:00
|
|
|
"react": "^18.0.0",
|
|
|
|
"react-dom": "^18.0.0",
|
2022-03-28 15:13:22 -04:00
|
|
|
"reflect-metadata": "^0.1.10",
|
|
|
|
"sequelize": "^6.17.0",
|
|
|
|
"sequelize-typescript": "^2.1.3",
|
2022-11-08 03:31:23 -05:00
|
|
|
"sqlite3": "^5.0.3",
|
2022-03-28 15:13:22 -04:00
|
|
|
"strong-error-handler": "^4.0.0",
|
|
|
|
"umzug": "^3.1.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-04-12 16:25:48 -04:00
|
|
|
"@types/bcryptjs": "2.4.2",
|
|
|
|
"@types/cors": "2.8.12",
|
|
|
|
"@types/express": "4.17.13",
|
|
|
|
"@types/express-jwt": "6.0.4",
|
2022-11-14 18:04:48 -05:00
|
|
|
"@types/jest": "29.2.3",
|
2022-04-12 16:25:48 -04:00
|
|
|
"@types/jsonwebtoken": "8.5.8",
|
|
|
|
"@types/marked": "4.0.3",
|
|
|
|
"@types/node": "17.0.21",
|
2022-04-14 17:55:36 -04:00
|
|
|
"@types/node-fetch": "2.6.1",
|
2022-05-07 15:07:50 -04:00
|
|
|
"@types/react-dom": "17.0.16",
|
2022-04-12 16:25:48 -04:00
|
|
|
"@types/supertest": "2.0.12",
|
2022-11-08 03:28:19 -05:00
|
|
|
"@types/validator": "^13.7.10",
|
2022-04-12 16:25:48 -04:00
|
|
|
"cross-env": "7.0.3",
|
2022-11-14 18:04:48 -05:00
|
|
|
"jest": "29.3.1",
|
2022-04-12 16:52:42 -04:00
|
|
|
"prettier": "2.6.2",
|
2022-05-07 15:07:50 -04:00
|
|
|
"supertest": "6.2.3",
|
2022-11-14 18:04:48 -05:00
|
|
|
"ts-jest": "29.0.3",
|
2022-04-12 16:52:42 -04:00
|
|
|
"ts-node": "10.7.0",
|
2022-05-07 15:07:50 -04:00
|
|
|
"tsc-alias": "1.6.7",
|
2022-04-12 16:25:48 -04:00
|
|
|
"tsconfig-paths": "3.14.1",
|
|
|
|
"tslint": "6.1.3",
|
2022-05-07 15:07:50 -04:00
|
|
|
"typescript": "4.6.4"
|
2022-03-28 15:13:22 -04:00
|
|
|
}
|
2022-03-06 19:46:59 -05:00
|
|
|
}
|