-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
104 lines (104 loc) · 4.19 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "paynoway",
"version": "2.1.0",
"description": "A mobile app for testing payment systems against double-spend attacks.",
"private": true,
"main": "index.js",
"scripts": {
"android": "./node_modules/.bin/cordova run android --device",
"android:install": "adb install -r ./platforms/android/app/build/outputs/apk/debug/app-debug.apk",
"android-vm": "./node_modules/.bin/cordova run android",
"android-export-signing-certificate": "keytool -keystore android.keystore -alias paynoway -exportcert -rfc -file paynoway.crt",
"android-export-public-signing-key": "rm -rf paynoway.crt; npm run android-export-signing-certificate | openssl x509 -pubkey -noout -in paynoway.crt",
"android-generate-signing-key": "keytool -keystore android.keystore -genkey -v -alias paynoway -keyalg RSA -keysize 2048 -validity 10000",
"build": "npm run build:prod",
"build:apk": "./scripts/build-signed-apk.sh",
"build:apk:debug": "./node_modules/.bin/cordova build android",
"build:clean": "make clean && npm run build",
"build:dev": "NODE_ENV=dev make clean-light dev",
"build:prod": "NODE_ENV=prod make clean-light prod",
"build:test": "NODE_ENV=test make clean-light prod",
"build:screenshots": "npm run build:test && ./node_modules/.bin/mocha test/screenshots/ --timeout 3000 --recursive --reporter spec --ui bdd --exit",
"dev:android": "npm run build:dev && npm run build:apk:debug && npm run android:install",
"prod:android": "npm run build:prod && npm run build:apk:debug && npm run android:install",
"prepare:android": "./node_modules/.bin/cordova platform add android",
"release:fdroid": "./scripts/fdroid-release.sh",
"test:fdroid": "{ git fetch upstream && git checkout fdroid && gradle build --project-dir ./platforms/android; }; git checkout master",
"test": "npm run test:unit && npm run test:e2e",
"test:e2e": "npm run build:test && ./node_modules/.bin/mocha test/e2e/ --timeout 5000 --recursive --reporter spec --ui bdd --exit",
"test:unit": "npm run build:test && ./node_modules/.bin/mocha test/unit/ --timeout 5000 --recursive --reporter spec --ui bdd --exit"
},
"app": {
"id": "com.github.samotari.paynoway",
"name": "PayNoWay",
"shortName": "PayNoWay"
},
"author": {
"name": "Charles Hill",
"email": "[email protected]"
},
"license": "GPL-3.0",
"repository": {
"type": "git",
"url": "git+https://github.com/samotari/paynoway.git"
},
"bugs": {
"url": "https://github.com/samotari/paynoway/issues"
},
"homepage": "https://github.com/samotari/paynoway",
"cordova": {
"platforms": [
"android"
],
"plugins": {
"cordova-plugin-whitelist": {},
"phonegap-plugin-barcodescanner": {
"ANDROID_SUPPORT_V4_VERSION": "27.+"
},
"cordova-plugin-inappbrowser": {},
"cordova-android-support-gradle-release": {
"ANDROID_SUPPORT_VERSION": "26.+"
},
"cordova-plugin-ionic-keyboard": {},
"cordova-plugin-network-information": {},
"cordova-clipboard": {}
}
},
"dependencies": {
"@babel/core": "7.13.10",
"@babel/plugin-transform-runtime": "7.13.10",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.13.10",
"async": "3.2.0",
"babelify": "10.0.0",
"backbone": "1.4.0",
"backbone.localstorage": "2.0.2",
"bignumber.js": "9.0.1",
"bitcoinjs-lib": "5.2.0",
"browserify": "17.0.0",
"browserslist": "4.16.3",
"chai": "4.3.4",
"cordova": "10.0.0",
"cordova-android": "9.0.0",
"cordova-android-support-gradle-release": "3.0.1",
"cordova-clipboard": "1.3.0",
"cordova-plugin-inappbrowser": "5.0.0",
"cordova-plugin-ionic-keyboard": "2.2.0",
"cordova-plugin-network-information": "2.0.2",
"cordova-plugin-whitelist": "1.3.4",
"core-js-bundle": "3.9.1",
"cssnano": "4.1.10",
"express": "4.17.1",
"handlebars": "4.7.7",
"jquery": "3.6.0",
"mocha": "8.3.2",
"open-sans-fontface": "https://github.com/samotari/open-sans/archive/1.4.2.tar.gz",
"phonegap-plugin-barcodescanner": "8.1.0",
"postcss": "8.2.8",
"postcss-cli": "8.3.1",
"puppeteer": "8.0.0",
"qrcode": "1.4.4",
"uglify-js": "3.13.1",
"underscore": "1.12.0"
}
}