forked from PantelisGeorgiadis/dcmjs-imaging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 3.27 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
{
"name": "dcmjs-imaging",
"version": "0.1.26",
"description": "DICOM image and overlay rendering for Node.js and browser using dcmjs",
"main": "build/dcmjs-imaging.min.js",
"module": "build/dcmjs-imaging.min.js",
"types": "index.d.ts",
"scripts": {
"build": "npm run version && npm run lint && npm run test && npm run coverage && npm run webpack",
"clean": "npm run clean:build && npm run clean:coverage && npm run clean:docs",
"clean:build": "shx rm -rf build",
"clean:coverage": "shx rm -rf coverage",
"clean:docs": "shx rm -rf documentation",
"coverage": "c8 --check-coverage --lines 80 --functions 80 --branches 80 --statements 80 --clean --reporter=text --reporter=html --include=src/*.js --exclude=src/index.js --exclude=src/version.js --exclude=src/log.js mocha test/**/*.test.js",
"doc": "npm run doc:generate && open-cli documentation/index.html",
"doc:generate": "npm run clean:docs && jsdoc -c .jsdocrc.json",
"format:cpp": "clang-format -i --glob=wasm/src/*.{h,cpp}",
"lint": "eslint -c .eslintrc.json --fix src && prettier --tab-width 2 --single-quote true --print-width 100 --use-tabs false --trailing-comma es5 --write src/**/*.js test/**/*.js examples/**/*.{js,ts,html} *.ts",
"start": "npm run webpack",
"start:examples:node:js": "node examples/index.js",
"start:examples:node:ts": "ts-node examples/index.ts",
"start:examples:web": "webpack serve --port 8080 --open --no-client-overlay-warnings --no-client-overlay-errors",
"test": "npm run test:types && npm run test:node && npm run test:browser",
"test:browser": "karma start karma.config.js",
"test:node": "mocha test/**/*.test.js",
"test:types": "tsd",
"version": "node -p -e \"'module.exports = \\'' + require('./package.json').version + '\\';'\" > src/version.js",
"webpack": "webpack --progress --config webpack.config.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/PantelisGeorgiadis/dcmjs-imaging.git"
},
"keywords": [
"DICOM",
"medical imaging",
"dcmjs"
],
"author": "Pantelis Georgiadis",
"license": "MIT",
"bugs": {
"url": "https://github.com/PantelisGeorgiadis/dcmjs-imaging/issues"
},
"funding": "https://github.com/PantelisGeorgiadis/dcmjs-imaging?sponsor=1",
"homepage": "https://github.com/PantelisGeorgiadis/dcmjs-imaging",
"dependencies": {
"dcmjs": "^0.34.1",
"loglevel": "^1.9.2",
"loglevel-plugin-prefix": "^0.8.4"
},
"devDependencies": {
"@types/bmp-js": "^0.1.2",
"bmp-js": "^0.1.0",
"browserify": "^17.0.1",
"c8": "^9.1.0",
"chai": "^4.3.10",
"clang-format": "^1.8.0",
"copy-webpack-plugin": "^12.0.2",
"docdash": "^2.0.2",
"eslint": "^8.57.0",
"jsdoc": "^4.0.3",
"karma": "^6.4.4",
"karma-browserify": "^8.1.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-sinon": "^1.0.5",
"mocha": "^10.7.3",
"open-cli": "^7.2.0",
"pako": "^2.1.0",
"prettier": "^3.3.3",
"shx": "^0.3.4",
"sinon": "^17.0.1",
"terser-webpack-plugin": "^5.3.9",
"ts-node": "^10.9.2",
"tsd": "^0.31.2",
"typescript": "^5.6.3",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.2"
}
}