Improve prepack script (#1747)
* improve prepack script * remove .npmignore * make prepack use pkg.files * fix linter errors
Showing
contracts/.npmignore
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
| ... | @@ -5,6 +5,8 @@ | ... | @@ -5,6 +5,8 @@ |
| "files": [ | "files": [ | ||
| "build", | "build", | ||
| "contracts", | "contracts", | ||
| "!contracts/mocks", | |||
| "!contracts/examples", | |||
| "test/behaviors" | "test/behaviors" | ||
| ], | ], | ||
| "scripts": { | "scripts": { | ||
| ... | @@ -18,10 +20,10 @@ | ... | @@ -18,10 +20,10 @@ |
| "lint:js": "eslint .", | "lint:js": "eslint .", | ||
| "lint:js:fix": "eslint . --fix", | "lint:js:fix": "eslint . --fix", | ||
| "lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"", | "lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"", | ||
| "prepack": "scripts/prepack.sh", | "prepack": "node scripts/prepack.js", | ||
| "release": "scripts/release/release.sh", | "release": "scripts/release/release.sh", | ||
| "version": "scripts/release/update-changelog-release-date.js && scripts/release/update-ethpm-version.js", | "version": "scripts/release/update-changelog-release-date.js && scripts/release/update-ethpm-version.js", | ||
| "test": "npm run compile && scripts/test.sh" | "test": "scripts/test.sh" | ||
| }, | }, | ||
| "repository": { | "repository": { | ||
| "type": "git", | "type": "git", | ||
| ... | @@ -54,6 +56,7 @@ | ... | @@ -54,6 +56,7 @@ |
| "ethereumjs-util": "^6.0.0", | "ethereumjs-util": "^6.0.0", | ||
| "ganache-cli": "^6.4.1", | "ganache-cli": "^6.4.1", | ||
| "ganache-cli-coverage": "https://github.com/frangio/ganache-cli/releases/download/v6.4.1-coverage/ganache-cli-coverage-6.4.1.tgz", | "ganache-cli-coverage": "https://github.com/frangio/ganache-cli/releases/download/v6.4.1-coverage/ganache-cli-coverage-6.4.1.tgz", | ||
| "micromatch": "^4.0.2", | |||
| "openzeppelin-docsite": "github:OpenZeppelin/openzeppelin-docsite", | "openzeppelin-docsite": "github:OpenZeppelin/openzeppelin-docsite", | ||
| "openzeppelin-test-helpers": "^0.3.2", | "openzeppelin-test-helpers": "^0.3.2", | ||
| "solhint": "^1.5.0", | "solhint": "^1.5.0", | ||
| ... | ... |
scripts/prepack.js
0 → 100644
scripts/prepack.sh
deleted
100755 → 0
Please
register
or
sign in
to comment