forked from hashgraph/hedera-nft-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
143 lines (143 loc) · 5.09 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
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "@hashgraph/hedera-nft-sdk",
"version": "3.1.4",
"description": "NFT SDK for Hedera Hashgraph",
"author": "Michiel Mulders",
"license": "Apache License",
"bugs": {
"url": "https://github.com/hashgraph/hedera-nft-sdk/issues"
},
"homepage": "https://github.com/hashgraph/hedera-nft-sdk#readme",
"repository": {
"type": "git",
"url": "https://github.com/hashgraph/hedera-nft-sdk.git"
},
"main": "./lib/cjs/index.cjs",
"module": "./lib/esm/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./lib/types/index.d.ts",
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js"
}
},
"browser": {
"./lib/types/index.d.ts": "./lib/types/browser.d.ts",
"./lib/esm/index.js": "./lib/esm/browser.js",
"./lib/cjs/index.js": "./lib/cjs/browser.js",
"./src/helpers/files.js": "./src/helpers/files.browser.js",
"./lib/esm/helpers/files.js": "./lib/esm/helpers/files.browser.js",
"./lib/cjs/helpers/files.js": "./lib/cjs/helpers/files.browser.js",
"./src/helpers/save-metadata-object-as-json-files.js": "./src/helpers/save-metadata-object-as-json-files.browser.js",
"./lib/esm/helpers/save-metadata-object-as-json-files.js": "./lib/esm/helpers/save-metadata-object-as-json-files.browser.js",
"./lib/cjs/helpers/save-metadata-object-as-json-files.js": "./lib/cjs/helpers/save-metadata-object-as-json-files.browser.js",
"./src/token-metadata-validator/index.js": "./src/token-metadata-validator/browser.js",
"./lib/esm/token-metadata-validator/index.js": "./lib/esm/token-metadata-validator/browser.js",
"./lib/cjs/token-metadata-validator/index.js": "./lib/cjs/token-metadata-validator/browser.js",
"./src/local-validation/index.js": "./src/local-validation/browser.js",
"./lib/esm/local-validation/index.js": "./lib/esm/local-validation/browser.js",
"./lib/cjs/local-validation/index.js": "./lib/cjs/local-validation/browser.js",
"./src/services/upload-service.js": "./src/services/upload-service.browser.js",
"./lib/esm/services/upload-service.js": "./lib/esm/services/upload-service.browser.js",
"./lib/cjs/services/upload-service.js": "./lib/cjs/services/upload-service.browser.js",
"crypto": false
},
"engines": {
"node": ">=14.0.0"
},
"browserslist": [
"> 0.5%",
"last 2 versions",
"not dead",
"not op_mini all",
"not ie > 0"
],
"types": "lib/types/index.d.ts",
"files": [
"lib/",
"src/",
"types",
"LICENSE",
"README.md",
"package.json"
],
"scripts": {
"lint": "eslint . --ext .ts,.js",
"fix": "eslint . --ext .ts,.js --fix",
"test": "jest --config jest.config.ts --ci --maxWorkers=2",
"test:e2e": "jest --config jest.config.e2e.ts",
"test:single": "jest --config jest.config.ts --testPathPattern",
"test:single-e2e": "jest --config jest.config.e2e.ts --testPathPattern",
"test-output": "jest --ci --reporters=default --reporters=jest-junit",
"clean": "rimraf lib",
"declarations": "tsc -p tsconfig.json",
"build:esm": "cross-env BABEL_ENV=esmUnbundled babel src --extensions '.ts' --out-dir 'lib/esm' --source-maps",
"build:cjs": "cross-env BABEL_ENV=cjs babel src --extensions '.ts' --out-dir 'lib/cjs' --source-maps",
"build": "npm-run-all -l clean -p build:esm build:cjs declarations",
"prepare": "npm run build"
},
"prettier": {
"printWidth": 140,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"keywords": [
"Hedera",
"Hedera Hashgraph",
"HIP412",
"NFT",
"SDK"
],
"dependencies": {
"@aws-sdk/client-s3": "3.515.0",
"@aws-sdk/lib-storage": "3.515.0",
"@babel/cli": "^7.24.5",
"@babel/core": "^7.23.3",
"@babel/eslint-parser": "^7.23.3",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-export-namespace-from": "^7.24.1",
"@babel/plugin-transform-modules-commonjs": "^7.21.5",
"@babel/preset-env": "^7.22.15",
"@babel/preset-typescript": "^7.24.1",
"@babel/register": "^7.22.5",
"@hashgraph/sdk": "^2.45.0",
"ajv": "^8.13.0",
"ajv-formats": "^3.0.1",
"axios": "^1.6.7",
"cross-env": "^7.0.3",
"date-fns": "^3.3.1",
"file-type": "18.3.0",
"formdata-node": "6.0.3",
"json2csv": "6.0.0-alpha.2",
"lodash": "^4.17.21",
"magic-bytes.js": "^1.8.0",
"mathjs": "^12.3.2",
"npm-run-all": "^4.1.5",
"papaparse": "^5.4.1",
"zod": "^3.22.4",
"zod-error": "^1.5.0"
},
"devDependencies": {
"@jest/transform": "^29.7.0",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.14.202",
"@types/node": "^20.11.17",
"@types/papaparse": "^5.3.14",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-module-rewrite": "^0.2.0",
"dotenv": "^16.4.1",
"eslint": "^8.56.0",
"eslint-plugin-compat": "^4.2.0",
"eslint-plugin-import": "^2.29.1",
"jest": "^29.7.0",
"jest-junit": "^15.0.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"uuid": "^9.0.1"
}
}