forked from oceanprotocol/ocean.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
129 lines (129 loc) · 3.88 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
{
"name": "@oceanprotocol/lib",
"version": "0.9.18",
"description": "JavaScript client library for Ocean Protocol",
"main": "./dist/node/lib.js",
"typings": "./dist/node/lib.d.ts",
"unpkg": "./dist/browser/lib.cjs2.min.js",
"scripts": {
"start": "npm run clean && npm run build:metadata && tsc -w",
"build": "npm run clean && npm run build:metadata && npm run build:tsc",
"build:tsc": "tsc --sourceMap",
"build:metadata": "./scripts/get-metadata.js > src/metadata.json",
"clean": "rm -rf ./dist/ ./doc/ ./.nyc_output",
"lint": "eslint --ignore-path .gitignore --ext .ts,.tsx . && npm run type-check",
"lint:fix": "eslint --ignore-path .gitignore --ext .ts,.tsx . --fix",
"format": "prettier --parser typescript --ignore-path .gitignore --write '**/*.{js,jsx,ts,tsx}'",
"type-check": "npm run build:metadata && tsc --noEmit",
"doc:json": "./scripts/typedoc.js",
"run": "ts-node",
"release": "release-it --non-interactive",
"changelog": "auto-changelog -p",
"prepublishOnly": "npm run build",
"test": "npm run lint && npm run test:unit:cover && npm run test:integration:cover",
"test:unit": "mocha --config=test/unit/.mocharc.json --node-env=test --exit 'test/unit/**/*.test.ts'",
"test:unit:cover": "nyc --report-dir coverage/unit npm run test:unit",
"test:integration": "mocha --config=test/integration/.mocharc.json --node-env=test --exit 'test/integration/**/*.test.ts'",
"test:integration:cover": "nyc --report-dir coverage/integration --no-clean npm run test:integration"
},
"repository": {
"type": "git",
"url": "git+https://github.com/oceanprotocol/ocean.js.git"
},
"keywords": [],
"author": "Ocean Protocol <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/oceanprotocol/ocean.js/issues"
},
"homepage": "https://github.com/oceanprotocol/ocean.js#readme",
"peerDependencies": {
"web3": "^1.2.3"
},
"dependencies": {
"@ethereum-navigator/navigator": "^0.5.0",
"@oceanprotocol/contracts": "^0.5.7",
"decimal.js": "^10.2.0",
"fs": "0.0.1-security",
"lzma": "^2.3.2",
"node-fetch": "^2.6.1",
"save-file": "^2.3.1",
"uuid": "^8.3.0",
"web3": "^1.3.0",
"web3-eth-contract": "^1.3.0"
},
"devDependencies": {
"@release-it/bumper": "^2.0.0",
"@truffle/hdwallet-provider": "^1.0.37",
"@types/chai": "^4.2.11",
"@types/chai-spies": "^1.0.1",
"@types/mocha": "^8.0.3",
"@types/node": "^14.6.4",
"@types/node-fetch": "^2.5.5",
"@typescript-eslint/eslint-plugin": "^4.4.1",
"@typescript-eslint/parser": "^4.4.1",
"auto-changelog": "^2.2.0",
"chai": "^4.2.0",
"chai-spies": "^1.0.0",
"cross-env": "^7.0.2",
"eslint": "^7.9.0",
"eslint-config-oceanprotocol": "^1.5.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-prettier": "^3.1.4",
"lcov-result-merger": "^3.1.0",
"mocha": "^8.0.1",
"mock-local-storage": "^1.1.11",
"nyc": "^15.1.0",
"ora": "^5.1.0",
"prettier": "^2.0.5",
"release-it": "^14.0.2",
"source-map-support": "^0.5.19",
"ts-node": "^9.0.0",
"ts-node-register": "^1.0.0",
"typedoc": "^0.19.1",
"typescript": "^4.0.2"
},
"nyc": {
"include": [
"src/**/*.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"reporter": [
"text",
"lcov",
"html"
],
"sourceMap": true,
"instrument": true
},
"release-it": {
"hooks": {
"after:bump": "npm run build && npm run changelog && npm run doc:json"
},
"plugins": {
"@release-it/bumper": {
"out": [
"package.json",
"package-lock.json"
]
}
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true,
"assets": [
"dist/lib.json"
]
},
"npm": {
"publish": false
}
}
}