64 lines
2 KiB
JSON
64 lines
2 KiB
JSON
{
|
|
"name": "sequelize-typescript-starter",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.ts",
|
|
"scripts": {
|
|
"start": "cross-env NODE_ENV=production node dist/index.js",
|
|
"dev": "cross-env NODE_ENV=development nodemon index.ts",
|
|
"build": "mkdir -p ./dist && cp .env ./dist/.env && tsc -p ./tsconfig.json && tsc-alias -p ./tsconfig.json && yarn post-build",
|
|
"build:docker": "mkdir -p ./dist && cp .env.test ./dist/.env && tsc -p ./tsconfig.json && tsc-alias -p ./tsconfig.json && yarn post-build",
|
|
"post-build": "cp package.json ./dist/package.json && cp yarn.lock ./dist/yarn.lock && cd dist && env NODE_ENV=production yarn install",
|
|
"migrate:up": "ts-node migrate up",
|
|
"migrate:down": "ts-node migrate down",
|
|
"migrate": "ts-node migrate",
|
|
"lint": "prettier --config .prettierrc 'src/**/*.ts' 'index.ts' --write",
|
|
"test": "jest --silent"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"bcryptjs": "^2.4.3",
|
|
"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",
|
|
"react": "^18.0.0",
|
|
"react-dom": "^18.0.0",
|
|
"reflect-metadata": "^0.1.10",
|
|
"sequelize": "^6.17.0",
|
|
"sequelize-typescript": "^2.1.3",
|
|
"sqlite3": "^5.0.4",
|
|
"strong-error-handler": "^4.0.0",
|
|
"umzug": "^3.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "2.4.2",
|
|
"@types/cors": "2.8.12",
|
|
"@types/express": "4.17.13",
|
|
"@types/express-jwt": "6.0.4",
|
|
"@types/jest": "27.4.1",
|
|
"@types/jsonwebtoken": "8.5.8",
|
|
"@types/marked": "4.0.3",
|
|
"@types/node": "17.0.21",
|
|
"@types/node-fetch": "2.6.1",
|
|
"@types/react-dom": "17.0.15",
|
|
"@types/supertest": "2.0.12",
|
|
"cross-env": "7.0.3",
|
|
"jest": "27.5.1",
|
|
"prettier": "2.6.2",
|
|
"supertest": "6.2.2",
|
|
"ts-jest": "27.1.4",
|
|
"ts-node": "10.7.0",
|
|
"tsc-alias": "1.6.6",
|
|
"tsconfig-paths": "3.14.1",
|
|
"tslint": "6.1.3",
|
|
"typescript": "4.6.3"
|
|
}
|
|
}
|