62 lines
1.9 KiB
JSON
62 lines
1.9 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",
|
|
"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": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"reflect-metadata": "^0.1.10",
|
|
"sequelize": "^6.17.0",
|
|
"sequelize-typescript": "^2.1.3",
|
|
"sqlite3": "https://github.com/mapbox/node-sqlite3#918052b538b0effe6c4a44c74a16b2749c08a0d2",
|
|
"strong-error-handler": "^4.0.0",
|
|
"umzug": "^3.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^2.4.2",
|
|
"@types/cors": "^2.8.12",
|
|
"@types/express": "^4.0.39",
|
|
"@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/react-dom": "^17.0.14",
|
|
"@types/supertest": "^2.0.12",
|
|
"cross-env": "^7.0.3",
|
|
"jest": "^27.5.1",
|
|
"prettier": "^2.6.0",
|
|
"supertest": "^6.2.2",
|
|
"ts-jest": "^27.1.4",
|
|
"ts-node": "^10.6.0",
|
|
"tsc-alias": "^1.6.5",
|
|
"tsconfig-paths": "^3.14.1",
|
|
"tslint": "^6.1.3",
|
|
"typescript": "^4.6.2"
|
|
}
|
|
}
|