{"name":"dependency-cruiser","version":"11.15.0-beta-2","description":"Validate and visualize dependencies. With your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.","keywords":["static analysis","circular","dependencies","typescript","javascript","coffeescript","ES6","ES2015","AMD","CommonJS","validation","spelunking"],"author":{"name":"Sander Verweij","url":"https://sverweij.github.io"},"contributors":[{"name":"Klaus Meinhardt","url":"https://github.com/ajafff"}],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/sverweij/dependency-cruiser.git"},"bugs":{"url":"https://github.com/sverweij/dependency-cruiser/issues"},"homepage":"https://github.com/sverweij/dependency-cruiser","bin":{"dependency-cruiser":"bin/dependency-cruise.js","dependency-cruise":"bin/dependency-cruise.js","depcruise":"bin/dependency-cruise.js","depcruise-baseline":"bin/depcruise-baseline.js","depcruise-fmt":"bin/depcruise-fmt.js","depcruise-wrap-stream-in-html":"bin/wrap-stream-in-html.js"},"main":"src/main/index.js","exports":{".":"./src/main/index.js","./config-utl/extract-babel-config":"./src/config-utl/extract-babel-config.js","./config-utl/extract-depcruise-config":"./src/config-utl/extract-depcruise-config/index.js","./config-utl/extract-ts-config":"./src/config-utl/extract-ts-config.js","./config-utl/extract-webpack-resolve-config":"./src/config-utl/extract-webpack-resolve-config.js","./sample-reporter-plugin":"./configs/plugins/stats-reporter-plugin.js","./sample-3d-reporter-plugin":"./configs/plugins/3d-reporter-plugin.js","./mermaid-reporter-plugin":"./configs/plugins/mermaid-reporter-plugin.js"},"types":"types/dependency-cruiser.d.ts","scripts":{"build":"make build","build:clean":"make clean","check":"npm-run-all build lint depcruise test:cover","check:full":"npm-run-all check test:glob test:yarn-pnp","depcruise":"node ./bin/dependency-cruise.js src bin test configs types tools --config --ignore-known","depcruise:all":"node ./bin/dependency-cruise.js src bin test configs types tools --config","depcruise:baseline":"node ./bin/depcruise-baseline.js src bin test configs types tools","depcruise:explain":"node ./bin/dependency-cruise.js src bin test configs types tools --output-type err-long --config --progress none","depcruise:graph:doc":"npm-run-all depcruise:graph:doc:json --parallel depcruise:graph:doc:fmt-* depcruise:graph:doc:samples","depcruise:graph:doc:json":"node ./bin/dependency-cruise.js bin src test --config --output-type json --output-to tmp_graph_deps.json --progress","depcruise:graph:doc:fmt-detail":"./bin/depcruise-fmt.js -T dot -f - tmp_graph_deps.json | dot -T svg | tee doc/real-world-samples/dependency-cruiser-without-node_modules.svg | node bin/wrap-stream-in-html.js > docs/dependency-cruiser-dependency-graph.html","depcruise:graph:doc:fmt-archi":"./bin/depcruise-fmt.js -T archi -f - tmp_graph_deps.json | dot -T svg -Gordering=in -Grankdir=TD | tee doc/real-world-samples/dependency-cruiser-archi-graph.svg | node bin/wrap-stream-in-html.js > docs/dependency-cruiser-archi-graph.html","depcruise:graph:doc:fmt-dir":"./bin/depcruise-fmt.js -T ddot -f - tmp_graph_deps.json | dot -T svg -Grankdir=TD | tee doc/real-world-samples/dependency-cruiser-dir-graph.svg | node bin/wrap-stream-in-html.js > docs/dependency-cruiser-dir-graph.html","depcruise:graph:doc:fmt-schema":"cd tools/schema && node ../../bin/dependency-cruise.js . --config --output-type dot | dot -T svg | tee ../overview.svg | node ../../bin/wrap-stream-in-html.js > ../../docs/schema-overview.html && cd -","depcruise:graph:doc:fmt-types":"cd types && node ../bin/dependency-cruise.js . --ts-pre-compilation-deps --config --output-type dot | dot -T svg > overview.svg && cd -","depcruise:graph:doc:samples":"sh tools/generate-samples.sh","depcruise:graph:dot":"node ./bin/dependency-cruise.js bin src --config --output-type dot | dot -T svg > tmp_deps.svg","depcruise:graph:fdp":"node ./bin/dependency-cruise.js bin src --config --output-type dot | fdp -GK=0.1 -Gsplines=true -T svg > tmp_deps.svg","depcruise:graph:osage":"node ./bin/dependency-cruise.js bin src --config --output-type dot | osage -Gpack=32 -GpackMode=array2 -T svg > tmp_deps.svg","depcruise:graph:view":"node ./bin/dependency-cruise.js bin src --prefix vscode://file/$(pwd)/ --config configs/.dependency-cruiser-show-metrics-config.json --output-type dot --progress cli-feedback | dot -T svg | node ./bin/wrap-stream-in-html.js | browser","depcruise:graph:view:diff":"node ./bin/dependency-cruise.js bin src --prefix vscode://file/$(pwd)/ --config configs/.dependency-cruiser-show-metrics-config.json --output-type dot --progress cli-feedback --focus \"$(watskeburt develop)\" | dot -T svg | node ./bin/wrap-stream-in-html.js | browser","depcruise:report":"node ./bin/dependency-cruise.js src bin test configs types --output-type err-html --config configs/.dependency-cruiser-show-metrics-config.json --output-to dependency-violations.html","depcruise:report:view":"node ./bin/dependency-cruise.js src bin test configs types --output-type err-html --config configs/.dependency-cruiser-show-metrics-config.json --output-to - | browser","depcruise:focus":"node ./bin/dependency-cruise.js src bin test configs types tools --progress --config configs/.dependency-cruiser-show-metrics-config.json --output-type text --focus","depcruise:reaches":"node ./bin/dependency-cruise.js src bin test configs types tools --progress --config configs/.dependency-cruiser-show-metrics-config.json --output-type text --reaches","lint":"npm-run-all --parallel --aggregate-output lint:eslint lint:prettier lint:types","lint:eslint":"eslint bin/dependency-cruise.js src test configs tools/**/*.mjs --cache --cache-location node_modules/.cache/eslint/","lint:eslint:fix":"eslint --fix bin src test configs  tools/**/*.mjs --cache --cache-location node_modules/.cache/eslint/","lint:fix":"npm-run-all lint:eslint:fix lint:prettier:fix lint:types:fix","lint:prettier":"prettier --loglevel warn --check \"src/**/*.js\" \"configs/**/*.js\" \"tools/**/*.mjs\" \"bin/*\" \"types/*.d.ts\" \"test/**/*.spec.{cjs,js}\" \"test/**/*.{spec,utl}.mjs\"","lint:prettier:fix":"prettier --loglevel warn --write \"src/**/*.js\" \"configs/**/*.js\" \"tools/**/*.mjs\" \"bin/*\" \"types/*.d.ts\" \"test/**/*.spec.{cjs,js}\" \"test/**/*.{spec,utl}.mjs\"","lint:types":"npm-run-all lint:types:tsc lint:types:lint","lint:types:tsc":"tsc --project types/tsconfig.json","lint:types:lint":"eslint --no-ignore --config types/.eslintrc.json types/*.d.ts","lint:types:fix":"eslint --no-ignore --config types/.eslintrc.json --fix types/*.d.ts","scm:push":"run-p --aggregate-output scm:push:*","scm:push:bitbucket-mirror":"run-p --aggregate-output scm:push:bitbucket-mirror:*","scm:push:bitbucket-mirror:commits":"git push bitbucket-mirror","scm:push:bitbucket-mirror:tags":"git push --tags bitbucket-mirror","scm:push:github":"run-p --aggregate-output scm:push:github:*","scm:push:github:commits":"git push","scm:push:github:tags":"git push --tags","scm:push:gitlab-mirror":"run-p --aggregate-output scm:push:gitlab-mirror:*","scm:push:gitlab-mirror:commits":"git push gitlab-mirror","scm:push:gitlab-mirror:tags":"git push --tags gitlab-mirror","scm:stage":"git add .","test":"mocha --timeout 4000 \"test/**/*.spec.{js,mjs,cjs}\"","test:i":"mocha --timeout 4000 \"test/**/*.spec.{js,mjs,cjs}\" -g \"^\\[[I]\\]\"","test:u":"mocha --timeout 4000 \"test/**/*.spec.{js,mjs,cjs}\" --grep \"^\\[[U]\\]\"","test:e":"mocha --timeout 4000 \"test/**/*.spec.{js,mjs,cjs}\" --grep \"^\\[[E]\\]\"","test:cover":"c8 --check-coverage --statements 99.9 --branches 99.7 --functions 100 --lines 99.9 --exclude \"{bin,configs/*.js,configs/rules,configs/plugins/3d-*.js,configs/plugins/stats-*.js,doc,docs,coverage,test,tools,webpack.conf.js,tmp*,src/**/*.template.js,src/cli/tools/svg-in-html-snippets/script.snippet.js,src/cli/init-config/get-user-input.js,src/cli/listeners/*/index.js}\" --reporter text-summary --reporter html --reporter json-summary npm test","test:glob":"set -f && test \"`bin/dependency-cruise.js test/extract/__mocks__/gather-globbing/packages/**/src/**/*.js | grep \"no dependency violations found\"`\" = \"✔ no dependency violations found (6 modules, 0 dependencies cruised)\"","test:yarn-pnp":"npm-run-all test:yarn-pnp:cleanup test:yarn-pnp:pack test:yarn-pnp:copy test:yarn-pnp:install test:yarn-pnp:version test:yarn-pnp:run test:yarn-pnp:test test:yarn-pnp:cleanup","test:yarn-pnp:pack":"npm pack","test:yarn-pnp:copy":"shx cp -r test/integration/yarn-pnp.template test/integration/yarn-pnp.testing-ground","test:yarn-pnp:install":"cd test/integration/yarn-pnp.testing-ground && yarn && yarn add -D ../../../dependency-cruiser*.tgz","test:yarn-pnp:version":"cd test/integration/yarn-pnp.testing-ground && yarn dependency-cruise:version","test:yarn-pnp:run":"cd test/integration/yarn-pnp.testing-ground && yarn dependency-cruise:json","test:yarn-pnp:test":"cd test/integration/yarn-pnp.testing-ground && yarn test","test:yarn-pnp:cleanup":"shx rm -rf test/integration/yarn-pnp.testing-ground dependency-cruiser*.tgz","test:load":"hyperfine --warmup 3 --runs 30 \"bin/dependency-cruise.js --ignore-known --validate -- src bin test configs types tools\"","test:load:short":"hyperfine --warmup 1 --runs 5 \"bin/dependency-cruise.js --ignore-known --validate -- src bin test configs types tools\"","test:watch":"mocha --watch --watch-extensions=json --reporter=min test/\\*\\*/\\*.spec.js","update-dependencies":"npm-run-all upem:update upem:install build:clean build lint:fix depcruise test:cover","upem:install":"npm install","upem:update":"npm outdated --json | upem","version":"npm-run-all build depcruise:graph:doc scm:stage"},"dependencies":{"acorn":"8.8.0","acorn-jsx":"5.3.2","acorn-jsx-walk":"2.0.0","acorn-loose":"8.3.0","acorn-walk":"8.2.0","ajv":"8.11.0","chalk":"^4.1.2","commander":"9.4.0","enhanced-resolve":"5.10.0","figures":"^3.2.0","get-stream":"^6.0.1","glob":"7.2.0","handlebars":"4.7.7","indent-string":"^4.0.0","interpret":"^2.2.0","json5":"2.2.1","lodash":"4.17.21","prompts":"2.4.2","rechoir":"^0.8.0","safe-regex":"2.1.1","semver":"^7.3.7","semver-try-require":"^5.0.2","teamcity-service-messages":"0.1.14","tsconfig-paths-webpack-plugin":"4.0.0","watskeburt":"0.6.0","wrap-ansi":"^7.0.0"},"devDependencies":{"@babel/core":"7.18.9","@babel/plugin-transform-modules-commonjs":"7.18.6","@babel/preset-typescript":"7.18.6","@swc/core":"1.2.220","@types/lodash":"4.14.182","@types/node":"18.6.2","@types/prompts":"2.0.14","@typescript-eslint/eslint-plugin":"5.31.0","@typescript-eslint/parser":"5.31.0","@vue/compiler-sfc":"3.2.37","c8":"7.12.0","chai":"4.3.6","chai-json-schema":"1.5.1","coffeescript":"2.7.0","eslint":"^8.20.0","eslint-config-moving-meadow":"3.0.0","eslint-config-prettier":"8.5.0","eslint-plugin-budapestian":"4.0.0","eslint-plugin-import":"2.26.0","eslint-plugin-mocha":"10.1.0","eslint-plugin-node":"11.1.0","eslint-plugin-security":"1.5.0","eslint-plugin-unicorn":"^43.0.1","husky":"^4.3.8","intercept-stdout":"0.1.2","lint-staged":"12.3.4","mocha":"10.0.0","normalize-newline":"^3.0.0","npm-run-all":"4.1.5","prettier":"2.7.1","proxyquire":"2.1.3","shx":"0.3.4","svelte":"3.49.0","symlink-dir":"5.0.1","typescript":"4.7.4","upem":"^7.0.0","vue-template-compiler":"2.7.8","yarn":"1.22.19"},"upem":{"policies":[{"package":"chalk","policy":"wanted","because":"version 5 only exports ejs - and we use cjs and don't transpile"},{"package":"figures","policy":"wanted","because":"version 4 only exports ejs - and we use cjs and don't transpile"},{"package":"glob","policy":"pin","because":"from version 7.2.1 behavior on windows changes - in a potentially breaking fashion. Wait with upgrading until we're majoring or from when there's a vuln in 7.2.0"},{"package":"husky","policy":"wanted","because":"https://github.com/typicode/husky/issues/822"},{"package":"indent-string","policy":"wanted","because":"version 5 only exports ejs - and we use cjs and don't transpile"},{"package":"interpret","policy":"wanted","because":"we want to keep interpret ~similar to what webpack-cli is using (which is ^2.2.0)"},{"package":"lint-staged","policy":"pin","because":"12.3.5 fails with SyntaxError: Unexpected token o in JSON at position 1"},{"package":"normalize-newline","policy":"wanted","because":"version 4 only exports ejs - and we use cjs and don't transpile (this only used in unit tests - but one of'em is a cjs one ...)"},{"package":"rechoir","policy":"wanted","because":"we want to keep rechoir ~similar to what webpack-cli is using (which is ^0.7.0, but ^0.8.0 is similar enough and more recent anyway)"},{"package":"wrap-ansi","policy":"wanted","because":"version 8 only exports ejs - and we use cjs and don't transpile"}]},"eslintIgnore":[".pnp.cjs",".yarn","node_modules","coverage","tmp","src/**/*.schema.js","src/**/*.template.js","src/cli/tools/svg-in-html-snippets/script.snippet.js","test/integration/**","test/*/__fixtures__/**","test/*/*/__fixtures__/**","test/*/*/*/__fixtures__/**","test/*/__mocks__/**","test/*/*/__mocks__/**","types/**"],"engines":{"node":"^12.20||^14||>=16"},"supportedTranspilers":{"babel":">=7.0.0 <8.0.0","coffee-script":">=1.0.0 <2.0.0","coffeescript":">=1.0.0 <3.0.0","livescript":">=1.0.0 <2.0.0","svelte":">=3.0.0 <4.0.0","swc":">=1.0.0 <2.0.0","typescript":">=2.0.0 <5.0.0","vue-template-compiler":">=2.0.0 <3.0.0","@vue/compiler-sfc":">=3.0.0 <4.0.0"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"{src,config}/**/*.js":["eslint --fix"],"{tools,src,config}/**/*.{mjs,js,json}":["prettier --write"],"bin/*":["eslint --fix","prettier --write"],"test/**/*.{utl,spec}.{mjs,cjs}":["eslint --fix","prettier --write"],"types/**/*.d.ts":["eslint --config types/.eslintrc.json --fix","prettier --write"]},"readmeFilename":"README.md","gitHead":"a0ead1ecce584200bd22f2cb54445a84b3c321dd","_id":"dependency-cruiser@11.15.0-beta-2","_nodeVersion":"18.4.0","_npmVersion":"8.12.1","dist":{"shasum":"8b3f3f448047db0fcf843bbb9018726c663f1b32","size":137525,"noattachment":false,"key":"/dependency-cruiser/-/dependency-cruiser-11.15.0-beta-2.tgz","tarball":"http://registry.cnpm.dingdandao.com/dependency-cruiser/download/dependency-cruiser-11.15.0-beta-2.tgz"},"_npmUser":{"name":"sverweij","email":"sander_verweij@yahoo.com"},"directories":{},"maintainers":[{"name":"foureightone","email":""},{"name":"sverweij","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dependency-cruiser_11.15.0-beta-2_1660329780294_0.757810016558286"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-12T18:43:15.990Z","publish_time":1660329780530,"_cnpm_publish_time":1660329780530,"dist-tags":{"beta":"13.0.0-beta-7","latest":"13.0.2","version-10":"10.9.0"}}