Skip to content

Commit

Permalink
fix(performance): downgrade ts version
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgustavo committed Dec 15, 2020
1 parent ecff90a commit d4039f6
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 493 deletions.
1 change: 0 additions & 1 deletion config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ var ionicWebpackFactory = require(process.env.IONIC_WEBPACK_FACTORY);
const Dotenv = require('dotenv-webpack');

var ModuleConcatPlugin = require('webpack/lib/optimize/ModuleConcatenationPlugin');
var PurifyPlugin = require('@angular-devkit/build-optimizer').PurifyPlugin;

var optimizedProdLoaders = [
{
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@
"url": "https://github.com/bitpay/copay/issues"
},
"scripts": {
"postinstall": "npm run env:dev && npm run prompt",
"postinstall": "npm run env:dev && npm run prompt && npm run patch:bwc",
"electron:patch": "(! grep -q 'com.apple.security.app-sandbox' ./node_modules/app-builder-lib/templates/entitlements.mac.plist && sed -i -e \"/<dict>/ a\\ \n<key>com.apple.security.app-sandbox</key><true/>\" ./node_modules/app-builder-lib/templates/entitlements.mac.plist) | echo 'electron patched.'",
"patch:bwc": "(sed -i -e 's/\\#private;//' ./node_modules/bitcore-wallet-client/ts_build/lib/key.d.ts) | echo 'BWC patched.'",
"prompt": "\n\n\n\n\n\n#\n# Choose a distribution with:\n#\n# $ npm run apply:copay\n# or\n# $ npm run apply:bitpay\n#\n",
"start": "npm run ionic:serve",
"clean": "rm -rf platforms && rm -rf plugins && rm -f config.xml",
Expand All @@ -42,6 +43,7 @@
"lint": "ionic-app-scripts lint",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve --nolivereload",
"ionic:test": "npm run env:prod && node --max-old-space-size=8192 ./node_modules/@ionic/app-scripts/bin/ionic-app-scripts.js build --release --aot true --environment prod --output-hashing all --sourcemaps false --extract-css true --named-chunks false --build-optimizer true",
"watch": "ng test --browsers=Chrome",
"test": "npm run env:dev && npm run test:lint && npm run test:ci",
"test:coverage": "ng test --code-coverage",
Expand Down Expand Up @@ -119,7 +121,6 @@
"@ionic-native/vibration": "4.14.0",
"@ionic/storage": "2.1.3",
"@ngx-translate/core": "9.1.1",
"@walletconnect/client": "1.3.1",
"angular2-moment": "1.7.1",
"apexcharts": "3.15.5",
"apple-wallet-ng": "1.1.1",
Expand Down Expand Up @@ -193,14 +194,13 @@
"@types/cordova-plugin-qrscanner": "1.0.31",
"@types/jasmine": "2.8.6",
"@types/lodash": "4.14.121",
"@types/node": "14.14.4",
"@types/node": "12.12.6",
"@types/papaparse": "4.1.34",
"@types/prismjs": "1.9.1",
"adm-zip": "0.4.13",
"codecov": "3.7.2",
"core-js": "2.6.10",
"electron": "9.3.5",
"electron-builder": "22.9.1",
"fs-extra": "9.0.1",
"ionic": "4.10.4",
"ionic-mocks": "1.2.1",
Expand All @@ -219,7 +219,7 @@
"ts-node": "5.0.0",
"tslint": "5.8.0",
"tslint-config-prettier": "1.18.0",
"typescript": "4.0.3",
"typescript": "2.6.2",
"webpack": "3.12.0",
"webpack-obfuscator": "0.17.3"
},
Expand Down
8 changes: 0 additions & 8 deletions src/app/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -559,14 +559,6 @@ ion-alert .alert-message {
overflow-y: auto;
}

.mdToastAfterHeader {
top: $toolbar-md-height;
}

.iosToastAfterHeader {
top: $toolbar-ios-height;
}

.header-extend {
background: $toolbar-background;
height: 180px;
Expand Down
Loading

0 comments on commit d4039f6

Please sign in to comment.