-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
95 lines (95 loc) · 3.3 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": "aptos",
"description": "Aptos SDK",
"packageManager": "pnpm@8.3.1",
"license": "Apache-2.0",
"engines": {
"node": ">=11.0.0"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"prepack": "pnpm build",
"build": "pnpm build:clean && pnpm _build:node && pnpm _build:browser",
"build:clean": "rm -rf dist",
"_build:browser": "tsup --platform browser --format iife --global-name aptosSDK --minify",
"_build:node": "tsup --platform node --format cjs,esm --dts",
"lint": "eslint \"**/*.ts\"",
"test": "pnpm run publish-ans-contract && jest",
"test:ci": "pnpm run publish-ans-contract && jest --testPathIgnorePatterns=indexer.test.ts",
"test:indexer": "jest --collectCoverageFrom='./src/tests/e2e/indexer.test.ts' -- ./src/tests/e2e/indexer.test.ts",
"_fmt": "prettier 'scripts/**/*.ts' 'src/**/*.ts' 'examples/**/*.js' 'examples/**/*.ts' '.eslintrc.js'",
"fmt": "pnpm _fmt --write",
"fmt:check": "pnpm _fmt --check",
"cov:clean": "rm -rf coverage",
"generate-client": "openapi -i ../../../api/doc/spec.yaml -o ./src/generated --exportCore=false --exportServices=false",
"checked-publish": "scripts/checked_publish.sh",
"generate-ts-docs": "scripts/generate_ts_docs.sh",
"indexer-codegen": "graphql-codegen --config ./src/indexer/codegen.yml",
"publish-ans-contract": "ts-node ./scripts/publish_ans_contract.ts"
},
"repository": {
"type": "git",
"url": "https://github.com/aptos-labs/aptos-core.git"
},
"homepage": "https://github.com/aptos-labs/aptos-core",
"bugs": {
"url": "https://github.com/aptos-labs/aptos-core/issues"
},
"author": "aptoslabs.com",
"keywords": [
"Aptos",
"Aptos Labs",
"Move"
],
"dependencies": {
"@aptos-labs/aptos-client": "^0.1.0",
"eventemitter3": "^5.0.1",
"@noble/hashes": "1.3.3",
"@scure/bip39": "1.2.1",
"form-data": "4.0.0",
"tweetnacl": "1.0.3"
},
"devDependencies": {
"@babel/traverse": "^7.23.6",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/import-types-preset": "^3.0.0",
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-graphql-request": "^6.0.1",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@types/jest": "29.5.11",
"@types/node": "20.10.4",
"@typescript-eslint/eslint-plugin": "6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"dotenv": "16.3.1",
"eslint": "8.55.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "17.1.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.0",
"graphql": "^16.8.1",
"graphql-request": "6.1.0",
"graphql-tag": "^2.12.6",
"jest": "29.7.0",
"json5": "^2.2.3",
"openapi-typescript-codegen": "https://github.com/aptos-labs/openapi-typescript-codegen/releases/download/v0.24.0-p1/openapi-typescript-codegen-v0.24.0-p1.tgz",
"prettier": "3.1.1",
"semver": "^6.3.1",
"ts-jest": "29.1.1",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"tsup": "8.0.1",
"typedoc": "^0.25.4",
"typescript": "5.3.3",
"webpack": "^5.89.0"
},
"version": "1.21.0"
}