forked from airgap-it/beacon-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
109 lines (109 loc) · 3.09 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
{
"name": "@airgap/beacon-sdk",
"version": "1.1.0",
"description": "The beacon-sdk allows you to easily connect DApps with Wallets through P2P communication or a chrome extension.",
"main": "dist/index.js",
"unpkg": "dist/beacon.min.js",
"types": "dist/index.d.ts",
"keywords": [
"airgap",
"beacon",
"crypto",
"blockchain",
"bitcoin",
"tezos",
"aeternity",
"ethereum"
],
"license": "MIT",
"homepage": "https://www.airgap.it",
"repository": {
"type": "git",
"url": "https://github.com/airgap-it/beacon-sdk"
},
"scripts": {
"build": "tsc && npm run browserify",
"browserify": "browserify ./dist/index.js -s beacon | uglifyjs > ./dist/beacon.min.js",
"prettier": "prettier --write 'src/**/*' 'docs/**/*.md'",
"lint": "eslint 'src/**/*.ts'",
"lint:fix": "eslint 'src/**/*.ts' --fix",
"lint-ci": "eslint 'src/**/*.ts' -f json -o lintReport.json || true",
"test": "npm run check-version && TS_NODE_PROJECT='tsconfig.test.json' nyc mocha --require ts-node/register --require source-map-support/register --full-trace --timeout 40000 ./test/**/**.spec.ts",
"test-ci": "nyc --reporter=lcov npm test",
"sonar-scanner": "sonar-scanner",
"prepare": "npm run build",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
"docs:deploy": "./deploy-docs.sh",
"check-version": "ts-node scripts/check-sdk-version.ts"
},
"author": "Papers GmbH <[email protected]> (https://papers.ch)",
"dependencies": {
"@types/chrome": "0.0.115",
"@types/libsodium-wrappers": "0.7.7",
"axios": "0.19.2",
"bignumber.js": "9.0.0",
"bs58check": "2.1.2",
"libsodium-wrappers": "0.7.6",
"qrcode-generator": "1.4.4"
},
"devDependencies": {
"@types/chai-as-promised": "7.1.2",
"@types/mocha": "7.0.2",
"@types/node": "14.0.1",
"@typescript-eslint/eslint-plugin": "2.33.0",
"@typescript-eslint/eslint-plugin-tslint": "2.33.0",
"@typescript-eslint/parser": "2.33.0",
"@vuepress/plugin-back-to-top": "1.5.0",
"browserify": "16.5.1",
"chai": "4.2.0",
"chai-as-promised": "7.1.1",
"eslint": "7.0.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-no-null": "1.0.2",
"eslint-plugin-prefer-arrow": "1.2.1",
"husky": "4.2.5",
"mocha": "7.1.2",
"nyc": "15.0.1",
"prettier": "2.0.5",
"pretty-quick": "2.0.1",
"sonar-scanner": "3.1.0",
"ts-node": "8.10.1",
"tslint": "6.1.2",
"typescript": "3.9.2",
"uglify-js": "3.9.4",
"vuepress": "1.5.0",
"vuepress-bar": "0.3.1",
"vuepress-plugin-code-copy": "1.0.6",
"vuepress-plugin-mermaidjs": "1.5.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"
}
}
}