Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) 路 4.23 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) 路 4.23 KB
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
{
"name": "@oceanprotocol/contracts",
"version": "0.6.5",
"description": "Ocean Protocol L1 - DataTokens",
"bugs": {
"url": "https://github.com/oceanprotocol/contracts/issues"
},
"homepage": "https://github.com/oceanprotocol/contracts#readme",
"main": "README.md",
"directories": {
"doc": "docs",
"test": "test"
},
"scripts": {
"test": "npm run test:unit",
"test:unit": "truffle test",
"compile": "truffle compile",
"test:cover": "npx truffle run coverage --network coverage",
"report:coverage": "cat coverage/lcov.info | coveralls",
"clean": "rm -rf ./build/",
"lint:ethlint": "solium -d ./contracts/",
"lint:eslint": "eslint --ignore-pattern '/coverage/' .",
"lint": "npm run lint:eslint && npm run lint:ethlint",
"doc:generate": "npx solidity-docgen --solc-module ./node_modules/solc -o docs/contracts",
"release": "release-it --non-interactive",
"changelog": "auto-changelog -p",
"export:artifacts": "npm run clean && npm run compile && cp ./build/contracts/*.json ./artifacts",
"deploy": "npm run deploy:development",
"deploy:ganache": "npm run deploy:development",
"deploy:development": "npm run clean && npm run compile && export NETWORK='development' && truffle migrate && npm run export:artifacts",
"deploy:nile": "npm run clean && npm run compile && export NETWORK='nile' && truffle migrate --network nile && npm run export:artifacts",
"deploy:pacific": "npm run clean && npm run compile && export NETWORK='pacific' && truffle migrate --network pacific && npm run export:artifacts",
"deploy:mainnet": "npm run clean && npm run compile && export NETWORK='mainnet' && truffle migrate --network mainnet && npm run export:artifacts",
"deploy:rinkeby": "npm run clean && npm run compile && export NETWORK='rinkeby' && truffle migrate --network rinkeby && npm run export:artifacts",
"deploy:ropsten": "npm run clean && npm run compile && export NETWORK='ropsten' && truffle migrate --network ropsten && npm run export:artifacts",
"deploy:polygon": "npm run clean && npm run compile && export NETWORK='polygon' && truffle migrate --network polygon && npm run export:artifacts",
"deploy:moonbeamalpha": "npm run clean && npm run compile && export NETWORK='moonbeamalpha' && truffle migrate --network moonbeamalpha && npm run export:artifacts",
"deploy:gaiaxtestnet": "npm run clean && npm run compile && export NETWORK='gaiaxtestnet' && truffle migrate --network gaiaxtestnet && npm run export:artifacts",
"deploy:mumbai": "npm run clean && npm run compile && export NETWORK='mumbai' && truffle migrate --network mumbai && npm run export:artifacts",
"deploy:bsc": "npm run clean && npm run compile && export NETWORK='bsc' && truffle migrate --network bsc && npm run export:artifacts",
"security:slither": "slither . 2>&1 | tee slitherReport.txt"
},
"files": [
"docs/**/*",
"artifacts/*",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/oceanprotocol/contracts.git"
},
"author": "Ocean Protocol",
"license": "Apache-2.0",
"release-it": {
"hooks": {
"after:bump": "npm run changelog"
},
"plugins": {
"@release-it/bumper": {
"out": [
"package.json",
"package-lock.json"
]
}
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": false
}
},
"devDependencies": {
"@release-it/bumper": "^1.1.1",
"auto-changelog": "^2.2.1",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"coveralls": "^3.1.0",
"decimal.js": "^10.2.0",
"eslint": "^7.2.0",
"eslint-config-oceanprotocol": "^1.5.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-standard": "5.0.0",
"openzeppelin-solidity": "^2.5.0",
"release-it": "^13.6.2",
"solc": "0.5.7",
"solidity-coverage": "0.7.5",
"solidity-docgen": "^0.5.7",
"solium": "^1.2.5",
"solium-plugin-security": "^0.1.1",
"web3": "^1.2.9",
"web3-provider-engine": "~15.0.12"
},
"dependencies": {
"@truffle/contract": "^4.3.19",
"@truffle/hdwallet-provider": "^1.4.0",
"truffle": "^5.3.9",
"truffle-assertions": "^0.9.2"
}
}