-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
89 lines (89 loc) · 3.11 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
{
"name": "@squirrel-labs/peanut-sdk",
"version": "0.4.66",
"description": "The Peanut Protocol SDK! Check out the documentation at https://docs.peanut.to",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"scripts": {
"test": "npm run pkg-move && jest test/basic --silent --coverage",
"test:unit": "jest test/unit --silent --coverage",
"test:basic": "npm run pkg-move && jest 'test/(unit|basic)' --silent --coverage",
"test:live": "npm run pkg-move && jest test/live --silent --runInBand",
"test:full": "npm run pkg-move && jest --coverage --silent --runInBand",
"prettier": "prettier . --write",
"dry-run": "npm pack --dry-run",
"clean": "rm -r dist || true",
"format": "prettier --write .",
"build:lib": "vite build",
"build:dev": "npm run clean && npm run pkg-move && npm run generate-types && vite build",
"build": "npm run clean && npm run pkg-move && npm run generate-types && vite build",
"analyze": "vite-bundle-visualizer --open",
"pkg-move": "cp package.json src/data/package.json",
"generate-types": "rm tsconfig.tsbuildinfo || true && tsc --emitDeclarationOnly",
"pre-git": "npm run prettier && npm run lint:fix && npm run test && npm run build:prod",
"git": "git add . && git commit -m 'Release' && git push",
"lint": "eslint '**/*.{js,ts,tsx}' --quiet",
"lint:fix": "eslint '**/*.{js,ts,tsx}' --fix",
"release": "npm run check-git-status && npm run test && npm run build:prod && npm version patch && npm run git && npm publish",
"check-git-status": "git diff-index --quiet HEAD -- || (echo \"ERROR: Git working directory is not clean.\" && exit 1)"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ProphetFund/peanut-sdk.git"
},
"keywords": [
"crypto",
"evm",
"cryptography",
"links",
"ethers"
],
"author": "Hugo Montenegro, Konrad Urban",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/ProphetFund/peanut-sdk/issues"
},
"homepage": "https://github.com/ProphetFund/peanut-sdk#readme",
"dependencies": {
"ethersv5": "npm:ethers@^5.7.2"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@ethersproject/abstract-provider": "^5.7.0",
"@jest/globals": "^29.7.0",
"@jest/transform": "^29.7.0",
"@types/jest": "^29.5.13",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"bufferutil": "^4.0.8",
"crypto-browserify": "latest",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.36.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.11",
"esm": "^3.2.25",
"jest": "^29.7.0",
"jest-summary-reporter": "^0.0.2",
"json-loader": "^0.5.7",
"mocha": "^10.7.3",
"npm-packlist": "^7.0.4",
"prettier": "^3.3.3",
"raw-loader": "^4.0.2",
"registry.npmjs.org": "^1.0.1",
"source-map-support": "^0.5.21",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"typescript": "^5.6.2",
"url": "^0.11.4",
"utf-8-validate": "^5.0.10",
"vite": "^4.5.3",
"vite-bundle-visualizer": "^0.10.1",
"vite-plugin-dts": "^3.9.1"
}
}