forked from airgap-it/beacon-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
135 lines (135 loc) · 5.72 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
133
134
135
{
"name": "@airgap/beacon-sdk",
"description": "The beacon-sdk allows you to easily connect DApps with Wallets through P2P communication or a chrome extension.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"unpkg": "dist/walletbeacon.min.js",
"types": "dist/esm/index.d.ts",
"keywords": [
"airgap",
"beacon",
"crypto",
"blockchain",
"tezos",
"decentralized",
"dapp"
],
"license": "MIT",
"homepage": "https://www.airgap.it",
"repository": {
"type": "git",
"url": "https://github.com/airgap-it/beacon-sdk"
},
"scripts": {
"prebuild": "ts-node --project tsconfig-cjs.json scripts/generate-wallet-list.ts",
"build": "npm run check-version && lerna run tsc && npm run browserify:all",
"browserify:all": "npm run browserify:sdk && npm run browserify:dapp && npm run browserify:wallet",
"browserify:sdk": "browserify ./packages/beacon-sdk/dist/cjs/index.js -s beacon | uglifyjs > ./packages/beacon-sdk/dist/walletbeacon.min.js && cp ./packages/beacon-sdk/dist/walletbeacon.min.js ./examples/walletbeacon.min.js",
"browserify:dapp": "browserify ./packages/beacon-dapp/dist/cjs/index.js -s beacon | uglifyjs > ./packages/beacon-dapp/dist/walletbeacon.dapp.min.js",
"browserify:wallet": "browserify ./packages/beacon-wallet/dist/cjs/index.js -s beacon | uglifyjs > ./packages/beacon-wallet/dist/walletbeacon.wallet.min.js",
"prettier": "prettier --write 'src/**/*' '**/src/**/*' 'docs/**/*.md' 'example-dapp.html' 'example-wallet.html'",
"lint": "eslint 'src/**/*.ts'",
"lint:fix": "eslint 'src/**/*.ts' --fix",
"lint-ci": "eslint 'src/**/*.ts' -f json -o lintReport.json || true",
"bootstrap": "lerna bootstrap",
"test": "lerna run test --stream",
"test-ci": "nyc --reporter=lcov npm test",
"e2e": "ts-node --project tsconfig-node.json e2e/permission-request.ts",
"e2e-prepare-ffmpeg": "ts-node --project tsconfig-node.json e2e/generate-ffmpeg-file.ts",
"e2e-create-videos": "ffmpeg -f concat -i e2e/output/dapp/input.txt e2e/output/dapp/output.webm && ffmpeg -f concat -i e2e/output/wallet/input.txt e2e/output/wallet/output.webm",
"e2e-combine-videos": "ffmpeg -i e2e/output/dapp/output.webm -i e2e/output/wallet/output.webm -filter_complex '[0]pad=iw+5:color=black[left];[left][1]hstack=inputs=2' e2e/output/combined.webm",
"e2e:all": "npm run e2e && npm run e2e-prepare-ffmpeg && npm run e2e-create-videos && npm run e2e-combine-videos",
"audit-ci": "npm audit --json > audit.json && node scripts/dependency-scanning.js",
"sonar-scanner": "sonar-scanner",
"prepare": "npm run build",
"check-version": "ts-node --project tsconfig-cjs.json scripts/check-sdk-version.ts",
"typedoc": "typedoc src/index.ts --includeVersion --internal-aliases publicapi --external-aliases internalapi --logLevel Verbose --listInvalidSymbolLinks && ts-node --project tsconfig-cjs.json scripts/process-docs.ts",
"publish": "lerna run tsc && lerna publish",
"bump:version": "lerna version --no-git-tag-version",
"bump:major": "lerna version --no-git-tag-version major --yes",
"bump:minor": "lerna version --no-git-tag-version minor --yes",
"bump:patch": "lerna version --no-git-tag-version patch --yes",
"bump:beta": "lerna version --no-git-tag-version prerelease --preid beta --yes"
},
"author": "Papers GmbH <[email protected]> (https://papers.ch)",
"dependencies": {
"@airgap/beacon-blockchain-substrate": "file:packages/beacon-blockchain-substrate",
"@airgap/beacon-blockchain-tezos": "file:packages/beacon-blockchain-tezos",
"@airgap/beacon-blockchain-tezos-sapling": "file:packages/beacon-blockchain-tezos-sapling",
"@airgap/beacon-core": "file:packages/beacon-core",
"@airgap/beacon-dapp": "file:packages/beacon-dapp",
"@airgap/beacon-transport-matrix": "file:packages/beacon-transport-matrix",
"@airgap/beacon-transport-postmessage": "file:packages/beacon-transport-postmessage",
"@airgap/beacon-types": "file:packages/beacon-types",
"@airgap/beacon-ui": "file:packages/beacon-ui",
"@airgap/beacon-utils": "file:packages/beacon-utils",
"@airgap/beacon-wallet": "file:packages/beacon-wallet"
},
"devDependencies": {
"@types/bs58check": "2.1.0",
"@types/chai-as-promised": "7.1.5",
"@types/mocha": "10.0.0",
"@types/node": "18.11.9",
"@types/sinon": "10.0.13",
"@typescript-eslint/eslint-plugin": "5.42.1",
"@typescript-eslint/eslint-plugin-tslint": "5.42.1",
"@typescript-eslint/parser": "5.42.1",
"axios-mock-adapter": "1.21.2",
"browserify": "17.0.0",
"chai": "4.3.7",
"chai-as-promised": "7.1.1",
"eslint": "8.27.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-no-null": "1.0.2",
"eslint-plugin-prefer-arrow": "1.2.3",
"husky": "8.0.2",
"jsdom": "20.0.2",
"jsdom-global": "3.0.2",
"lerna": "6.0.3",
"mocha": "10.1.0",
"nyc": "15.1.0",
"prettier": "2.7.1",
"pretty-quick": "3.1.3",
"puppeteer": "19.2.2",
"puppeteer-mass-screenshots": "1.0.15",
"resize-img": "2.0.0",
"sinon": "14.0.2",
"sonar-scanner": "3.1.0",
"static-server": "2.2.1",
"ts-node": "10.9.1",
"tslint": "6.1.3",
"typedoc": "0.23.20",
"typedoc-plugin-internal-external": "2.2.0",
"typescript": "4.8.4",
"uglify-js": "3.17.4"
},
"files": [
"/dist"
],
"nyc": {
"include": [
"src/**/*.ts"
],
"exclude": [
"test/**/*.spec.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"reporter": [
"text",
"text-summary"
],
"sourceMap": true,
"instrument": true
},
"husky": {
"hooks": {
"pre-commit": "npm run check-version && pretty-quick --staged"
}
}
}