Guest User

Untitled

a guest
Nov 14th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. export const insertAdminTypes = async queryObj => {
  2. // code
  3. };
  4.  
  5. {
  6. "name": "express_server",
  7. "version": "0.0.1",
  8. "license": "UNLICENSED",
  9. "main": "./src/server.ts",
  10. "scripts": {
  11. "build-ts": "tsc",
  12. "start": "npx nodemon",
  13. "prod": "npx run build-ts",
  14. "postinstall": "npm run build-ts"
  15. },
  16. "dependencies": {
  17. "@types/body-parser": "^1.17.0",
  18. "@types/dotenv": "^6.1.0",
  19. "@types/express": "^4.16.0",
  20. "@types/jquery": "^3.3.22",
  21. "@types/node": "^10.12.2",
  22. "@types/underscore": "^1.8.9",
  23. "bcrypt": "^3.0.2",
  24. "body-parser": "^1.18.3",
  25. "dotenv": "^6.1.0",
  26. "express": "^4.16.4",
  27. "express-handlebars": "^3.0.0",
  28. "jsonwebtoken": "^8.3.0",
  29. "mongodb": "^3.1.9",
  30. "mysql": "^2.16.0",
  31. "nodemon": "^1.18.6",
  32. "reflect-metadata": "^0.1.12",
  33. "ts-node": "^7.0.1",
  34. "typeorm": "^0.2.8",
  35. "typescript": "^3.1.6",
  36. "underscore": "^1.9.1"
  37. },
  38. "devDependencies": {
  39. "husky": "^1.1.3",
  40. "lint-staged": "^8.0.4",
  41. "prettier": "^1.15.2",
  42. "pretty-quick": "^1.8.0",
  43. "tslint": "^5.11.0",
  44. "tslint-config-prettier": "^1.15.0",
  45. "tslint-plugin-prettier": "^2.0.1"
  46. },
  47. "husky": {
  48. "hooks": {
  49. "pre-commit": "pretty-quick --staged"
  50. }
  51. },
  52. "lint-staged": {
  53. "linters": {
  54. "*.{ts}": [
  55. "npx tslint --fix",
  56. "git add"
  57. ]
  58. },
  59. "ignore": [
  60. "./public",
  61. "./environment",
  62. "./node_modules"
  63. ]
  64. }
  65. }
  66.  
  67. {
  68. "ignore": ["**/*.test.ts", "**/*.spec.ts", ".git", "node_modules"],
  69. "watch": ["src"],
  70. "exec": "npx ts-node ./src/server.ts",
  71. "ext": "ts"
  72. }
  73.  
  74. {
  75. "compilerOptions": {
  76. "module": "commonjs",
  77. "esModuleInterop": true,
  78. "target": "es6",
  79. "noImplicitAny": false,
  80. "moduleResolution": "node",
  81. "sourceMap": true,
  82. "outDir": "dist",
  83. "pretty": true,
  84. "baseUrl": ".",
  85. "alwaysStrict": true,
  86. "emitDecoratorMetadata": true,
  87. "experimentalDecorators": true,
  88. "paths": {
  89. "*": ["node_modules/*", "src/types/*"]
  90. }
  91. },
  92. "include": ["src/**/*.ts"],
  93. "exclude": ["node_modules"]
  94. }
Add Comment
Please, Sign In to add comment