-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
62 lines (62 loc) · 1.97 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
{
"name": "ununifi-client",
"version": "0.46.2-rc1",
"description": "REST API Client for UnUniFi Blockchain",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"exports": {
".": {
"node": "./cjs/index.js",
"default": "./esm/index.js"
},
"./openapi": {
"node": "./cjs/openapi/index.js",
"default": "./esm/openapi/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"lint": "eslint \"src/**/*\"",
"lint:fix": "prettier --write .",
"test": "jest",
"test:watch": "jest --watch",
"build": "rm -r dist ; mkdir dist && npm run build:cjs && npm run build:esm && npm run build:cdn && node bundle",
"build:cjs": "tsc --build --clean && tsc --target es5 --module commonjs && mv lib dist/cjs",
"build:esm": "tsc --build --clean && tsc --target esnext --module esnext && mv lib dist/esm",
"build:cdn": "tsc --build --clean && tsc --target esnext --module esnext && webpack && cp cdn/main.js dist/index.min.js",
"gen:openapi": "bash ./gen-openapi.sh && npm run lint:fix",
"gen:proto": "bash ./gen-proto.sh && npm run lint:fix"
},
"author": "",
"license": "ISC",
"dependencies": {
"axios": "^0.21.1",
"protobufjs": "^6.11.2"
},
"devDependencies": {
"@cosmos-client/core": "^0.46.1",
"@types/axios": "^0.14.0",
"@types/jest": "^27.0.2",
"@types/long": "^4.0.1",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"buffer": "^6.0.3",
"crypto-browserify": "^3.12.0",
"eslint": "^8.18.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.3",
"jest": "^27.2.5",
"prettier": "^2.7.1",
"process": "^0.11.10",
"stream-browserify": "^3.0.0",
"ts-jest": "^27.0.7",
"ts-loader": "^9.3.1",
"typescript": "^4.4.4",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0"
},
"peerDependencies": {
"@cosmos-client/core": "^0.46.0"
}
}