-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 3.92 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
{
"name": "@airgap/beacon-sdk",
"version": "2.0.0",
"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/cjs/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 pretest && tsc -p tsconfig.json && tsc -p ./tsconfig-cjs.json && npm run browserify && npm run posttest",
"browserify": "npm run pretest && tsc -p ./tsconfig-browserify.json && npm run posttest && browserify ./dist/browserify/index.js -s beacon | uglifyjs > ./dist/walletbeacon.min.js && rm -rf dist/browserify",
"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",
"pretest": "ts-node --project tsconfig.test.json scripts/change-files-before-tests.ts",
"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",
"posttest": " ts-node --project tsconfig.test.json scripts/change-files-after-tests.ts",
"test-ci": "nyc --reporter=lcov npm test",
"audit-ci": "npm audit --json > audit.json && node scripts/dependency-scanning.js",
"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 --project tsconfig-cjs.json scripts/check-sdk-version.ts"
},
"author": "Papers GmbH <contact@papers.ch> (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.8",
"qrcode-generator": "1.4.4"
},
"devDependencies": {
"@types/chai-as-promised": "7.1.2",
"@types/mocha": "7.0.2",
"@types/node": "14.0.1",
"@types/sinon": "9.0.5",
"@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",
"axios-mock-adapter": "1.18.2",
"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",
"jsdom": "16.4.0",
"jsdom-global": "3.0.2",
"mocha": "7.1.2",
"nyc": "15.0.1",
"prettier": "2.0.5",
"pretty-quick": "2.0.1",
"resize-img": "2.0.0",
"sinon": "9.0.3",
"sonar-scanner": "3.1.0",
"ts-node": "8.10.1",
"tslint": "6.1.2",
"typescript": "3.9.2",
"uglify-js": "3.9.4",
"vue": "^2.6.11",
"vue-server-renderer": "^2.6.11",
"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"
}
}
}