Improve prepack script (#1747)
* improve prepack script * remove .npmignore * make prepack use pkg.files * fix linter errors
This commit is contained in:
committed by
GitHub
parent
fa004a7f5d
commit
cc19ccfdb3
@ -5,6 +5,8 @@
|
||||
"files": [
|
||||
"build",
|
||||
"contracts",
|
||||
"!contracts/mocks",
|
||||
"!contracts/examples",
|
||||
"test/behaviors"
|
||||
],
|
||||
"scripts": {
|
||||
@ -18,10 +20,10 @@
|
||||
"lint:js": "eslint .",
|
||||
"lint:js:fix": "eslint . --fix",
|
||||
"lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"",
|
||||
"prepack": "scripts/prepack.sh",
|
||||
"prepack": "node scripts/prepack.js",
|
||||
"release": "scripts/release/release.sh",
|
||||
"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": {
|
||||
"type": "git",
|
||||
@ -54,6 +56,7 @@
|
||||
"ethereumjs-util": "^6.0.0",
|
||||
"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",
|
||||
"micromatch": "^4.0.2",
|
||||
"openzeppelin-docsite": "github:OpenZeppelin/openzeppelin-docsite",
|
||||
"openzeppelin-test-helpers": "^0.3.2",
|
||||
"solhint": "^1.5.0",
|
||||
|
||||
Reference in New Issue
Block a user