package.json 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "threema-web",
  3. "version": "2.0.0-beta.8",
  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:live": "echo 'NOTE: serve:live command has been renamed to devserver'",
  13. "devserver": "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.12.0",
  30. "@saltyrtc/task-relayed-data": "^0.3.0",
  31. "@saltyrtc/task-webrtc": "^0.12.0",
  32. "@types/angular": "^1.6.48",
  33. "@types/angular-material": "^1.1.59",
  34. "@types/angular-sanitize": "^1.3.7",
  35. "@types/angular-translate": "^2.16.0",
  36. "@types/filesaver": "~0.0.30",
  37. "@types/jquery": "^3.3.4",
  38. "@types/msgpack-lite": "^0.1.6",
  39. "@types/webrtc": "0.0.23",
  40. "@uirouter/angularjs": "~1.0.18",
  41. "angular": "~1.7.2",
  42. "angular-animate": "~1.7.2",
  43. "angular-aria": "~1.7.2",
  44. "angular-material": "=1.1.10",
  45. "angular-messages": "^1.7.2",
  46. "angular-qrcode": "~7.2",
  47. "angular-route": "~1.7.2",
  48. "angular-sanitize": "~1.7.2",
  49. "angular-translate": "~2.18",
  50. "angularjs-scroll-glue": "~2.1.0",
  51. "autolinker": "~1.6.2",
  52. "babel-es6-polyfill": "~1.1.0",
  53. "babel-preset-es2015": "~6.14.0",
  54. "babelify": "~7.3.0",
  55. "browserify": "~16",
  56. "browserify-header": "^0.9.4",
  57. "croppie": "~2.6.0",
  58. "file-saver": "^1.3.8",
  59. "messageformat": "~2",
  60. "msgpack-lite": "~0.1.26",
  61. "node-sass": "^4.9.2",
  62. "sdp": "~2.7.0",
  63. "ts-events": "^3.1.5",
  64. "tsify": "~4.0.0",
  65. "tweetnacl": "^1.0.0",
  66. "typescript": "^2.9.2",
  67. "webrtc-adapter": "^6.3.0"
  68. },
  69. "devDependencies": {
  70. "@types/jasmine": "^2.8.8",
  71. "angular-mocks": "~1.7",
  72. "budo": "^9",
  73. "concurrently": "~3.3.0",
  74. "jasmine": "^3.1.0",
  75. "jasmine-core": "^3.1.0",
  76. "karma": "^2.0.4",
  77. "karma-chrome-launcher": "^2.2.0",
  78. "karma-firefox-launcher": "^1.1.0",
  79. "karma-jasmine": "^1.1.2",
  80. "tslint": "~5.10"
  81. }
  82. }