-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
103 lines (103 loc) · 3.08 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
{
"name": "@thalalabs/surf",
"version": "1.7.3",
"description": "TypeScript Interfaces & React Hooks for interacting with Aptos Smart Contracts with type safety.",
"main": "./build/cjs/index.js",
"module": "./build/esm/index.js",
"types": "./build/types/index.d.ts",
"typings": "./build/types/index.d.ts",
"type": "module",
"sideEffects": false,
"exports": {
".": {
"import": {
"types": "./build/types/index.d.ts",
"default": "./build/esm/index.js"
},
"require": {
"types": "./build/types/index.d.ts",
"default": "./build/cjs/index.js"
}
},
"./hooks": {
"types": "./build/types/hooks/index.d.ts",
"import": "./build/esm/hooks/index.js",
"default": "./build/cjs/hooks/index.js"
}
},
"typesVersions": {
"*": {
"hooks": [
"./build/types/hooks/index.d.ts"
]
}
},
"devDependencies": {
"@aptos-labs/ts-sdk": "^1.26.0",
"@aptos-labs/wallet-adapter-react": "^3.5.9",
"@changesets/cli": "^2.26.1",
"@types/jest": "~29.5",
"@types/node": "~18",
"@types/react": "^18.2.8",
"@typescript-eslint/eslint-plugin": "~5.62",
"@typescript-eslint/parser": "~5.62",
"eslint": "~8.57",
"eslint-config-prettier": "~9.1",
"eslint-plugin-jest": "~28.6",
"husky": "^9.0.11",
"jest": "~29.7",
"lint-staged": "^15.2.5",
"prettier": "~3.3",
"react": "^18.2.0",
"rimraf": "~5.0",
"ts-api-utils": "~0.0.44",
"ts-jest": "~29.1",
"tslib": "~2.6",
"typescript": "~5.1"
},
"peerDependencies": {
"@aptos-labs/ts-sdk": "^1.26.0",
"@aptos-labs/wallet-adapter-react": "^3.5.9",
"react": "^18.2.0"
},
"peerDependenciesMeta": {
"@aptos-labs/wallet-adapter-react": {
"optional": true
},
"react": {
"optional": true
}
},
"scripts": {
"start": "node build/src/main.js",
"clean": "rimraf coverage build tmp",
"prebuild": "yarn lint",
"build:watch": "tsc -w -p tsconfig.json",
"build": "yarn clean && yarn build:cjs && yarn build:esm && yarn build:types",
"build:cjs": "tsc --project tsconfig.json --module commonjs --outDir ./build/cjs --removeComments --verbatimModuleSyntax false && echo > ./build/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm": "tsc --project tsconfig.json --module es2015 --outDir ./build/esm --removeComments && echo > ./build/esm/package.json '{\"type\":\"module\"}'",
"build:types": "tsc --project tsconfig.json --module esnext --declarationDir ./build/types --emitDeclarationOnly --declaration --declarationMap",
"lint": "eslint . --ext .ts --ext .mts",
"test": "jest --coverage",
"prettier": "prettier --config .prettierrc --write .",
"test:watch": "jest --watch",
"release": "yarn build && changeset publish"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.json": "prettier --write"
},
"keywords": [
"move",
"blockchain",
"aptos"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ThalaLabs/surf"
},
"license": "MIT"
}