-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathpackage.json
More file actions
152 lines (152 loc) · 5.89 KB
/
package.json
File metadata and controls
152 lines (152 loc) · 5.89 KB
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"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",
"workspaces": [
"packages/*"
],
"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"
},
"engines": {
"npm": ">=7.0.0",
"node": ">=18.0.0"
},
"scripts": {
"prebuild": "ts-node --project tsconfig-cjs.json scripts/generate-wallet-list.ts",
"build": "npm run check-version && lerna run tsc && npm run webpack:all",
"webpack:all": "npm run webpack:sdk && npm run webpack:dapp && npm run webpack:wallet",
"webpack:sdk": "webpack --mode=development --config webpack.config.js --entry=./packages/beacon-sdk/dist/cjs/index.js --output-path ./webpack_builds/sdk && terser --ecma=12 ./webpack_builds/sdk/main.js -o ./packages/beacon-sdk/dist/walletbeacon.min.js && cp ./packages/beacon-sdk/dist/walletbeacon.min.js ./examples/walletbeacon.min.js",
"webpack:dapp": "webpack --mode=development --entry=./packages/beacon-dapp/dist/cjs/index.js --output-path ./webpack_builds/dapp && terser --ecma=12 ./webpack_builds/dapp/main.js -o ./packages/beacon-dapp/dist/walletbeacon.dapp.min.js",
"webpack:wallet": "webpack --mode=development --entry=./packages/beacon-wallet/dist/cjs/index.js --output-path ./webpack_builds/wallet && terser --ecma=12 ./webpack_builds/wallet/main.js -o ./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": "npx playwright test e2e",
"audit-ci": "npm audit --json > audit.json && node scripts/dependency-scanning.js",
"prepare": "npm run build",
"check-version": "ts-node --project tsconfig-cjs.json scripts/check-sdk-version.ts",
"typedoc": "typedoc",
"publish": "lerna run tsc && lerna publish",
"bump:version": "lerna version --no-git-tag-version --exact",
"bump:major": "lerna version --no-git-tag-version major --exact --yes",
"bump:minor": "lerna version --no-git-tag-version minor --exact --yes",
"bump:patch": "lerna version --no-git-tag-version patch --exact --yes",
"bump:beta": "lerna version --no-git-tag-version prerelease --preid beta --exact --yes",
"build:ui": "cd packages/beacon-ui && npm run tsc && cd ../.. && npm run webpack:sdk"
},
"author": "Papers AG <contact@papers.ch> (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-transport-walletconnect": "file:packages/beacon-transport-walletconnect",
"@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",
"@walletconnect/sign-client": "2.18.0",
"@walletconnect/types": "2.18.0",
"@walletconnect/utils": "2.18.0",
"@web3modal/standalone": "2.4.3",
"stream-browserify": "^3.0.0"
},
"devDependencies": {
"@babel/cli": "^7.27.0",
"@babel/core": "^7.26.10",
"@babel/preset-env": "^7.26.9",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.27.0",
"@playwright/test": "^1.52.0",
"@types/bs58check": "2.1.2",
"@types/chrome": "0.0.315",
"@types/jest": "^29.5.14",
"@types/mocha": "10.0.10",
"@types/node": "22.14.1",
"@types/sinon": "17.0.4",
"@typescript-eslint/eslint-plugin": "8.30.1",
"@typescript-eslint/eslint-plugin-tslint": "7.0.2",
"@typescript-eslint/parser": "8.30.1",
"axios-mock-adapter": "^2.1.0",
"babel-jest": "^29.7.0",
"browserify": "17.0.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "10.1.2",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-no-null": "1.0.2",
"eslint-plugin-prefer-arrow": "1.2.3",
"husky": "9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "26.1.0",
"jsdom-global": "3.0.2",
"lerna": "8.2.2",
"mocha": "11.1.0",
"nyc": "17.1.0",
"prettier": "3.5.3",
"pretty-quick": "4.1.1",
"resize-img": "2.0.0",
"sinon": "20.0.0",
"static-server": "2.2.1",
"terser": "^5.39.0",
"ts-node": "10.9.2",
"tslint": "6.1.3",
"typedoc": "0.28.2",
"typedoc-plugin-internal-external": "2.2.0",
"typescript": "5.8.3",
"uglify-js": "3.19.3",
"webpack": "^5.99.5",
"webpack-cli": "^6.0.1"
},
"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"
}
}
}