-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
66 lines (66 loc) · 2.67 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
{
"name": "keyguard",
"version": "1.0.0",
"description": "Secure storage for Nimiq private keys.",
"scripts": {
"pre": "yarn i18n:build-dictionary && test -e src/lib/bitcoin/BitcoinJS.js || yarn build:bitcoinjs",
"serve": "yarn pre && node serve.js",
"build": "yarn pre && tools/build.sh",
"build:bitcoinjs": "yarn --silent browserify tools/bitcoinjs-parts.js -s BitcoinJS | yarn terser --compress --mangle --source-map --output src/lib/bitcoin/BitcoinJS.js",
"build:opengsn": "yarn --silent browserify -r @opengsn/common/dist/EIP712/TypedRequestData -s OpenGSN | yarn terser --compress --mangle --source-map --output src/lib/polygon/OpenGSN.js",
"test": "karma start",
"typecheck": "tsc && tsc -p src/service-worker/tsconfig.json",
"lint": "yarn i18n:build-dictionary && eslint src tools && if ( grep 'fit\\|fdescribe' tests/lib/* ); then exit 1; else exit 0; fi",
"lintfix": "eslint --fix src tools",
"checkdeps": "node tools/dependencyValidator.js",
"checklangs": "yarn i18n:build-dictionary && node tools/translationValidator.js",
"pr": "yarn typecheck && yarn lint && yarn checkdeps && yarn checklangs && yarn build testnet && cd client && yarn lint && yarn build",
"watch": "tsc-watch --pretty --onSuccess \"yarn lint\"",
"watchfix": "tsc-watch --pretty --onSuccess \"yarn lintfix\"",
"postinstall": "cd client && yarn",
"i18n:build-dictionary": "tools/i18n.sh",
"i18n:pull": "tx pull --all --force --mode sourceastranslation",
"i18n:push": "tx push --source",
"i18n:sync": "yarn i18n:push && yarn i18n:pull"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nimiq/keyguard.git"
},
"keywords": [
"Nimiq",
"Keyguard"
],
"author": "Nimiq",
"license": "MIT",
"bugs": {
"url": "https://github.com/nimiq/keyguard/issues"
},
"homepage": "https://github.com/nimiq/keyguard#readme",
"devDependencies": {
"@nimiq/albatross-wasm": "npm:@nimiq/core@^2.0.5",
"@nimiq/core-web": "1.6.3",
"@nimiq/rpc": "^0.3.0",
"@nimiq/style": "^0.8.3",
"@opengsn/common": "^2.2.5",
"@types/jasmine": "^2.8.8",
"@types/node": "^10.5.2",
"bitcoinjs-lib": "5.2.0",
"browserify": "^16.5.0",
"buffer": "5.6.0",
"eslint": "^5.0.1",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-require-jsdoc-except": "^1.1.0",
"ethers": "^5.7.2",
"jasmine-core": "^3.1.0",
"karma": "^6.3.16",
"karma-chrome-launcher": "^2.2.0",
"karma-firefox-launcher": "^1.1.0",
"karma-istanbuljs-reporter": "^0.2.0",
"karma-jasmine": "^1.1.2",
"terser": "^5.14.2",
"tsc-watch": "^1.0.22",
"typescript": "5.4"
}
}