-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 3.41 KB
/
package.json
File metadata and controls
128 lines (128 loc) · 3.41 KB
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
122
123
124
125
126
127
128
{
"name": "@formo/analytics",
"version": "1.32.0",
"packageManager": "pnpm@11.1.1",
"repository": {
"type": "git",
"url": "git+https://github.com/getformo/sdk.git"
},
"main": "dist/cjs/src/index.js",
"types": "dist/esm/src/index.d.ts",
"module": "dist/esm/src/index.js",
"unpkg": "dist/index.umd.min.js",
"files": [
"dist/cjs/src",
"dist/esm/src",
"dist/index.umd.min.js",
"dist/index.umd.min.js.LICENSE.txt"
],
"exports": {
".": {
"import": "./dist/esm/src/index.js",
"require": "./dist/cjs/src/index.js"
},
"./core": {
"types": "./dist/esm/src/core.d.ts",
"import": "./dist/esm/src/core.js",
"require": "./dist/cjs/src/core.js"
}
},
"sideEffects": [
"./dist/esm/src/index.js",
"./dist/cjs/src/index.js"
],
"private": false,
"publishConfig": {
"access": "public",
"provenance": true
},
"homepage": "https://docs.formo.so/sdks/web",
"author": "Yos Riady",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"ethereum-cryptography": "3.2.0",
"mipd": "0.0.7"
},
"devDependencies": {
"@size-limit/esbuild": "^12.1.0",
"@size-limit/file": "^12.1.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/chai": "^4.3.20",
"@types/jsdom": "^21.1.7",
"@types/mocha": "^10.0.10",
"@types/node": "^25.7.0",
"@types/react": "^19.2.14",
"@types/sinon": "^21.0.1",
"@types/sinon-chai": "^3.2.12",
"@typescript-eslint/eslint-plugin": "^8.59.0",
"@typescript-eslint/parser": "^8.59.3",
"c8": "^11.0.0",
"chai": "^4.5.0",
"eslint": "^10.2.1",
"global-jsdom": "^8.8.0",
"jsdom": "^21.1.2",
"mocha": "^11.7.5",
"nodemon": "^3.1.14",
"prettier": "^3.8.3",
"react": "^19.2.6",
"react-dom": "^19.2.5",
"sinon": "^22.0.0",
"sinon-chai": "^3.7.0",
"size-limit": "^12.1.0",
"ts-loader": "^9.5.7",
"ts-node": "^10.8.2",
"typescript": "^5.7.3",
"typescript-eslint": "^8.59.3",
"webpack": "^5.106.2",
"webpack-cli": "^7.0.2"
},
"scripts": {
"prebuild": "pnpm clean",
"build": "pnpm build-cjs && pnpm build-esm && pnpm run webpack:prod && pnpm clean-build",
"build-cjs": "tsc --build",
"build-esm": "tsc -m es6 --outdir dist/esm",
"webpack:prod": "webpack --mode=production",
"clean": "rm -rf dist",
"clean-build": "find dist -name '*.map' -delete && find dist -name '*.tsbuildinfo' -delete && find dist -name 'test' -type d -exec rm -rf {} \\;",
"lint": "eslint '{src,test}/**/*.{ts,tsx}'",
"test": "mocha --require ts-node/register --project tsconfig.test.json 'test/**/*.ts'",
"test-watch": "nodemon --config test.nodemon.json",
"size": "size-limit",
"version": "node scripts/update-version.js && git add src/version.ts",
"preview-release": "bash scripts/preview-release-notes.sh"
},
"size-limit": [
{
"path": "dist/index.umd.min.js",
"limit": "39 KB"
}
],
"peerDependencies": {
"@tanstack/react-query": ">=5.0.0",
"@types/react": ">=16.14.34",
"react": ">=16.14.0",
"viem": ">=2.0.0",
"wagmi": ">=2.0.0"
},
"peerDependenciesMeta": {
"@tanstack/react-query": {
"optional": true
},
"@types/react": {
"optional": true
},
"react": {
"optional": true
},
"viem": {
"optional": true
},
"wagmi": {
"optional": true
}
}
}