diff options
author | William Lahti <wilahti@gmail.com> | 2018-06-28 06:53:04 -0700 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-28 15:53:04 +0200 |
commit | 3ea9a1c311c3e3c55fb95560d4dd99a77c52df4a (patch) | |
tree | d2c409d6c5f247cf0b1fc2d76bd1370fddd3fa3c /client/package.json | |
parent | 9e01e51099c2949036f29d01f7305dff4d2b8748 (diff) | |
download | PeerTube-3ea9a1c311c3e3c55fb95560d4dd99a77c52df4a.tar.gz PeerTube-3ea9a1c311c3e3c55fb95560d4dd99a77c52df4a.tar.zst PeerTube-3ea9a1c311c3e3c55fb95560d4dd99a77c52df4a.zip |
Replace angular-cli patch with something less risky (#742)
* Replace angular-cli patch with something less risky
* path.join() is needed, provide a naive implementation
* technically, webpack provided a polyfill for Buffer, we should too
* process polyfill matches webpack; peertube depends on nextTick
* polyfill for path to match webpack
* http/https polyfills as per webpack
Diffstat (limited to 'client/package.json')
-rw-r--r-- | client/package.json | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/client/package.json b/client/package.json index 0c2fdcafe..1264891ec 100644 --- a/client/package.json +++ b/client/package.json | |||
@@ -17,7 +17,7 @@ | |||
17 | "webpack": "webpack", | 17 | "webpack": "webpack", |
18 | "tslint": "tslint", | 18 | "tslint": "tslint", |
19 | "ng": "ng", | 19 | "ng": "ng", |
20 | "postinstall": "npm rebuild node-sass && test -f angular-cli-patch.js && node angular-cli-patch.js || true", | 20 | "postinstall": "npm rebuild node-sass", |
21 | "webpack-bundle-analyzer": "webpack-bundle-analyzer", | 21 | "webpack-bundle-analyzer": "webpack-bundle-analyzer", |
22 | "webdriver-manager": "webdriver-manager", | 22 | "webdriver-manager": "webdriver-manager", |
23 | "ngx-extractor": "ngx-extractor" | 23 | "ngx-extractor": "ngx-extractor" |
@@ -61,6 +61,7 @@ | |||
61 | "angular2-notifications": "^1.0.2", | 61 | "angular2-notifications": "^1.0.2", |
62 | "awesome-typescript-loader": "5.0.0", | 62 | "awesome-typescript-loader": "5.0.0", |
63 | "bootstrap-sass": "^3.3.7", | 63 | "bootstrap-sass": "^3.3.7", |
64 | "buffer": "^5.1.0", | ||
64 | "cache-chunk-store": "^2.0.0", | 65 | "cache-chunk-store": "^2.0.0", |
65 | "codelyzer": "^4.0.2", | 66 | "codelyzer": "^4.0.2", |
66 | "core-js": "^2.4.1", | 67 | "core-js": "^2.4.1", |
@@ -69,6 +70,7 @@ | |||
69 | "extract-text-webpack-plugin": "4.0.0-beta.0", | 70 | "extract-text-webpack-plugin": "4.0.0-beta.0", |
70 | "file-loader": "^1.1.5", | 71 | "file-loader": "^1.1.5", |
71 | "html-webpack-plugin": "^3.2.0", | 72 | "html-webpack-plugin": "^3.2.0", |
73 | "https-browserify": "^1.0.0", | ||
72 | "jasmine-core": "^3.1.0", | 74 | "jasmine-core": "^3.1.0", |
73 | "jasmine-spec-reporter": "^4.2.1", | 75 | "jasmine-spec-reporter": "^4.2.1", |
74 | "karma": "^2.0.2", | 76 | "karma": "^2.0.2", |
@@ -85,7 +87,9 @@ | |||
85 | "ngx-pipes": "^2.1.7", | 87 | "ngx-pipes": "^2.1.7", |
86 | "node-sass": "^4.1.1", | 88 | "node-sass": "^4.1.1", |
87 | "npm-font-source-sans-pro": "^1.0.2", | 89 | "npm-font-source-sans-pro": "^1.0.2", |
90 | "path-browserify": "^1.0.0", | ||
88 | "primeng": "^6.0.0-rc.1", | 91 | "primeng": "^6.0.0-rc.1", |
92 | "process": "^0.11.10", | ||
89 | "protractor": "^5.3.2", | 93 | "protractor": "^5.3.2", |
90 | "purify-css": "^1.2.5", | 94 | "purify-css": "^1.2.5", |
91 | "purifycss-webpack": "^0.7.0", | 95 | "purifycss-webpack": "^0.7.0", |
@@ -95,6 +99,7 @@ | |||
95 | "sanitize-html": "^1.16.3", | 99 | "sanitize-html": "^1.16.3", |
96 | "sass-loader": "^7.0.1", | 100 | "sass-loader": "^7.0.1", |
97 | "sass-resources-loader": "^1.2.1", | 101 | "sass-resources-loader": "^1.2.1", |
102 | "stream-http": "^2.8.3", | ||
98 | "tslint": "^5.7.0", | 103 | "tslint": "^5.7.0", |
99 | "tslint-config-standard": "^7.0.0", | 104 | "tslint-config-standard": "^7.0.0", |
100 | "typescript": "2.7", | 105 | "typescript": "2.7", |