Skip to content

Commit 0e5799c

Browse files
authoredApr 26, 2018
Clean up npm package (#904)
* ignore everything but official contracts for npm * add tests to npm package * remove truffle migrations stuff * remove seemingly unused npm dependency * clean up dependencies
1 parent 90413e7 commit 0e5799c

File tree

7 files changed

+9
-46
lines changed

7 files changed

+9
-46
lines changed
 

‎contracts/.npmignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
mocks
2+
examples

‎contracts/lifecycle/Migrations.sol

-21
This file was deleted.

‎migrations/.gitkeep

Whitespace-only changes.

‎migrations/1_initial_migration.js

-5
This file was deleted.

‎migrations/2_deploy_contracts.js

-9
This file was deleted.

‎package-lock.json

+2-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"name": "zeppelin-solidity",
33
"version": "1.8.0",
44
"description": "Secure Smart Contract library for Solidity",
5+
"files": [
6+
"contracts",
7+
"test"
8+
],
59
"scripts": {
610
"test": "scripts/test.sh",
711
"lint": "eslint .",
@@ -42,6 +46,7 @@
4246
"chai-as-promised": "^7.0.0",
4347
"chai-bignumber": "^2.0.0",
4448
"coveralls": "^2.13.1",
49+
"dotenv": "^4.0.0",
4550
"eslint": "^4.11.0",
4651
"eslint-config-standard": "^10.2.1",
4752
"eslint-plugin-import": "^2.8.0",
@@ -51,13 +56,9 @@
5156
"ethereumjs-util": "^5.1.2",
5257
"ethjs-abi": "^0.2.1",
5358
"ganache-cli": "6.1.0",
54-
"mocha-lcov-reporter": "^1.3.0",
5559
"solidity-coverage": "^0.4.15",
5660
"solium": "^1.1.6",
5761
"truffle": "^4.1.5",
5862
"truffle-hdwallet-provider": "0.0.3"
59-
},
60-
"dependencies": {
61-
"dotenv": "^4.0.0"
6263
}
6364
}

0 commit comments

Comments
 (0)
Please sign in to comment.