50 lines
1.5 KiB
JSON
50 lines
1.5 KiB
JSON
{
|
|
"name": "microfrontend-api",
|
|
"author": "Billy Lando <billy_lando@yahoo.com>",
|
|
"version": "0.0.1",
|
|
"description": "ExpressJS, NodeJS microfrontend API",
|
|
"scripts": {
|
|
"dev": "nodemon",
|
|
"start": "ts-node --inspect=5858 -r tsconfig-paths/register api/server.ts",
|
|
"test": "npx jest --watchAll",
|
|
"migration:generate": "ts-node ./node_modules/typeorm/cli.js migration:generate -n",
|
|
"migration:run": "ts-node ./node_modules/typeorm/cli.js migration:run",
|
|
"migration:revert": "ts-node ./node_modules/typeorm/cli.js migration:revert"
|
|
},
|
|
"jest": {
|
|
"transform": {
|
|
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
|
},
|
|
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"json"
|
|
]
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"body-parser": "^1.18.3",
|
|
"cors": "^2.8.5",
|
|
"express": "^4.16.4",
|
|
"mysql": "^2.16.0",
|
|
"pg": "^8.16.0",
|
|
"typeorm": "^0.2.25"
|
|
},
|
|
"devDependencies": {
|
|
"@types/body-parser": "^1.17.0",
|
|
"@types/cors": "^2.8.18",
|
|
"@types/express": "^4.16.0",
|
|
"@types/jest": "^23.3.13",
|
|
"@types/supertest": "^2.0.7",
|
|
"jest": "^24.5.0",
|
|
"nodemon": "^1.18.9",
|
|
"supertest": "^3.4.2",
|
|
"ts-jest": "^23.10.5",
|
|
"ts-node": "^7.0.1",
|
|
"tsconfig-paths": "^3.7.0",
|
|
"typescript": "^3.2.2"
|
|
}
|
|
}
|