From 14e44cfecbce6194aaeec3a43963a09031b44572 Mon Sep 17 00:00:00 2001 From: Ahmed Ali Date: Mon, 11 May 2020 12:42:45 +0200 Subject: [PATCH 1/2] fix package.json --- package-lock.json | 4 ++-- package.json | 22 +++++++++++++++++----- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index cdd17b6b8..52b821752 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { - "name": "contracts", - "version": "1.0.0", + "name": "@oceanprotocol/contracts", + "version": "0.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2fb6deeef..61f5f939c 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,12 @@ { - "name": "contracts", - "version": "1.0.0", - "description": "## Architecture", - "main": "truffle-config.js", + "name": "@oceanprotocol/contracts", + "version": "0.0.1", + "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" @@ -17,7 +21,15 @@ "lint:eslint": "eslint --ignore-pattern '/coverage/' .", "lint": "npm run lint:eslint && npm run lint:ethlint" }, - "author": "", + "files": [ + "doc/**/*", + "README.md" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/oceanprotocol/contracts.git" + }, + "author": "Ocean Protocol", "license": "ISC", "devDependencies": { "openzeppelin-solidity": "^2.5.0", From 45ab4cf5660cb0c05efdcf6ae42e768aa80cd66c Mon Sep 17 00:00:00 2001 From: Ahmed Ali Date: Mon, 11 May 2020 12:43:20 +0200 Subject: [PATCH 2/2] add the proper license type --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 61f5f939c..72c507430 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "url": "git+https://github.com/oceanprotocol/contracts.git" }, "author": "Ocean Protocol", - "license": "ISC", + "license": "Apache-2.0", "devDependencies": { "openzeppelin-solidity": "^2.5.0", "solidity-coverage": "0.6.1",