forked from sverweij/dependency-cruiser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
140 lines (140 loc) · 4.58 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "dependency-cruiser",
"version": "4.3.1",
"description": "Validate and visualize dependencies. With your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.",
"bin": {
"dependency-cruiser": "bin/dependency-cruise",
"dependency-cruise": "bin/dependency-cruise",
"depcruise": "bin/dependency-cruise"
},
"main": "src/main/index.js",
"files": [
"bin/",
"src/",
"!src/**/*.hbs",
"!src/**/*.md",
"types/*.d.ts",
"LICENSE",
"package.json",
"README.md"
],
"scripts": {
"build": "make dev-build",
"build:clean": "make clean",
"check": "npm-run-all build lint depcruise test:cover",
"check:full": "npm-run-all check",
"depcruise": "node ./bin/dependency-cruise --validate .dependency-cruiser-custom.json src bin/dependency-cruise test",
"depcruise:graph": "node ./bin/dependency-cruise --exclude \"(^node_modules|^fs$|^path$)\" --output-type dot --validate .dependency-cruiser-custom.json bin src | dot -T svg > tmp_deps.svg",
"depcruise:graph:doc": "npm-run-all depcruise:graph:doc:generate depcruise:graph:doc:optimize",
"depcruise:graph:doc:generate": "./bin/dependency-cruise --exclude \"(^node_modules|^fs$|^path$)\" --output-type dot --validate .dependency-cruiser-custom.json src bin/dependency-cruise | dot -T png > doc/real-world-samples/dependency-cruiser-without-node_modules.png",
"depcruise:graph:doc:optimize": "optipng doc/real-world-samples/dependency-cruiser-without-node_modules.png",
"lint": "eslint bin/dependency-cruise src test",
"lint:types": "tslint types/dependency-cruiser.d.ts",
"lint:fix": "eslint --fix bin/dependency-cruise src test",
"postversion": "git push && git push --tags",
"preversion": "test `git branch | grep \"^* [a-zA-Z]\" | cut -c 3-` = 'master'",
"test": "mocha test/*/*.spec.js test/*/*/*.spec.js test/*/*/*/*.spec.js",
"test:cover": "nyc --check-coverage npm test",
"test:glob": "set -f && test \"`bin/dependency-cruise test/extract/fixtures/gather-globbing/packages/**/src/**/*.js | grep \"no dependency violations found\"`\" = \"✔ no dependency violations found (6 modules cruised)\"",
"test:watch": "mocha --watch --watch-extensions=json --reporter=min test/*/*.spec.js test/*/*/*.spec.js 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"
},
"keywords": [
"static analysis",
"circular",
"dependencies",
"typescript",
"javascript",
"coffeescript",
"ES6",
"ES2015",
"AMD",
"CommonJS",
"validation"
],
"author": {
"name": "Sander Verweij",
"url": "https://sverweij.github.io"
},
"contributors": [
{
"name": "Klaus Meinhardt",
"url": "https://github.com/ajafff"
}
],
"license": "MIT",
"devDependencies": {
"chai": "4.1.2",
"chai-json-schema": "1.5.0",
"coffeescript": "2.3.1",
"eslint": "5.1.0",
"eslint-plugin-import": "2.13.0",
"eslint-plugin-mocha": "5.1.0",
"eslint-plugin-node": "7.0.1",
"eslint-plugin-security": "1.4.0",
"intercept-stdout": "0.1.2",
"js-makedepend": "3.0.2",
"mocha": "5.2.0",
"normalize-newline": "3.0.0",
"npm-run-all": "4.1.3",
"nyc": "12.0.2",
"symlink-dir": "1.1.3",
"tslint": "5.11.0",
"typescript": "2.9.2",
"upem": "1.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sverweij/dependency-cruiser"
},
"bugs": {
"url": "https://github.com/sverweij/dependency-cruiser/issues"
},
"homepage": "https://github.com/sverweij/dependency-cruiser",
"dependencies": {
"acorn": "5.7.1",
"ajv": "6.5.2",
"chalk": "2.4.1",
"commander": "2.16.0",
"enhanced-resolve": "4.1.0",
"figures": "2.0.0",
"glob": "7.1.2",
"handlebars": "4.0.11",
"lodash": "4.17.10",
"resolve": "1.8.1",
"safe-regex": "1.1.0",
"semver": "5.5.0",
"semver-try-require": "2.0.0"
},
"nyc": {
"statements": 99.8,
"branches": 99.4,
"functions": 100,
"lines": 99.8,
"exclude": [
"test/**/*",
"src/report/**/*.template.js",
"coverage/**/*",
"tmp*",
"docs/**/*"
],
"reporter": [
"text-summary",
"html",
"lcov"
],
"all": true
},
"engines": {
"node": ">=6"
},
"types": "types/dependency-cruiser.d.ts",
"supportedTranspilers": {
"coffee-script": ">=1.0.0 <2.0.0",
"coffeescript": ">=1.0.0 <3.0.0",
"livescript": ">=1.0.0 <2.0.0",
"typescript": ">=2.0.0 <3.0.0"
}
}