forked from coinbase/coinbase-wallet-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 3.44 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
{
"name": "walletlink",
"version": "2.4.7",
"description": "Coinbase Wallet JavaScript SDK",
"keywords": [
"cipher",
"cipherbrowser",
"coinbase",
"coinbasewallet",
"eth",
"ether",
"ethereum",
"etherium",
"injection",
"toshi",
"wallet",
"walletlink",
"web3"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "https://github.com/walletlink/coinbase-wallet-sdk.git",
"author": "Coinbase, Inc.",
"license": "Apache-2.0",
"scripts": {
"tsc": "tsc --noEmit --pretty",
"test": "yarn build-npm && karma start",
"prebuild": "node -p \"'export const LIB_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
"build": "node compile-assets.js && webpack --config webpack.config.js",
"build-chrome": "webpack --config webpack.config.chrome.js",
"build-npm": "tsc -p ./tsconfig.build.json",
"build:dev": "export WALLETLINK_URL='http://localhost:3000'; yarn build && yarn build-chrome",
"build:dev:watch": "nodemon -e 'ts,tsx,js,json,css,scss,svg' --ignore 'src/**/*-css.ts' --ignore 'src/**/*-svg.ts' --watch src/ --watch chrome/ --exec 'yarn build:dev'",
"build:prod": "yarn prebuild && yarn build && yarn build-chrome && yarn build-npm && cp ./package.json ./README.md ./LICENSE build/npm && cp -a src/vendor-js build/npm/dist && sed -i.bak 's| \"private\": true,||g' build/npm/package.json && rm -f build/npm/package.json.bak",
"lint": "eslint ./src --ext .ts,.tsx",
"lint:watch": "nodemon -e ts,tsx,js,json,css,scss,svg --watch src/ --exec 'yarn tsc && yarn lint'"
},
"dependencies": {
"@metamask/safe-event-emitter": "2.0.0",
"bind-decorator": "^1.0.11",
"bn.js": "^5.1.1",
"clsx": "^1.1.0",
"eth-block-tracker": "4.4.3",
"eth-json-rpc-filters": "4.2.2",
"eth-rpc-errors": "4.0.2",
"js-sha256": "0.9.0",
"json-rpc-engine": "6.1.0",
"keccak": "^3.0.1",
"preact": "^10.5.9",
"rxjs": "^6.6.3",
"stream-browserify": "^3.0.0"
},
"devDependencies": {
"@types/bn.js": "^4.11.6",
"@types/node": "^14.14.20",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/eslint-plugin-tslint": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"browserify": "17.0.0",
"copy-webpack-plugin": "^6.4.1",
"core-js": "^3.8.2",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-preact": "^0.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"jasmine": "3.8.0",
"karma": "^6.3.15",
"karma-browserify": "8.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-jasmine": "^4.0.1",
"nodemon": "^2.0.6",
"prettier": "^2.5.1",
"raw-loader": "^4.0.2",
"regenerator-runtime": "^0.13.7",
"sass": "^1.32.0",
"svgo": "^2.8.0",
"ts-jest": "^26.4.4",
"ts-loader": "^8.0.13",
"tslib": "^2.0.3",
"typescript": "^4.1.3",
"watchify": "4.0.0",
"webpack": "^5.49.0",
"webpack-cli": "^3.3.12",
"whatwg-fetch": "^3.5.0"
},
"engines": {
"node": ">= 10.0.0"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testEnvironment": "node",
"testPathIgnorePatterns": [
"<rootDir>/dist/",
"<rootDir>/node_modules/"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"js",
"json"
]
}
}