You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.7 KiB

  1. {
  2. "scripts": {
  3. "build": "npm run lint && npm run build:ts && npm run build:schema",
  4. "lint": "tslint --project .",
  5. "lint:fix": "tslint --project . --fix",
  6. "build:ts": "tsc",
  7. "build:schema": "npm run build:schema:html && npm run build:schema:documents && npm run build:schema:messages",
  8. "build:schema:html": "typescript-json-schema --noExtraProps --required --strictNullChecks -o ./build/fileparser/htmljsonschema.json ./src/fileparser/htmlschema.ts HtmlSchema",
  9. "build:schema:documents": "typescript-json-schema --noExtraProps --required --strictNullChecks -o ./build/client/documentsresponse.json ./src/client/schema.ts DocumentsResponse",
  10. "build:schema:messages": "typescript-json-schema --noExtraProps --required --strictNullChecks -o ./build/client/messagesresponse.json ./src/client/schema.ts MessagesResponse",
  11. "start": "node build"
  12. },
  13. "devDependencies": {
  14. "@types/ajv": "^1.0.0",
  15. "@types/basic-auth": "^1.1.2",
  16. "@types/express": "^4.17.0",
  17. "@types/html-entities": "^1.2.16",
  18. "@types/lodash": "^4.14.136",
  19. "@types/lru-cache": "^5.1.0",
  20. "@types/moment-timezone": "^0.5.12",
  21. "@types/request": "^2.48.2",
  22. "@types/request-promise-native": "^1.0.16",
  23. "tslint": "^5.18.0",
  24. "tslint-config-standard": "^8.0.1",
  25. "typescript": "^3.5.3",
  26. "typescript-json-schema": "^0.40.0"
  27. },
  28. "dependencies": {
  29. "ajv": "^6.10.2",
  30. "basic-auth": "^2.0.1",
  31. "express": "^4.17.1",
  32. "html-entities": "^1.2.1",
  33. "iconv-lite": "^0.5.0",
  34. "lodash": "^4.17.15",
  35. "lru-cache": "^5.1.1",
  36. "moment-timezone": "^0.5.26",
  37. "posthtml-parser": "^0.4.1",
  38. "proxy-agent": "^3.1.1",
  39. "request": "^2.88.0",
  40. "request-promise-native": "^1.0.7"
  41. }
  42. }