mirror of https://github.com/BTCPrivate/copay.git
Removes package json
This commit is contained in:
parent
f81077edd3
commit
f60665a07c
23
package.json
23
package.json
|
@ -1,23 +0,0 @@
|
|||
{
|
||||
"name": "distribution-not-selected",
|
||||
"description": "Choose a distribution by running 'npm run apply:copay' or 'npm run apply:bitpay'.",
|
||||
"primary-package-json": "See the tempate in app-template/package.json",
|
||||
"pre-commit": "unstage-package",
|
||||
"changes": "changes to this file can be commited with the --no-verify option",
|
||||
"scripts": {
|
||||
"postinstall": "npm run apply:copay && echo && echo \"Repo configured for standard Copay distribution. To switch to the BitPay distribution, run 'npm run apply:bitpay'.\" && echo",
|
||||
"start": "echo && echo \"Choose a distribution by running 'npm run apply:copay' or 'npm run apply:bitpay'.\" && echo",
|
||||
"apply:copay": "npm i fs-extra@0.30 && cd app-template && node apply.js copay && cd .. && npm i",
|
||||
"apply:bitpay": "npm i fs-extra@0.30 && cd app-template && node apply.js bitpay && cd .. && npm i",
|
||||
"unstage-package": "git reset package.json",
|
||||
"clean-all": "git clean -dfx"
|
||||
},
|
||||
"dependencies": {
|
||||
"pre-commit": "^1.1.3"
|
||||
},
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"url": "git://github.com/bitpay/bitpay-wallet.git",
|
||||
"type": "git"
|
||||
}
|
||||
}
|
|
@ -9,6 +9,8 @@ import { SendPage } from '../pages/send/send';
|
|||
import { SettingPage } from '../pages/setting/setting';
|
||||
import { TabsPage } from '../pages/tabs/tabs';
|
||||
|
||||
import { AboutPage } from '../pages/about/about';
|
||||
|
||||
import { StatusBar } from '@ionic-native/status-bar';
|
||||
import { SplashScreen } from '@ionic-native/splash-screen';
|
||||
|
||||
|
@ -22,6 +24,7 @@ import { StorageService } from '../providers/storage-service/storage-service';
|
|||
ReceivePage,
|
||||
SendPage,
|
||||
SettingPage,
|
||||
AboutPage,
|
||||
TabsPage
|
||||
],
|
||||
imports: [
|
||||
|
@ -35,6 +38,7 @@ import { StorageService } from '../providers/storage-service/storage-service';
|
|||
ReceivePage,
|
||||
SendPage,
|
||||
SettingPage,
|
||||
AboutPage,
|
||||
TabsPage
|
||||
],
|
||||
providers: [
|
||||
|
|
|
@ -15,4 +15,10 @@
|
|||
|
||||
<ion-content padding>
|
||||
|
||||
<ion-list>
|
||||
<button ion-item *ngFor="let item of items" (click)="openPage(item.page)">
|
||||
{{ item.name }}
|
||||
</button>
|
||||
</ion-list>
|
||||
|
||||
</ion-content>
|
||||
|
|
|
@ -1,24 +1,34 @@
|
|||
import { Component } from '@angular/core';
|
||||
import { NavController, NavParams } from 'ionic-angular';
|
||||
|
||||
/**
|
||||
* Generated class for the SettingPage page.
|
||||
*
|
||||
* See http://ionicframework.com/docs/components/#navigation for more info
|
||||
* on Ionic pages and navigation.
|
||||
*/
|
||||
import { AboutPage } from '../about/about';
|
||||
|
||||
@Component({
|
||||
selector: 'page-setting',
|
||||
templateUrl: 'setting.html',
|
||||
})
|
||||
export class SettingPage {
|
||||
items: Object[];
|
||||
|
||||
constructor(public navCtrl: NavController, public navParams: NavParams) {
|
||||
this.items = [
|
||||
{
|
||||
name: 'Address book',
|
||||
page: null
|
||||
}, {
|
||||
name: 'About Copay',
|
||||
page: AboutPage
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
ionViewDidLoad() {
|
||||
console.log('ionViewDidLoad SettingPage');
|
||||
}
|
||||
|
||||
openPage(page: any) {
|
||||
if (!page) return;
|
||||
this.navCtrl.push(page);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue