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.5KB

  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:schema1 && npm run build:schema2",
  8. "build:schema1": "typescript-json-schema --noExtraProps --required --strictNullChecks -o ./build/fileparser/htmljsonschema.json ./src/fileparser/htmlschema.ts HtmlSchema",
  9. "build:schema2": "typescript-json-schema --noExtraProps --required --strictNullChecks -o ./build/client/resschema.json ./src/client/schema.ts ResponseData",
  10. "start": "node build/api.js"
  11. },
  12. "devDependencies": {
  13. "@types/ajv": "^1.0.0",
  14. "@types/basic-auth": "^1.1.2",
  15. "@types/express": "^4.17.0",
  16. "@types/lodash": "^4.14.136",
  17. "@types/lru-cache": "^5.1.0",
  18. "@types/moment-timezone": "^0.5.12",
  19. "@types/request": "^2.48.2",
  20. "@types/request-promise-native": "^1.0.16",
  21. "@types/uuid": "^3.4.5",
  22. "tslint": "^5.18.0",
  23. "tslint-config-standard": "^8.0.1",
  24. "typescript": "^3.5.3",
  25. "typescript-json-schema": "^0.40.0"
  26. },
  27. "dependencies": {
  28. "ajv": "^6.10.2",
  29. "basic-auth": "^2.0.1",
  30. "express": "^4.17.1",
  31. "html-entities": "^1.2.1",
  32. "iconv-lite": "^0.5.0",
  33. "lodash": "^4.17.15",
  34. "lru-cache": "^5.1.1",
  35. "moment-timezone": "^0.5.26",
  36. "posthtml-parser": "^0.4.1",
  37. "proxy-agent": "^3.1.1",
  38. "request": "^2.88.0",
  39. "request-promise-native": "^1.0.7",
  40. "uuid": "^3.3.3"
  41. }
  42. }