X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fpackage.json;h=42deddd5fcdaeab9e398abdc5674f4d27e67a94e;hb=cfeae291c00812bb99e88bdec785792ae5d5934e;hp=245563509316a1e51be466eba81bda30096d3883;hpb=4d089429fe91ab7793b9b05010acb483d61345de;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/package.json b/client/package.json index 245563509..42deddd5f 100644 --- a/client/package.json +++ b/client/package.json @@ -1,114 +1,163 @@ { "name": "peertube-client", - "version": "1.0.0-beta.8", + "version": "1.2.0-rc.1", "private": true, "licence": "GPLv3", "author": { - "name": "Florian Bigard", - "email": "me@florianbigard.com", + "name": "Chocobozzz", + "email": "chocobozzz@cpy.re", "url": "http://github.com/Chocobozzz" }, "repository": { "type": "git", - "url": "git://github.com/Chocobozzz/PeerTube.git" + "url": "git+https://github.com/Chocobozzz/PeerTube.git" }, "scripts": { - "lint": "tslint --project ./tsconfig.json -c ./tslint.json 'src/app/**/*.ts'", + "lint": "tslint --project ./tsconfig.json -c ./tslint.json 'src/app/**/*.ts' 'src/standalone/**/*.ts'", "webpack": "webpack", "tslint": "tslint", "ng": "ng", - "postinstall": "npm rebuild node-sass && test -f angular-cli-patch.js && node angular-cli-patch.js || true", + "postinstall": "npm rebuild node-sass", "webpack-bundle-analyzer": "webpack-bundle-analyzer", "webdriver-manager": "webdriver-manager", - "ngx-extractor": "ngx-extractor" + "ngx-extractor": "ngx-extractor", + "test": "jest --no-cache" }, "license": "GPLv3", + "typings": "*.d.ts", "resolutions": { "video.js": "^7", "webtorrent/create-torrent/junk": "^1", "simple-get": "^2.8.1" }, + "jest": { + "globals": { + "ts-jest": { + "tsConfigFile": "/src/tsconfig.spec.json" + }, + "__TRANSFORM_HTML__": true + }, + "transform": { + "^.+\\.(ts|js|html)$": "/node_modules/jest-preset-angular/preprocessor.js" + }, + "moduleNameMapper": { + "^@app/(.*)": "/src/app/$1", + "environments/(.*)": "/src/environments/$1" + }, + "testMatch": [ + "**/__tests__/**/*.+(ts|js)?(x)", + "**/+(*.)+(spec|test).+(ts|js)?(x)" + ], + "moduleFileExtensions": [ + "ts", + "tsx", + "js", + "jsx", + "json", + "node" + ], + "transformIgnorePatterns": [ + "/node_modules/(?!lodash-es/)" + ], + "preset": "jest-preset-angular", + "setupTestFrameworkScriptFile": "/src/setupJest.ts" + }, "devDependencies": { - "@angular-devkit/build-angular": "~0.6.1", - "@angular/animations": "~6.0.2", - "@angular/cli": "6.0.1", - "@angular/common": "~6.0.2", - "@angular/compiler": "~6.0.2", - "@angular/compiler-cli": "~6.0.2", - "@angular/core": "~6.0.2", - "@angular/forms": "~6.0.2", - "@angular/http": "~6.0.2", - "@angular/language-service": "^6.0.1", - "@angular/platform-browser": "~6.0.2", - "@angular/platform-browser-dynamic": "~6.0.2", - "@angular/router": "~6.0.2", - "@angular/service-worker": "^6.0.1", + "@angular-devkit/build-angular": "~0.11.1", + "@angular/animations": "~7.1.1", + "@angular/cli": "~7.1.1", + "@angular/common": "~7.1.1", + "@angular/compiler": "~7.1.1", + "@angular/compiler-cli": "~7.1.1", + "@angular/core": "~7.1.1", + "@angular/forms": "~7.1.1", + "@angular/http": "~7.1.1", + "@angular/language-service": "~7.1.1", + "@angular/platform-browser": "~7.1.1", + "@angular/platform-browser-dynamic": "~7.1.1", + "@angular/router": "~7.1.1", + "@angular/service-worker": "~7.1.1", "@angularclass/hmr": "^2.1.3", - "@ngx-loading-bar/core": "^2.0.0", - "@ngx-loading-bar/http-client": "^2.0.0", - "@ngx-loading-bar/router": "^2.0.0", + "@neos21/bootstrap3-glyphicons": "^1.0.1", + "@ng-bootstrap/ng-bootstrap": "^4.0.0", + "@ngx-loading-bar/core": "^3.0.0", + "@ngx-loading-bar/http-client": "^3.0.0", + "@ngx-loading-bar/router": "^3.0.0", "@ngx-meta/core": "^6.0.0-rc.1", "@ngx-translate/i18n-polyfill": "^1.0.0", - "@types/core-js": "^0.9.28", + "@types/core-js": "^2.5.0", "@types/jasmine": "^2.8.7", "@types/jasminewd2": "^2.0.3", + "@types/jest": "^23.3.1", + "@types/jschannel": "^1.0.0", "@types/lodash-es": "^4.17.0", - "@types/markdown-it": "^0.0.4", - "@types/node": "^9.3.0", - "@types/sanitize-html": "^1.14.0", - "@types/video.js": "6.2.5", + "@types/markdown-it": "^0.0.5", + "@types/node": "^10.9.2", + "@types/sanitize-html": "1.18.0", + "@types/socket.io-client": "^1.4.32", + "@types/video.js": "^7.2.5", "@types/webtorrent": "^0.98.4", - "angular2-notifications": "^1.0.2", - "awesome-typescript-loader": "5.0.0", - "bootstrap-sass": "^3.3.7", - "cache-chunk-store": "^2.0.0", - "codelyzer": "^4.0.2", + "angular2-hotkeys": "^2.1.2", + "awesome-typescript-loader": "5.2.1", + "bootstrap": "^4.1.3", + "buffer": "^5.1.0", + "cache-chunk-store": "^3.0.0", + "codelyzer": "^4.4.4", "core-js": "^2.4.1", - "css-loader": "^0.28.4", + "css-loader": "^1.0.0", "dexie": "^2.0.4", "extract-text-webpack-plugin": "4.0.0-beta.0", - "file-loader": "^1.1.5", + "file-loader": "^2.0.0", + "focus-visible": "^4.1.5", + "html-loader": "^0.5.5", "html-webpack-plugin": "^3.2.0", + "https-browserify": "^1.0.0", "jasmine-core": "^3.1.0", "jasmine-spec-reporter": "^4.2.1", - "karma": "^2.0.2", + "jest": "^23.5.0", + "jest-preset-angular": "^6.0.0", + "jschannel": "^1.0.2", + "karma": "^3.0.0", "karma-chrome-launcher": "^2.2.0", - "karma-coverage-istanbul-reporter": "^2.0.1", + "karma-coverage-istanbul-reporter": "^2.0.2", "karma-jasmine": "^1.1.2", - "karma-jasmine-html-reporter": "^1.1.0", + "karma-jasmine-html-reporter": "^1.3.1", "linkifyjs": "^2.1.5", "lodash-es": "^4.17.4", "markdown-it": "^8.4.0", - "ngx-bootstrap": "3.0.0", - "ngx-chips": "1.9.2", - "ngx-clipboard": "11.1.0", + "ngx-chips": "1.9.7", + "ngx-clipboard": "11.1.7", "ngx-pipes": "^2.1.7", - "node-sass": "^4.1.1", + "ngx-qrcode2": "^0.0.9", + "node-sass": "^4.9.3", "npm-font-source-sans-pro": "^1.0.2", - "primeng": "^6.0.0-rc.1", + "path-browserify": "^1.0.0", + "primeng": "^7.0.0", + "process": "^0.11.10", "protractor": "^5.3.2", "purify-css": "^1.2.5", "purifycss-webpack": "^0.7.0", "raw-loader": "^0.5.1", - "resolve-url-loader": "^2.0.0", - "rxjs": "^6.1.0", - "sanitize-html": "^1.16.3", - "sass-loader": "^7.0.1", - "sass-resources-loader": "^1.2.1", + "rxjs": "^6.3.3", + "sanitize-html": "^1.18.4", + "sass-loader": "^7.1.0", + "sass-resources-loader": "^2.0.0", + "socket.io-client": "^2.2.0", + "stream-browserify": "^2.0.1", + "stream-http": "^3.0.0", + "terser-webpack-plugin": "^1.1.0", + "ts-jest": "^23.1.4", "tslint": "^5.7.0", - "tslint-config-standard": "^7.0.0", - "typescript": "2.7", - "uglifyjs-webpack-plugin": "^1.1.2", - "video.js": "^7.0.3", - "videojs-contextmenu": "^2.0.0", - "videojs-contextmenu-ui": "^4.0.0", + "tslint-config-standard": "^8.0.1", + "typescript": "3.1.6", + "video.js": "^7", + "videojs-contextmenu-ui": "^5.0.0", "videojs-dock": "^2.0.2", "videojs-hotkeys": "^0.2.21", - "webpack": "^4.5.0", - "webpack-bundle-analyzer": "^2.9.1", - "webpack-cli": "^2.0.14", - "webtorrent": "^0.100.0", - "whatwg-fetch": "^2.0.4", + "webpack-bundle-analyzer": "^3.0.2", + "webpack-cli": "^3.0.8", + "webtorrent": "https://github.com/webtorrent/webtorrent#e9b209c7970816fc29e0cc871157a4918d66001d", + "whatwg-fetch": "^3.0.0", "zone.js": "~0.8.5" } }