This reduces the deployment overheard for OSS users and speeds up the container build time as no native modules will need to be built.
54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"name": "admin",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "ts-node-dev --files src/index.ts",
|
|
"start": "node dist/index.js"
|
|
},
|
|
"devDependencies": {
|
|
"@tsconfig/node14": "^1.0.1",
|
|
"@types/bcryptjs": "^2.4.2",
|
|
"@types/express": "^4.17.12",
|
|
"@types/express-session": "^1.17.3",
|
|
"@types/flat": "^5.0.1",
|
|
"@types/node": "^15.14.0",
|
|
"@types/react": "^17.0.13",
|
|
"@types/react-datepicker": "^4.1.1",
|
|
"@types/react-router": "^5.1.15",
|
|
"@types/styled-components": "^5.1.10",
|
|
"@types/styled-system": "^5.1.11",
|
|
"@types/validator": "^13.6.0",
|
|
"nodemon": "^2.0.9",
|
|
"ts-node": "^10.0.0",
|
|
"ts-node-dev": "^1.1.8",
|
|
"typescript": "^4.4.3"
|
|
},
|
|
"dependencies": {
|
|
"@adminjs/express": "^4.0.0",
|
|
"@adminjs/typeorm": "^2.0.0",
|
|
"@types/react-router-dom": "^5.1.7",
|
|
"adminjs": "5.0.1",
|
|
"bcryptjs": "^2.4.3",
|
|
"cookie-parser": "^1.4.5",
|
|
"express": "^4.17.1",
|
|
"express-formidable": "^1.2.0",
|
|
"express-session": "^1.17.2",
|
|
"pg": "^8.6.0",
|
|
"reflect-metadata": "^0.1.13",
|
|
"typeorm": "^0.2.34"
|
|
},
|
|
"ts-node": {
|
|
"files": true
|
|
},
|
|
"files": [
|
|
"./src/index.ts",
|
|
"./src/db.ts"
|
|
],
|
|
"exclude": [
|
|
"./src/node_modules"
|
|
]
|
|
}
|