Add missing tsconfig and changes to package.json

This commit is contained in:
Raghunandan
2020-05-21 22:31:39 +02:00
parent 8a95ab73df
commit 528c3ba861
2 changed files with 30 additions and 8 deletions
+15 -8
View File
@@ -6,29 +6,36 @@
"license": "Apache-2.0",
"private": true,
"scripts": {
"start": "tsc-watch --onFirstSuccess \"cross-env NODE_ENV=development nodemon dist/run.js\"",
"build": "tsc",
"start": "backstage-cli plugin:serve",
"lint": "backstage-cli lint",
"test": "backstage-cli test",
"prepack": "backstage-cli prepack",
"postpack": "backstage-cli postpack",
"clean": "backstage-cli clean"
},
"dependencies": {
"@backstage/backend-common": "^0.1.1-alpha.6",
"@backstage/core": "^0.1.1-alpha.6",
"axios": "^0.19.2",
"compression": "^1.7.4",
"cors": "^2.8.5",
"express": "^4.17.1",
"express-promise-router": "^3.0.3",
"fs-extra": "^9.0.0",
"helmet": "^3.22.0",
"winston": "^3.2.1"
"morgan": "^1.10.0",
"winston": "^3.2.1",
"yn": "^4.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.1.1-alpha.6",
"@backstage/dev-utils": "^0.1.1-alpha.6",
"@types/jest": "^25.2.1",
"@types/node": "^12.0.0"
"jest-fetch-mock": "^3.0.3",
"tsc-watch": "^4.2.3"
},
"files": [
"dist/**/*.{js,d.ts}"
]
"dist"
],
"nodemonConfig": {
"watch": "./dist"
}
}
+15
View File
@@ -0,0 +1,15 @@
{
"include": ["src"],
"compilerOptions": {
"outDir": "dist",
"incremental": true,
"sourceMap": true,
"declaration": true,
"strict": true,
"target": "es2019",
"module": "commonjs",
"esModuleInterop": true,
"lib": ["es2019"],
"types": ["node", "jest"]
}
}