Browse Source

fix stoppablebid, add package.json

Manuel Araoz 9 years ago
parent
commit
99c8ac9a28
3 changed files with 34 additions and 2 deletions
  1. 2 2
      contracts/examples/StoppableBid.sol
  2. 29 0
      package.json
  3. 3 0
      scripts/install.sh

+ 2 - 2
contracts/examples/StoppableBid.sol

@@ -1,5 +1,5 @@
-import './PullPaymentCapable.sol';
-import './Stoppable.sol';
+import '../PullPaymentCapable.sol';
+import '../Stoppable.sol';
 
 contract StoppableBid is Stoppable, PullPaymentCapable {
   address public highestBidder;

+ 29 - 0
package.json

@@ -0,0 +1,29 @@
+{
+  "name": "zeppelin-solidity",
+  "version": "0.0.4",
+  "description": "Secure Smart Contract library for Solidity",
+  "main": "truffle.js",
+  "devDependencies": {},
+  "scripts": {
+    "test": "echo \"Error: no test specified\" && exit 1",
+    "install": "scripts/install.sh"
+  },
+  "repository": {
+    "type": "git",
+    "url": "https://github.com/OpenZeppelin/zeppelin-solidity.git"
+  },
+  "keywords": [
+    "solidity",
+    "ethereum",
+    "smart",
+    "contracts",
+    "security",
+    "zeppelin"
+  ],
+  "author": "Manuel Araoz <manuelaraoz@gmail.com>",
+  "license": "MIT",
+  "bugs": {
+    "url": "https://github.com/OpenZeppelin/zeppelin-solidity/issues"
+  },
+  "homepage": "https://github.com/OpenZeppelin/zeppelin-solidity"
+}

+ 3 - 0
scripts/install.sh

@@ -0,0 +1,3 @@
+#! /bin/bash
+
+mkdir -p ../../contracts/zeppelin && cp -r contracts/* "$_"