This repository has been archived by the owner on Jul 2, 2024. It is now read-only.
forked from oceanprotocol-archive/v4-migration-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 3.49 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
{
"name": "v4-migration-lib",
"source": "./src/index.ts",
"version": "0.0.0",
"description": "V4 Migration Library",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"module": "./dist/index.module.js",
"typings": "./dist/index.d.ts",
"umd:main": "./dist/index.umd.js",
"unpkg": "./dist/index.cjs2.min.js",
"scripts": {
"start": "node dist/app.js",
"build": "npm run clean && tsc --sourcemap && microbundle build --format umd,cjs,es --compress --target node --tsconfig tsconfig.json",
"lint": "eslint --ignore-path .gitignore --ext .js --ext .ts --ext .tsx . && npm run type-check",
"type-check": "tsc --noEmit",
"format": "prettier --ignore-path .gitignore './**/*.{css,yml,js,ts,tsx,json}' --write",
"clean": "rm -rf ./dist",
"prepare": "husky install",
"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",
"test:ddo": "mocha --config=test/unit/.mocharc.json --node-env=test --exit 'test/unit/ddo.test.ts'",
"test:migration": "mocha --config=test/unit/.mocharc.json --node-env=test --exit 'test/unit/Migration.test.ts'",
"test:full": "npm run test:ddo && npm run test:fixed",
"test:url": "mocha --config=test/unit/.mocharc.json --node-env=test --exit 'test/unit/getV3AssetURL.test.ts'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/oceanprotocol/v4-migration-lib.git"
},
"author": "Ocean Protocol Foundation",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/oceanprotocol/v4-migration-lib/issues"
},
"homepage": "https://github.com/oceanprotocol/v4-migration-lib#readme",
"dependencies": {
"@ethereum-navigator/navigator": "^0.5.3",
"@oceanprotocol/contracts": "^0.6.9",
"axios": "^0.25.0",
"cross-fetch": "^3.1.5",
"crypto-js": "^4.1.1",
"decimal.js": "^10.3.1",
"fs": "0.0.1-security",
"lzma": "^2.3.2",
"microbundle": "^0.14.2",
"node-abort-controller": "^2.0.0",
"save-file": "^2.3.1",
"uuid": "^8.3.2",
"web3": "^1.5.2",
"web3-core": "^1.5.3",
"web3-eth-contract": "^1.7.0"
},
"devDependencies": {
"@babel/core": "^7.17.0",
"@babel/eslint-parser": "^7.17.0",
"@babel/preset-typescript": "^7.13.0",
"@oceanprotocol/contracts": "^0.6.9",
"@types/chai": "^4.2.19",
"@types/express": "^4.17.11",
"@types/mocha": "^9.0.0",
"@types/node": "^17.0.14",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"chai": "^4.3.6",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"microbundle": "^0.14.2",
"mocha": "^9.2.0",
"mock-local-storage": "^1.1.20",
"prettier": "^2.3.0",
"pretty-quick": "^3.1.0",
"ts-node": "^10.0.0",
"ts-node-register": "^1.0.0",
"typescript": "4.5.5"
},
"nyc": {
"include": [
"src/**/*.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"reporter": [
"text",
"lcov",
"html"
],
"sourceMap": true,
"instrument": true
}
}