2018-03-15 07:55:17 +00:00
|
|
|
{
|
2022-10-31 11:27:24 +00:00
|
|
|
"name": "@kredits/contracts",
|
2023-08-29 13:03:03 +00:00
|
|
|
"version": "7.4.0",
|
2022-10-31 11:27:24 +00:00
|
|
|
"description": "Smart contracts and JavaScript API for Kredits",
|
2018-04-18 16:51:27 +00:00
|
|
|
"main": "./lib/kredits.js",
|
2018-03-15 07:55:17 +00:00
|
|
|
"directories": {
|
|
|
|
"test": "test"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2022-01-11 22:20:23 +00:00
|
|
|
"wallet:create": "hardhat create-wallet",
|
|
|
|
"devchain": "hardhat node --network hardhat",
|
2022-05-19 16:40:41 +00:00
|
|
|
"deploy:dao": "hardhat run scripts/create-proxy.js",
|
2020-02-08 21:36:29 +00:00
|
|
|
"postshrinkwrap": "node scripts/fix-package-lock.js &>/dev/null || true",
|
2022-05-16 17:16:13 +00:00
|
|
|
"build": "npm run build:contracts && npm run build:json",
|
|
|
|
"build:contracts": "hardhat compile --force",
|
|
|
|
"build:json": "node ./scripts/build-json.js",
|
2022-05-19 16:40:41 +00:00
|
|
|
"seeds": "hardhat run scripts/seeds.js",
|
|
|
|
"fund": "hardhat fund",
|
2022-05-19 15:51:33 +00:00
|
|
|
"bootstrap": "npm run build && npm run deploy:dao && npm run seeds",
|
2022-05-19 16:40:41 +00:00
|
|
|
"repl": "hardhat console",
|
2019-04-12 23:10:40 +00:00
|
|
|
"lint:contracts": "solhint \"contracts/**/*.sol\" \"apps/*/contracts/**/*.sol\"",
|
2019-04-24 17:56:37 +00:00
|
|
|
"lint:contract-tests": "eslint apps/*/test",
|
2019-04-12 21:59:59 +00:00
|
|
|
"lint:wrapper": "eslint lib/",
|
2022-08-08 15:09:56 +00:00
|
|
|
"test": "hardhat test",
|
2023-08-29 12:57:07 +00:00
|
|
|
"setup-git-hooks": "sh scripts/git-hooks/install",
|
|
|
|
"preversion": "npm test && npm run build",
|
|
|
|
"version": "git add lib/abis"
|
2018-03-15 07:55:17 +00:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2021-06-08 21:40:20 +00:00
|
|
|
"url": "git+https://github.com/67P/kredits-contracts.git"
|
2018-03-15 07:55:17 +00:00
|
|
|
},
|
|
|
|
"author": "",
|
|
|
|
"license": "MIT",
|
|
|
|
"bugs": {
|
2021-06-08 21:40:20 +00:00
|
|
|
"url": "https://github.com/67P/kredits-contracts/issues"
|
2018-03-15 07:55:17 +00:00
|
|
|
},
|
2021-06-08 21:40:20 +00:00
|
|
|
"homepage": "https://github.com/67P/kredits-contracts#readme",
|
2018-03-15 08:01:26 +00:00
|
|
|
"devDependencies": {
|
2022-08-23 09:41:46 +00:00
|
|
|
"@nomicfoundation/hardhat-chai-matchers": "^1.0.3",
|
2021-06-08 13:45:23 +00:00
|
|
|
"@nomiclabs/hardhat-ethers": "^2.0.2",
|
2021-09-26 17:25:57 +00:00
|
|
|
"@nomiclabs/hardhat-waffle": "^2.0.1",
|
2023-04-27 09:11:30 +00:00
|
|
|
"@openzeppelin/contracts-upgradeable": "^4.8.3",
|
2021-09-26 17:25:57 +00:00
|
|
|
"@openzeppelin/hardhat-upgrades": "^1.10.0",
|
2018-04-20 10:56:09 +00:00
|
|
|
"async-each-series": "^1.1.0",
|
2022-08-23 09:41:46 +00:00
|
|
|
"chai": "^4.3.6",
|
2019-06-08 17:05:35 +00:00
|
|
|
"cli-table": "^0.3.1",
|
2022-04-28 17:19:58 +00:00
|
|
|
"colors": "^1.0.3",
|
2022-04-25 14:13:26 +00:00
|
|
|
"eslint": "^8.14.0",
|
2020-05-27 08:46:41 +00:00
|
|
|
"eslint-plugin-import": "^2.20.2",
|
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2022-04-25 14:13:26 +00:00
|
|
|
"eslint-plugin-promise": "^6.0.0",
|
|
|
|
"eth-provider": "^0.11.0",
|
2021-05-20 13:09:56 +00:00
|
|
|
"ethereum-block-by-date": "^1.4.0",
|
2021-09-26 17:25:57 +00:00
|
|
|
"ethereum-waffle": "^3.4.0",
|
|
|
|
"hardhat": "^2.6.4",
|
2022-04-25 14:13:26 +00:00
|
|
|
"hardhat-deploy": "^0.11.4",
|
2021-09-26 17:25:57 +00:00
|
|
|
"hardhat-deploy-ethers": "^0.3.0-beta.10",
|
2020-04-15 18:43:46 +00:00
|
|
|
"homedir": "^0.6.0",
|
2022-08-23 09:41:46 +00:00
|
|
|
"mocha": "^10.0.0",
|
2018-04-19 13:59:40 +00:00
|
|
|
"promptly": "^3.0.3",
|
2022-04-25 14:13:26 +00:00
|
|
|
"solhint": "^3.3.7",
|
|
|
|
"truffle-hdwallet-provider": "^1.0.17",
|
|
|
|
"truffle-hdwallet-provider-privkey": "^0.3.0",
|
2022-05-18 23:02:27 +00:00
|
|
|
"web3-providers-ws": "^1.7.3",
|
2020-05-27 08:06:06 +00:00
|
|
|
"yargs": "^15.0.0"
|
2018-04-18 16:51:27 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-04-27 16:00:56 +00:00
|
|
|
"@kosmos/schemas": "^3.1.0",
|
2021-09-26 17:25:57 +00:00
|
|
|
"ethers": "^5.4.7",
|
2022-04-28 17:19:58 +00:00
|
|
|
"ipfs-http-client": "^56.0.3",
|
2022-04-25 14:13:26 +00:00
|
|
|
"multihashes": "^4.0.3",
|
2022-05-19 15:33:32 +00:00
|
|
|
"node-fetch": "^2.6.0",
|
2019-04-10 16:37:02 +00:00
|
|
|
"tv4": "^1.3.0"
|
2018-05-03 11:31:49 +00:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"kosmos",
|
|
|
|
"kredits"
|
|
|
|
]
|
2018-03-15 07:55:17 +00:00
|
|
|
}
|