forked from tanshuai/alphabiz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
132 lines (132 loc) · 7.33 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "alphabiz",
"main": "electron/UnPackaged/electron-main.js",
"version": "0.2.4",
"description": "Alphabiz Blockchain Cryptocurrency Application",
"productName": "Alphabiz",
"author": "Alphabiz Team <[email protected]>",
"scripts": {
"preunpackaged": "node update-version.js",
"postinstall": "node build-scripts/common/skipPatch.js && node ./node_modules/symlink-dir/dist/cli.js node_modules/@zeeis/velectron node_modules/electron && ./node_modules/.bin/electron-rebuild -v 21.3.3",
"build": "rm -rf dist/electron/UnPackaged/node_modules/ && cd dist/electron/UnPackaged && yarn install && cd ../../../ && cross-env CI=false node packager.js",
"packager": "cross-env CI=false node packager.js",
"unpackaged": "cd dist/electron/UnPackaged && yarn install && ../../../node_modules/.bin/electron-rebuild -v 21.3.3",
"pretest:e2e:electron:main": "node update-version.js && node copy-patch.js --pre",
"posttest:e2e:electron:main": "node copy-patch.js --post",
"pretest:e2e:electron:wallet": "node update-version.js && node copy-patch.js --pre",
"posttest:e2e:electron:wallet": "node copy-patch.js --post",
"pretest:e2e:electron:library": "node update-version.js && node copy-patch.js --pre",
"posttest:e2e:electron:library": "node copy-patch.js --post",
"pretest:e2e:electron:libChannel": "node update-version.js && node copy-patch.js --pre",
"posttest:e2e:electron:libChannel": "node copy-patch.js --post",
"pretest:e2e:electron:custom": "node update-version.js && yarn test:e2e:config && node copy-patch.js --pre",
"posttest:e2e:electron:custom": "node copy-patch.js --post",
"pretest:e2e:electron:download": "node update-version.js && node copy-patch.js --pre",
"posttest:e2e:electron:download": "node copy-patch.js --post",
"test:e2e": "cross-env E2E_TEST=true START_SERVER_AND_TEST_INSECURE=1 start-test \"http-server dist/spa/ -S -C test/cypress/fixtures/E2E-TEST.pem -K test/cypress/fixtures/E2E-TEST-key.pem\" https://localhost:8080 \"cypress open --config-file test/cypress/cypress-config.json\"",
"test:e2e:ci": "cross-env E2E_TEST=true START_SERVER_AND_TEST_INSECURE=1 start-test \"http-server dist/spa --silent -S -C test/cypress/fixtures/E2E-TEST.pem -K test/cypress/fixtures/E2E-TEST-key.pem\" https://localhost:8080 \"cypress run --config-file test/cypress/cypress-config.json --spec \"test/cypress/integration/main/**\" --browser chrome\"",
"test:e2e:website:ci": "cross-env E2E_TEST=true cypress run --config baseUrl=https://web.alpha.biz --config-file test/cypress/cypress-config.json --spec \"test/cypress/integration/website/**\" --browser chrome",
"test:e2e:electron:main": "xvfb-maybe -- playwright test main",
"test:e2e:oauth": "xvfb-maybe -- playwright test oauth",
"test:e2e:electron:wallet": "xvfb-maybe -- playwright test wallet",
"test:e2e:electron:library": "xvfb-maybe -- playwright test libKey",
"test:e2e:electron:libChannel": "xvfb-maybe -- playwright test libChannel",
"test:e2e:config": "node test/playwright/customization/modifyConfig.js",
"test:e2e:electron:custom": "xvfb-maybe -- playwright test customize.spec.js",
"test:e2e:electron:download": "xvfb-maybe -- playwright test test/playwright/download.spec.js",
"test:e2e:download-stable": "xvfb-maybe -- yarn playwright test test/playwright/downloadLatestReleases.spec.js",
"test:appium": "appium --log ./test/output/release/appium.log",
"test:release": "jest test/jest/release/main.spec.js --c=./test/jest/release/jest.config.js",
"test:release:creditsUpload": "jest test/jest/release/creditsUpload.spec.js --c=./test/jest/release/jest.config.js",
"test:release:creditsDownload": "jest test/jest/release/creditsDownload.spec.js --c=./test/jest/release/jest.config.js",
"make": "node build-scripts/common/make.js --make",
"make:win": "yarn make:squirrel && yarn make:msi && yarn make:appx",
"make:squirrel": "yarn pkg-fmt -f exe && electron-forge make --skip-package --targets @electron-forge/maker-squirrel",
"make:appx": "yarn pkg-fmt -f appx && electron-forge make --skip-package --targets @electron-forge/maker-appx",
"make:msi": "yarn pkg-fmt -f msi && node ./build-scripts/windows/wix/make.js",
"premake:dmg": "yarn pkg-fmt -f dmg && (node -e 'if (process.platform === `darwin` && process.env.APPLE_ID) process.exit(1)') || ./build-scripts/macos/pkg/sign.sh",
"make:dmg": "electron-forge make --skip-package --targets @electron-forge/maker-dmg",
"make:deb": "yarn pkg-fmt -f deb && electron-forge make --skip-package --targets @electron-forge/maker-deb",
"make:snap": "yarn pkg-fmt -f snap && node build-scripts/linux/snapcraft && snapcraft snap --output=./out/installers/app.snap && node build-scripts/linux/snapcraft --post",
"make:snap:ci": "yarn pkg-fmt -f snap && node build-scripts/linux/snapcraft && sg lxd -c 'snapcraft snap --output=./out/installers/app.snap --use-lxd' && node build-scripts/linux/snapcraft --post",
"postmake": "node build-scripts/common/make.js --postmake",
"pkg-fmt": "node build-scripts/common/getPackageFormat.js"
},
"dependencies": {
"big-json": "^3.2.0",
"crypto-js": "^3.1.9-1",
"es-event-emitter": "^1.3.9",
"gun": "^0.2020.1237",
"symlink-dir": "^5.0.1",
"twitter-api-v2": "^1.12.9",
"video.js": "^7.13.3",
"videojs-ass": "^0.8.0",
"videojs-ass-es6": "0.0.4",
"videojs-hotkeys": "^0.2.27",
"quasar": "1.18.5",
"webtorrent": "1.5.8",
"webpack": "4.44.2"
},
"devDependencies": {
"@babel/preset-env": "^7.16.8",
"@electron-forge/cli": "^6.0.0-beta.63",
"@electron-forge/maker-appx": "^6.0.0-beta.63",
"@electron-forge/maker-deb": "^6.0.0-beta.63",
"@electron-forge/maker-dmg": "6.0.4",
"@electron-forge/maker-rpm": "^6.0.0-beta.63",
"@electron-forge/maker-snap": "^6.0.4",
"@electron-forge/maker-squirrel": "^6.0.0-beta.63",
"@electron-forge/maker-wix": "^6.0.0-beta.63",
"@electron-forge/maker-zip": "^6.0.0-beta.63",
"@electron-forge/plugin-local-electron": "6.0.0-beta.63",
"@playwright/test": "^1.18.1",
"@types/plist": "^3.0.2",
"@zeeis/velectron": "21.3.3",
"appium": "^1.22.2",
"aws-sdk": "2.1076.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.4.6",
"commander": "^10.0.0",
"cross-env": "^7.0.3",
"csv-parse": "^5.0.4",
"cypress": "^9.3.1",
"cypress-file-upload": "^5.0.8",
"dotenv": "^14.1.0",
"electron": "22.3.25",
"electron-packager": "^15.4.0",
"electron-rebuild": "^3.2.7",
"electron-wix-msi": "^4.0.0",
"eslint": "^8.7.0",
"eslint-config-standard": "^16.0.3",
"http-server": "^14.1.0",
"jest": "^27.4.7",
"mail-listener2": "^0.3.1",
"mailparser": "^3.4.0",
"minimist": "^1.2.6",
"nat-pmp": "^1.0.0",
"patch-package": "^6.4.7",
"playwright": "^1.16.3",
"start-server-and-test": "^1.14.0",
"ts-jest": "^27.1.3",
"twilio": "^3.73.0",
"webdriverio": "^7.16.13",
"xvfb-maybe": "^0.2.1"
},
"optionalDependencies": {
"electron-installer-debian": "^3.1.0",
"exe-icon-extractor": "^1.0.8",
"fs-xattr": "^0.4.0",
"fswin": "^3.23.119"
},
"resolutions": {
"bittorrent-protocol": "3.5.1",
"bufferutil": "4.0.6",
"create-torrent": "5.0.1",
"electron-wix-msi": "^4.0.0",
"fs-chunk-store": "2.0.4",
"utf-8-validate": "5.0.8"
},
"config": {
"forge": "./build-scripts/common/forge.config.js"
}
}