Add @openzeppelin/contracts as alternative package name (#1840)
* Rename package and repository name from docs and scripts * undo root package rename * add @openzeppelin/contracts as subpackage with release automation * synchronize @openzeppelin/contracts version * remove private field from package.json * make file patterns absolute * change wording of a comment * use a saner version script
Showing
contracts/package.json
0 → 100644
| ... | ... | @@ -3,11 +3,11 @@ |
| "version": "2.3.0", | ||
| "description": "Secure Smart Contract library for Solidity", | ||
| "files": [ | ||
| "build", | ||
| "contracts", | ||
| "!contracts/mocks", | ||
| "!contracts/examples", | ||
| "test/behaviors" | ||
| "/contracts/**/*.sol", | ||
| "/build/contracts/*.json", | ||
| "!/contracts/mocks", | ||
| "!/contracts/examples", | ||
| "/test/behaviors" | ||
| ], | ||
| "scripts": { | ||
| "compile": "scripts/compile.sh", | ||
| ... | ... | @@ -22,12 +22,12 @@ |
| "lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"", | ||
| "prepare": "node scripts/prepare.js", | ||
| "release": "scripts/release/release.sh", | ||
| "version": "scripts/release/update-changelog-release-date.js && scripts/release/update-ethpm-version.js", | ||
| "version": "scripts/release/version.sh", | ||
| "test": "scripts/test.sh" | ||
| }, | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/OpenZeppelin/zeppelin-solidity.git" | ||
| "url": "https://github.com/OpenZeppelin/openzeppelin-contracts.git" | ||
| }, | ||
| "keywords": [ | ||
| "solidity", | ||
| ... | ... | @@ -40,9 +40,9 @@ |
| "author": "OpenZeppelin Community <maintainers@openzeppelin.org>", | ||
| "license": "MIT", | ||
| "bugs": { | ||
| "url": "https://github.com/OpenZeppelin/zeppelin-solidity/issues" | ||
| "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/issues" | ||
| }, | ||
| "homepage": "https://github.com/OpenZeppelin/zeppelin-solidity", | ||
| "homepage": "https://github.com/OpenZeppelin/openzeppelin-contracts", | ||
| "devDependencies": { | ||
| "chai": "^4.2.0", | ||
| "concurrently": "^4.1.0", | ||
| ... | ... |
scripts/prepare-contracts-package.sh
0 → 100644
scripts/release/synchronize-versions.js
0 → 100755
scripts/release/version.sh
0 → 100755
Please
register
or
sign in
to comment