From 1c9c8ac896fdf8d24058b5eb6f80572be7030d6b Mon Sep 17 00:00:00 2001 From: Patrick Gallagher Date: Wed, 22 Apr 2020 13:27:30 -0400 Subject: [PATCH] Feature: Add support for importing contracts package (#54) * start tracking built contracts * Remove git tracking build folder --- packages/contracts/.gitignore | 2 +- packages/contracts/package.json | 4 ++++ packages/utils/.gitignore | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/contracts/.gitignore b/packages/contracts/.gitignore index ef6fee8..7c07b18 100644 --- a/packages/contracts/.gitignore +++ b/packages/contracts/.gitignore @@ -1,9 +1,9 @@ /data /node_modules -/build /coverage.json /coverage /.env /data *.ignore.* yarn.lock +/build diff --git a/packages/contracts/package.json b/packages/contracts/package.json index 05e0aae..a1f88b2 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -5,6 +5,10 @@ "repository": "https://github.com/rtoken-project/rtoken-monorepo", "homepage": "https://rdai.money/", "license": "MIT", + "files": [ + "/contracts/**/*.sol", + "/build/contracts/*.json" + ], "dependencies": { "@openzeppelin/contracts": "2.4.0", "contracts": "^0.4.0" diff --git a/packages/utils/.gitignore b/packages/utils/.gitignore index bf7a0a7..390574d 100644 --- a/packages/utils/.gitignore +++ b/packages/utils/.gitignore @@ -6,3 +6,4 @@ package-lock.json *.swp .env .env.* +dist/