package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "threema-web",
  3. "version": "1.8.2",
  4. "description": "Threema Webclient",
  5. "scripts": {
  6. "build": "npm run build:js && npm run build:css",
  7. "build:js": "browserify -p tsify src/app.ts -t [ babelify --presets [ es2015 ] --extensions .ts ] -p [ browserify-header --file header.js ] -o dist/app.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": "browserify -p tsify tests/ts/main.ts -t [ babelify --presets [ es2015 ] --extensions .ts ] -o dist/ts-tests.js",
  11. "dist": "npm run build && echo \"\" && node dist/build-package.js",
  12. "serve": "npm run build:css && budo src/app.ts:dist/app.js -- -d -p tsify -t [ babelify --presets [ es2015 ] --extensions .ts ]",
  13. "serve:live": "npm run build:css && concurrently --kill-others --names \"css,server\" -p name \"npm run build:css:watch\" \"budo src/app.ts:dist/app.js -d . -d public -d src --live -- -d -p tsify -t [ babelify --presets [ es2015 ] --extensions .ts ]\"",
  14. "test": "npm run build:tests && karma start --single-run --log-level=debug --colors",
  15. "lint": "tslint -c tslint.json --project tsconfig.json --exclude \"**/src/config.ts\"",
  16. "clean": "rm -rf js/ build/ dist/app*"
  17. },
  18. "keywords": [
  19. "threema",
  20. "saltyrtc",
  21. "webrtc",
  22. "messenger"
  23. ],
  24. "author": "Threema GmbH",
  25. "license": "AGPL-3.0+",
  26. "private": true,
  27. "homepage": "https://threema.ch/",
  28. "dependencies": {
  29. "@saltyrtc/client": "^0.11.3",
  30. "@saltyrtc/task-relayed-data": "^0.2.0",
  31. "@saltyrtc/task-webrtc": "^0.11.0",
  32. "@types/angular": "^1.6.45",
  33. "@types/angular-material": "^1.1.59",
  34. "@types/angular-sanitize": "^1.3.7",
  35. "@types/angular-translate": "~2.4.34",
  36. "@types/angular-ui-router": "^1.1.40",
  37. "@types/filesaver": "~0.0.30",
  38. "@types/jquery": "^2.0.49",
  39. "@types/msgpack-lite": "^0.1.6",
  40. "@types/webrtc": "0.0.23",
  41. "angular": "~1.5.10",
  42. "angular-animate": "~1.5.10",
  43. "angular-aria": "~1.5.10",
  44. "angular-material": "=1.1.1",
  45. "angular-messages": "^1.7.0",
  46. "angular-qrcode": "~6.2.1",
  47. "angular-route": "~1.5.10",
  48. "angular-sanitize": "~1.5.10",
  49. "angular-translate": "~2.13.1",
  50. "angular-ui-router": "~0.3.2",
  51. "angularjs-scroll-glue": "~2.1.0",
  52. "autolinker": "~0.27.0",
  53. "babel-es6-polyfill": "~1.1.0",
  54. "babel-preset-es2015": "~6.14.0",
  55. "babelify": "~7.3.0",
  56. "browserify": "~13.1.0",
  57. "browserify-header": "^0.9.4",
  58. "croppie": "~2.4.0",
  59. "file-saver": "^1.3.8",
  60. "js-sha256": "~0.3.2",
  61. "messageformat": "~1.0.2",
  62. "msgpack-lite": "~0.1.26",
  63. "node-sass": "^4.9.0",
  64. "sdp": "~1.3.0",
  65. "ts-events": "^3.1.5",
  66. "tsify": "~2.0.1",
  67. "tweetnacl": "^1.0.0",
  68. "typescript": "~2.6",
  69. "webrtc-adapter": "~3.4.3"
  70. },
  71. "devDependencies": {
  72. "@types/jasmine": "^2.8.7",
  73. "angular-mocks": "~1.5.10",
  74. "budo": "~9.4.7",
  75. "concurrently": "~3.3.0",
  76. "jasmine": "^3.1.0",
  77. "jasmine-core": "~2.5.2",
  78. "karma": "~1.5.0",
  79. "karma-chrome-launcher": "~2.0.0",
  80. "karma-firefox-launcher": "~1.0.0",
  81. "karma-jasmine": "^1.1.2",
  82. "tslint": "~5.9"
  83. }
  84. }