-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.65 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
{
"name": "@calimero-network/calimero-client",
"version": "0.1.2",
"description": "Javascript library to interact with Calimero P2P node",
"type": "module",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"private": false,
"dependencies": {
"axios": "^1.7.4",
"jwt-decode": "^4.0.0",
"near-api-js": "^3.0.4",
"react": "^18.3.0",
"react-dom": "^18.3.1",
"styled-components": "^6.1.8"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/bn.js": "^5.1.1",
"@types/eslint__js": "^8.42.3",
"@types/node": "^18.19.34",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.3.0",
"@types/styled-components": "^5.1.34",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"browserify": "^16.2.3",
"bundlewatch": "^0.3.1",
"concurrently": "^7.3.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"husky": "^9.0.11",
"jest": "^26.0.1",
"prettier": "3.3.2",
"rimraf": "^3.0.0",
"semantic-release": "^24.2.0",
"semver": "^7.6.1",
"ts-jest": "^26.5.6",
"typescript": "^4.9.5",
"typescript-eslint": "^7.13.0",
"uglifyify": "^5.0.1"
},
"peerDependencies": {
"@near-wallet-selector/modal-ui": "^8.9.7"
},
"scripts": {
"dist": "pnpm browserify",
"browserify": "browserify -i node-fetch -i http -i https -o dist/calimero-sdk.js && browserify -i node-fetch -g uglifyify -o dist/calimero-sdk.min.js",
"compile": "tsc -p ./tsconfig.json",
"dev": "pnpm compile -w",
"build": "pnpm compile && pnpm browserify",
"test": "jest test",
"lint": "eslint . --ext .ts,.tsx src",
"lint:fix": "eslint . --ext .ts,.tsx --fix src",
"prefuzz": "pnpm build",
"fuzz": "jsfuzz test/fuzz/borsh-roundtrip.js test/fuzz/corpus/",
"clean": "pnpm rimraf lib node_modules",
"bundlewatch": "bundlewatch",
"prettier": "exec prettier . --write",
"prettier:check": "exec prettier . --check",
"watch": "tsc -watch",
"prepare": "husky"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"bundlewatch": {
"files": [
{
"path": "dist/calimero-sdk.min.js",
"maxSize": "105kB"
}
]
},
"files": [
"lib",
"dist",
"browser-exports.js"
],
"keywords": [],
"license": "(MIT)",
"author": "Calimero Ltd",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}