package.json 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "name": "threema-web",
  3. "version": "2.1.3",
  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": "tslint -c tslint.json --project tsconfig.json --exclude \"**/src/config.ts\"",
  21. "clean": "rm -rf js/ build/ dist/app*"
  22. },
  23. "keywords": [
  24. "threema",
  25. "saltyrtc",
  26. "webrtc",
  27. "messenger"
  28. ],
  29. "author": "Threema GmbH",
  30. "license": "AGPL-3.0+",
  31. "private": true,
  32. "homepage": "https://threema.ch/",
  33. "dependencies": {
  34. "@babel/core": "^7.2.2",
  35. "@babel/polyfill": "^7.2.5",
  36. "@babel/preset-env": "^7.2.3",
  37. "@saltyrtc/client": "^0.13.2",
  38. "@saltyrtc/task-relayed-data": "^0.3.1",
  39. "@saltyrtc/task-webrtc": "^0.13.0",
  40. "@types/angular": "^1.6.53",
  41. "@types/angular-material": "^1.1.62",
  42. "@types/angular-sanitize": "^1.3.7",
  43. "@types/angular-translate": "^2.16.0",
  44. "@types/file-saver": "^2.0.0",
  45. "@types/jquery": "^3.3.29",
  46. "@types/msgpack-lite": "^0.1.6",
  47. "@types/webrtc": "0.0.23",
  48. "@uirouter/angularjs": "^1.0.20",
  49. "angular": "^1.7.5",
  50. "angular-animate": "^1.7.5",
  51. "angular-aria": "^1.7.5",
  52. "angular-material": "=1.1.11",
  53. "angular-messages": "^1.7.5",
  54. "angular-qrcode": "~7.2",
  55. "angular-route": "^1.7.5",
  56. "angular-sanitize": "^1.7.5",
  57. "angular-translate": "~2.18",
  58. "angularjs-scroll-glue": "~2.1.0",
  59. "autolinker": "~1.6.2",
  60. "babelify": "~10.0.0",
  61. "browserify": "^16.2.3",
  62. "browserify-header": "^1.0.0",
  63. "croppie": "~2.6.0",
  64. "file-saver": "2.0.0",
  65. "messageformat": "^2.0.5",
  66. "msgpack-lite": "~0.1.26",
  67. "node-sass": "^4.11.0",
  68. "sdp": "~2.7.0",
  69. "ts-events": "^3.1.5",
  70. "tsify": "^4.0.1",
  71. "tweetnacl": "^1.0.0",
  72. "typescript": "^2.9.2",
  73. "webrtc-adapter": "^7.1.1"
  74. },
  75. "devDependencies": {
  76. "@types/chai": "^4.1.7",
  77. "@types/jasmine": "^3.3.5",
  78. "@types/selenium-webdriver": "^3.0.14",
  79. "angular-mocks": "^1.7.5",
  80. "budo": "^11.5.0",
  81. "chai": "^4.2.0",
  82. "concurrently": "~4.1.0",
  83. "geckodriver": "^1.14.1",
  84. "jasmine": "^3.3.1",
  85. "jasmine-core": "^3.3.0",
  86. "karma": "^3.1.4",
  87. "karma-chrome-launcher": "^2.2.0",
  88. "karma-firefox-launcher": "^1.1.0",
  89. "karma-jasmine": "^2.0.1",
  90. "selenium-webdriver": "^4.0.0-alpha.1",
  91. "term-color": "^1.0.1",
  92. "ts-node": "^7.0.1",
  93. "tslint": "~5.12"
  94. }
  95. }