package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "name": "threema-web",
  3. "version": "2.1.7",
  4. "description": "Threema Webclient",
  5. "scripts": {
  6. "build": "npm run build:js && npm run build:css",
  7. "build:js": "node dist/browserify.js app",
  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": "node dist/browserify.js test:unit",
  12. "build:uitests": "npm run build:css && node dist/browserify.js test:ui",
  13. "dist": "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\" \"node dist/devserver.js\"",
  16. "testserver": "budo -d public -d . -d src -p 7777",
  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": "npm run build:uitests && 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 js/ build/ dist/app*"
  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.2.2",
  38. "@babel/polyfill": "^7.2.5",
  39. "@babel/preset-env": "^7.2.3",
  40. "@saltyrtc/client": "^0.13.2",
  41. "@saltyrtc/task-relayed-data": "^0.3.1",
  42. "@saltyrtc/task-webrtc": "^0.13.0",
  43. "@types/angular": "^1.6.53",
  44. "@types/angular-material": "^1.1.62",
  45. "@types/angular-sanitize": "^1.3.7",
  46. "@types/angular-translate": "^2.16.0",
  47. "@types/file-saver": "^2.0.0",
  48. "@types/jquery": "^3.3.29",
  49. "@types/msgpack-lite": "^0.1.6",
  50. "@types/webrtc": "0.0.24",
  51. "@uirouter/angularjs": "^1.0.20",
  52. "angular": "^1.7.5",
  53. "angular-animate": "^1.7.5",
  54. "angular-aria": "^1.7.5",
  55. "angular-material": "=1.1.11",
  56. "angular-messages": "^1.7.5",
  57. "angular-qrcode": "~7.2",
  58. "angular-route": "^1.7.5",
  59. "angular-sanitize": "^1.7.5",
  60. "angular-translate": "~2.18",
  61. "angularjs-scroll-glue": "~2.1.0",
  62. "autolinker": "~2.2.1",
  63. "babelify": "~10.0.0",
  64. "browserify": "^16.2.3",
  65. "browserify-header": "^1.0.0",
  66. "croppie": "^2.6.3",
  67. "file-saver": "2.0.0",
  68. "messageformat": "^2.0.5",
  69. "msgpack-lite": "~0.1.26",
  70. "node-sass": "^4.11.0",
  71. "sdp": "~2.9.0",
  72. "ts-events": "^3.1.5",
  73. "tsify": "^4.0.1",
  74. "tweetnacl": "^1.0.0",
  75. "twemoji": "^11.2.0",
  76. "typescript": "^3.2.2",
  77. "webrtc-adapter": "^7.1.1"
  78. },
  79. "devDependencies": {
  80. "@types/chai": "^4.1.7",
  81. "@types/jasmine": "^3.3.5",
  82. "@types/selenium-webdriver": "^3.0.14",
  83. "angular-mocks": "^1.7.5",
  84. "budo": "^11.5.0",
  85. "chai": "^4.2.0",
  86. "concurrently": "~4.1.0",
  87. "geckodriver": "^1.14.1",
  88. "jasmine": "^3.3.1",
  89. "jasmine-core": "^3.3.0",
  90. "karma": "^3.1.4",
  91. "karma-chrome-launcher": "^2.2.0",
  92. "karma-firefox-launcher": "^1.1.0",
  93. "karma-jasmine": "^2.0.1",
  94. "sass-lint": "^1.12.1",
  95. "sass-lint-auto-fix": "^0.15.1",
  96. "selenium-webdriver": "^4.0.0-alpha.1",
  97. "term-color": "^1.0.1",
  98. "ts-node": "^7.0.1",
  99. "tslint": "~5.12"
  100. }
  101. }