Fix documentation previews in pull requests (#2015)
* migrate to openzeppelin-docs-preview script * update netlify configuration * update docs-preview-script dependency * remove old docs directory from gitignore * update oz-docs script for live reload * update oz-docs scripts to latest * replace child_process.execFileSync with spawnSync * update oz-docs-preview
Showing
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
| ... | @@ -12,7 +12,8 @@ | ... | @@ -12,7 +12,8 @@ |
| "scripts": { | "scripts": { | ||
| "compile": "scripts/compile.sh", | "compile": "scripts/compile.sh", | ||
| "coverage": "scripts/coverage.sh", | "coverage": "scripts/coverage.sh", | ||
| "docs": "scripts/docs.sh", | "docs": "oz-docs -c docs", | ||
| "docs:watch": "npm run docs watch contracts 'docs/*.hbs'", | |||
| "prepare-docs": "scripts/prepare-docs.sh", | "prepare-docs": "scripts/prepare-docs.sh", | ||
| "lint": "npm run lint:js && npm run lint:sol", | "lint": "npm run lint:js && npm run lint:sol", | ||
| "lint:fix": "npm run lint:js:fix", | "lint:fix": "npm run lint:js:fix", | ||
| ... | @@ -49,7 +50,6 @@ | ... | @@ -49,7 +50,6 @@ |
| "@openzeppelin/test-environment": "^0.1.1", | "@openzeppelin/test-environment": "^0.1.1", | ||
| "@openzeppelin/test-helpers": "^0.5.4", | "@openzeppelin/test-helpers": "^0.5.4", | ||
| "chai": "^4.2.0", | "chai": "^4.2.0", | ||
| "concurrently": "^5.0.0", | |||
| "eslint": "^6.5.1", | "eslint": "^6.5.1", | ||
| "eslint-config-standard": "^14.1.0", | "eslint-config-standard": "^14.1.0", | ||
| "eslint-plugin-import": "^2.18.2", | "eslint-plugin-import": "^2.18.2", | ||
| ... | @@ -59,11 +59,10 @@ | ... | @@ -59,11 +59,10 @@ |
| "eslint-plugin-standard": "^4.0.1", | "eslint-plugin-standard": "^4.0.1", | ||
| "ethereumjs-util": "^6.2.0", | "ethereumjs-util": "^6.2.0", | ||
| "ganache-core-coverage": "https://github.com/OpenZeppelin/ganache-core-coverage/releases/download/2.5.3-coverage/ganache-core-coverage-2.5.3.tgz", | "ganache-core-coverage": "https://github.com/OpenZeppelin/ganache-core-coverage/releases/download/2.5.3-coverage/ganache-core-coverage-2.5.3.tgz", | ||
| "http-server": "^0.11.1", | |||
| "lodash.startcase": "^4.4.0", | "lodash.startcase": "^4.4.0", | ||
| "micromatch": "^4.0.2", | "micromatch": "^4.0.2", | ||
| "mocha": "^6.2.2", | "mocha": "^6.2.2", | ||
| "nodemon": "^2.0.1", | "openzeppelin-docs-preview": "github:OpenZeppelin/docs-preview-script", | ||
| "solhint": "2.3.0", | "solhint": "2.3.0", | ||
| "solidity-coverage": "github:rotcivegaf/solidity-coverage#5875f5b7bc74d447f3312c9c0e9fc7814b482477", | "solidity-coverage": "github:rotcivegaf/solidity-coverage#5875f5b7bc74d447f3312c9c0e9fc7814b482477", | ||
| "solidity-docgen": "^0.3.13" | "solidity-docgen": "^0.3.13" | ||
| ... | ... |
scripts/docs.sh
deleted
100755 → 0
Please
register
or
sign in
to comment