-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
146 lines (146 loc) Β· 6.19 KB
/
package.json
File metadata and controls
146 lines (146 loc) Β· 6.19 KB
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
141
142
143
144
145
146
{
"name": "@java-patterns/graph-view",
"version": "0.0.0",
"description": "Java Design Patterns graph view",
"private": true,
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": ["dist"],
"keywords": ["graph"],
"homepage": "https://github.com/AlexRogalskiy/java-patterns/tree/master/packages/graph-view",
"bugs": {
"url": "https://github.com/AlexRogalskiy/java-patterns/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AlexRogalskiy/java-patterns.git",
"directory": "packages/graph-view"
},
"funding": "https://github.com/sponsors/AlexRogalskiy",
"license": "GPL-3.0",
"author": {
"name": "Alexander Rogalskiy",
"url": "https://github.com/AlexRogalskiy"
},
"maintainers": [
{
"name": "Alexander Rogalskiy",
"email": "hi@sensiblemetrics.io"
}
],
"contributors": [
{
"name": "Alexander Rogalskiy",
"email": "hi@sensiblemetrics.io"
}
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/",
"tag": "latest"
},
"scripts": {
"deps": "npm install",
"dist": "npm run deps && npm run build",
"prepublishOnly": "npm run build",
"solidarity": "solidarity",
"compress": "tar -zcvf dist.tar.gz dist/*.js",
"size": "bundlesize --config bundlesize.config.json",
"api": "api-extractor run --local --verbose",
"codeclimate": "codeclimate-test-reporter < coverage/lcov.info",
"solidarity:update": "solidarity snapshot cli node",
"clean": "del-cli --dot=true dist coverage*",
"copy:docs": "cp *.md dist/",
"nodelinter": "nodelinter --print",
"generate-changelog": "auto-changelog -u",
"check-env": "node -e 'console.log(process.env)' | grep npm",
"dashboard": "cross-env BASE_DIR=docs && nodejs-dashboard -- node -r nodejs-dashboard dist/index.js",
"reinstall": "del-cli --dot=true ./node_modules ./package-lock.json ./yarn.lock",
"coverage:view": "[ -f coverage/lcov-report/index.html ] && open coverage/lcov-report/index.html",
"analyze": "source-map-explorer 'dist/index.*.*' --json",
"license": "license-check-and-add check -f license-check-config.json",
"license:fix": "license-check-and-add add -f license-check-config.json",
"compodocs": "env-cmd --silent -e dev compodoc -p tsconfig.doc.json -d docs",
"compodocs:serve": "env-cmd --silent -e dev compodoc -p tsconfig.doc.json -d docs -s",
"dev": "cross-env BASE_DIR=$npm_config_base_dir && node dist/index.js",
"dev:local": "npm run build && npm run dev --base_dir=docs",
"build": "env-cmd --silent -e dev tsdx build --verbose --name index --target node --format cjs,esm,umd --tsconfig tsconfig.json",
"watch": "env-cmd --silent -e dev tsdx watch --tsconfig tsconfig.json",
"lint:lockfile": "env-cmd --silent -e dev lockfile-lint --path package-lock.json --type npm --validate-https --allowed-hosts npm yarn",
"lint:report": "env-cmd --silent -e dev tsdx lint src --report-file report.json",
"test:html": "env-cmd --silent -e test jest-html",
"test:ci:coverage": "env-cmd --silent -e ci npm test -- --coverage --ci --testResultsProcessor=\"jest-sonar-reporter\" --watchAll=false",
"test:coverage": "env-cmd --silent -e test jest --forceExit --runInBand --cacheDirectory=.cache/.jest --collectCoverage --detectOpenHandles --coverage && coveralls < ./coverage/lcov.info",
"test:ts-coverage": "typescript-coverage-report",
"test:watch": "env-cmd --silent -e test jest --watch --cacheDirectory=.cache/.jest --notify --notifyMode=change",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "env-cmd --silent -e test jest --verbose --cacheDirectory=.cache/.jest --selectProjects unit --maxWorkers=50% --passWithNoTests --no-cache --detectOpenHandles --testPathIgnorePatterns integration local-integration disconnection",
"test:e2e": "env-cmd --silent -e test jest --verbose --cacheDirectory=.cache/.jest --selectProjects e2e --maxWorkers=50% --passWithNoTests --no-cache --detectOpenHandles --testPathIgnorePatterns integration local-integration disconnection",
"test:integration": "env-cmd --silent -e test jest --runInBand --cacheDirectory=.cache/.jest --testPathIgnorePatterns disconnection --detectOpenHandles --verbose true",
"test:local": "env-cmd --silent -e test jest --runInBand --cacheDirectory=.cache/.jest --verbose --detectOpenHandles local-integration",
"test:reporter": "env-cmd --silent -e test jest --ci --cacheDirectory=.cache/.jest --reporters='default' --reporters='jest/reporters/json-reporter'",
"test:disconnect": "env-cmd --silent -e test jest --runInBand --cacheDirectory=.cache/.jest --verbose --detectOpenHandles disconnection"
},
"jestSonar": {
"reportPath": "reports",
"reportFile": "test-report.xml",
"indent": 4
},
"devDependencies": {
"@compodoc/compodoc": "^1.1.19",
"@jest/test-sequencer": "^27.5.1",
"@testing-library/jest-dom": "^5.16.4",
"@microsoft/api-extractor": "^7.21.0",
"@types/jest": "^27.4.1",
"@types/jest-expect-message": "^1.0.4",
"@types/node": "^20.11.1",
"auto-changelog": "^2.4.0",
"await-sleep": "^0.0.1",
"bundlesize": "^0.18.1",
"codeclimate-test-reporter": "^0.5.1",
"coveralls": "^3.1.1",
"cross-env": "7.0.3",
"d3-array": "^3.0.2",
"d3-axis": "^3.0.0",
"d3-scale": "^4.0.0",
"d3-selection": "^3.0.0",
"d3-time": "^3.0.0",
"d3-time-format": "^4.0.0",
"del-cli": "^4.0.1",
"env-cmd": "^10.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.5.1",
"jest-circus": "^27.5.1",
"jest-environment-node-debug": "^2.0.0",
"jest-expect-message": "^1.0.2",
"jest-extended": "^2.0.0",
"jest-extended-snapshot": "^1.1.5",
"jest-fetch-mock": "^3.0.3",
"jest-html": "^1.5.0",
"jest-junit": "^13.0.0",
"jest-sonar-reporter": "^2.0.0",
"jest-supertest-matchers": "^0.0.2",
"jest-watch-select-projects": "^2.0.0",
"jest-watch-typeahead": "^1.0.0",
"jsdom": "^17.0.0",
"license-check-and-add": "^4.0.3",
"lockfile-lint": "^4.7.4",
"loglevel": "^1.8.0",
"mockdate": "^3.0.5",
"nodejs-dashboard": "^0.5.1",
"nodelinter": "^0.1.19",
"solidarity": "^3.0.4",
"source-map-explorer": "^2.5.2",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"tsdx": "^0.14.1",
"typescript": "^4.6.2",
"typescript-coverage-report": "^0.6.4",
"w3c-xmlserializer": "^2.0.0"
},
"engines": {
"node": ">= 12.x",
"npm": ">= 5.0.0",
"yarn": ">= 3.0.0"
}
}