-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpackage.json
55 lines (55 loc) · 1.63 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
{
"name": "@mysten/kiosk",
"author": "Mysten Labs <[email protected]>",
"description": "Sui Kiosk library",
"version": "0.7.11",
"license": "Apache-2.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"src",
"CHANGELOG.md"
],
"engines": {
"node": ">=16"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"scripts": {
"build": "pnpm build:types && pnpm build:tsup",
"build:tsup": "tsup ./src/index.ts --format esm,cjs --sourcemap",
"build:types": "tsc --build",
"test": "echo 'No unit tests for kiosk SDK'",
"pre-commit": "pnpm prettier:fix && pnpm lint && pnpm build",
"prepublishOnly": "pnpm build",
"prettier:check": "prettier -c --ignore-unknown .",
"prettier:fix": "prettier -w --ignore-unknown .",
"eslint:check": "eslint --max-warnings=0 .",
"eslint:fix": "pnpm run eslint:check --fix",
"lint": "pnpm run eslint:check && pnpm run prettier:check",
"lint:fix": "pnpm run eslint:fix && pnpm run prettier:fix",
"test:e2e": "wait-on http://127.0.0.1:9123 -l --timeout 120000 && vitest run e2e",
"prepare:e2e": "cargo build --bin sui-test-validator --bin sui --profile dev && cross-env RUST_LOG=info,sui=error,anemo_tower=warn,consensus=off cargo run --bin sui-test-validator"
},
"dependencies": {
"@mysten/sui.js": "workspace:*"
},
"devDependencies": {
"cross-env": "^7.0.3",
"tmp": "^0.2.1",
"ts-retry-promise": "^0.7.0",
"tsup": "^7.1.0",
"typescript": "^5.1.6",
"vite": "^4.4.4",
"vitest": "^0.33.0",
"wait-on": "^7.0.1"
}
}