chore: remove redundant npm script for dependency-graph (#6583)

Remove the redundant rule for dependency graph as the `src/index.ts` is not required. This was introduced in 64c9c709, but the filestructure has changed from since then and it doesn't work as `src/index.ts` is replaced with `src/node.ts` and `src/web.ts` as per the use case.
This commit is contained in:
Yash Ladha 2020-11-04 21:38:07 +05:30 committed by GitHub
parent 8c98315f40
commit 8690a77a2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 3 deletions

1
.gitignore vendored
View File

@ -16,6 +16,5 @@ yarn.lock
/lib /lib
test/coverage.json test/coverage.json
temp/ temp/
dependency-chart.png
puppeteer-core-*.tgz puppeteer-core-*.tgz
new-docs/ new-docs/

View File

@ -33,7 +33,6 @@
"apply-next-version": "node utils/apply_next_version.js", "apply-next-version": "node utils/apply_next_version.js",
"test-install": "scripts/test-install.sh", "test-install": "scripts/test-install.sh",
"generate-docs": "npm run tsc && api-extractor run --local --verbose && api-documenter markdown -i temp -o new-docs", "generate-docs": "npm run tsc && api-extractor run --local --verbose && api-documenter markdown -i temp -o new-docs",
"generate-dependency-graph": "echo 'Requires graphviz installed locally!' && depcruise --exclude 'api.ts' --do-not-follow '^node_modules' --output-type dot src/index.ts | dot -T png > dependency-chart.png",
"ensure-correct-devtools-protocol-revision": "ts-node -s scripts/ensure-correct-devtools-protocol-package", "ensure-correct-devtools-protocol-revision": "ts-node -s scripts/ensure-correct-devtools-protocol-package",
"release": "standard-version" "release": "standard-version"
}, },
@ -79,7 +78,6 @@
"@web/test-runner": "^0.9.2", "@web/test-runner": "^0.9.2",
"commonmark": "^0.28.1", "commonmark": "^0.28.1",
"cross-env": "^7.0.2", "cross-env": "^7.0.2",
"dependency-cruiser": "^9.7.0",
"eslint": "^7.10.0", "eslint": "^7.10.0",
"eslint-config-prettier": "^6.12.0", "eslint-config-prettier": "^6.12.0",
"eslint-plugin-import": "^2.22.0", "eslint-plugin-import": "^2.22.0",