package.json 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. {
  2. "name": "threema-web",
  3. "version": "2.3.7",
  4. "description": "Threema Webclient",
  5. "scripts": {
  6. "build": "npm run build:js && npm run build:css",
  7. "build:js": "webpack --config webpack.prod.js",
  8. "build:css": "node-sass -o public/css/ --output-style compressed src/sass/",
  9. "build:css:watch": "node-sass -w -r --source-map true --source-map-embed true -o public/css/ --output-style compressed src/sass/",
  10. "build:tests": "echo -e 'NOTE: Use either \"npm build:unittests\" or \"npm build:uitests\"\n' && exit 1",
  11. "build:unittests": "webpack --config webpack.tests.js",
  12. "build:uitests": "npm run build:css && webpack --config webpack.tests.js",
  13. "dist": "npm run clean && npm run build && echo \"\" && node dist/build-package.js",
  14. "serve:live": "echo 'NOTE: serve:live command has been renamed to devserver'",
  15. "devserver": "npm run build:css && concurrently --kill-others --names \"css,server\" -p name \"npm run build:css:watch\" \"npx webpack-dev-server --config webpack.dev.js\"",
  16. "testserver": "npx webpack-dev-server --config webpack.tests.js",
  17. "test": "echo -e 'NOTE: Use either \"npm run test:unit\" or \"npm run test:ui\"\n' && exit 1",
  18. "test:unit": "npm run build:unittests && karma start --single-run --log-level=debug --colors",
  19. "test:ui": "bash tests/ui/run.sh",
  20. "lint": "npm run lint:ts && npm run lint:sass",
  21. "lint:ts": "tslint -c tslint.json --project tsconfig.json --exclude \"**/src/config.ts\"",
  22. "lint:sass": "sass-lint -c .sass-lint.yml -v -q",
  23. "lint:sass:fix": "sass-lint-auto-fix -c .sass-lint.yml",
  24. "clean": "rm -rf dist/generated"
  25. },
  26. "keywords": [
  27. "threema",
  28. "saltyrtc",
  29. "webrtc",
  30. "messenger"
  31. ],
  32. "author": "Threema GmbH",
  33. "license": "AGPL-3.0+",
  34. "private": true,
  35. "homepage": "https://threema.ch/",
  36. "dependencies": {
  37. "@babel/core": "^7.8.4",
  38. "@babel/plugin-syntax-dynamic-import": "^7.8.3",
  39. "@babel/plugin-transform-runtime": "^7.8.3",
  40. "@babel/preset-env": "^7.8.4",
  41. "@babel/runtime": "^7.8.4",
  42. "@saltyrtc/client": "^0.14.4",
  43. "@saltyrtc/task-relayed-data": "^0.3.1",
  44. "@saltyrtc/task-webrtc": "^0.14.1",
  45. "@threema/compose-area": "^0.3.5",
  46. "@types/angular": "^1.6.57",
  47. "@types/angular-material": "^1.1.71",
  48. "@types/angular-sanitize": "^1.7.0",
  49. "@types/angular-translate": "^2.16.2",
  50. "@types/file-saver": "^2.0.1",
  51. "@types/jquery": "^3.3.32",
  52. "@types/msgpack-lite": "^0.1.7",
  53. "@types/webrtc": "0.0.26",
  54. "@uirouter/angularjs": "^1.0.25",
  55. "angular": "^1.7.9",
  56. "angular-animate": "^1.7.9",
  57. "angular-aria": "^1.7.9",
  58. "angular-material": "=1.1.11",
  59. "angular-messages": "^1.7.9",
  60. "angular-qrcode": "~7.2",
  61. "angular-route": "^1.7.9",
  62. "angular-sanitize": "^1.7.9",
  63. "angular-translate": "~2.18.2",
  64. "angularjs-scroll-glue": "=2.1.0",
  65. "autolinker": "^3.12.0",
  66. "babel-loader": "^8.0.6",
  67. "core-js": "^3.6.4",
  68. "croppie": "^2.6.4",
  69. "emojibase-regex": "^3.2.1",
  70. "file-saver": "^2.0.2",
  71. "messageformat": "^2.3.0",
  72. "msgpack-lite": "~0.1.26",
  73. "node-sass": "^4.13.1",
  74. "sdp": "~2.12.0",
  75. "ts-events": "~3.4.0",
  76. "ts-loader": "~6.2.1",
  77. "ts-log": "^2.1.4",
  78. "tweetnacl": "^1.0.3",
  79. "twemoji": "^12.1.5",
  80. "typescript": "~3.7.5",
  81. "webpack": "^4.41.6",
  82. "webpack-cli": "^3.3.11",
  83. "webpack-merge": "^4.2.2",
  84. "webrtc-adapter": "^7.5.0"
  85. },
  86. "devDependencies": {
  87. "@types/chai": "^4.2.9",
  88. "@types/jasmine": "^3.5.4",
  89. "@types/selenium-webdriver": "^4.0.8",
  90. "angular-mocks": "^1.7.9",
  91. "chai": "^4.2.0",
  92. "concurrently": "~5.1.0",
  93. "geckodriver": "~1.19.1",
  94. "jasmine": "~3.5.0",
  95. "jasmine-core": "~3.5.0",
  96. "karma": "~4.4.1",
  97. "karma-chrome-launcher": "~3.1.0",
  98. "karma-firefox-launcher": "~1.3.0",
  99. "karma-jasmine": "~3.1.1",
  100. "sass-lint": "~1.13.1",
  101. "sass-lint-auto-fix": "~0.21.0",
  102. "selenium-webdriver": "^4.0.0-alpha.5",
  103. "term-color": "^1.0.1",
  104. "ts-node": "~8.6.2",
  105. "tslint": "~6.0.0",
  106. "webpack-dev-server": "^3.10.3"
  107. }
  108. }