-
Notifications
You must be signed in to change notification settings - Fork 213
/
package.json
138 lines (138 loc) · 4.25 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
{
"name": "ami.js",
"version": "0.32.0",
"main": "build/ami.js",
"keywords": [
"ami",
"ami.js",
"three.js",
"webgl",
"dicom",
"nifti",
"awesome",
"medical",
"imaging",
"xtk",
"nrrd",
"vtk",
"stl",
"trk"
],
"author": {
"name": "Nicolas Rannou",
"email": "[email protected]",
"url": "https://eunate.ch"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://fnndsc.github.io/ami"
},
"config": {
"gaKey": "UA-39303022-3",
"babel": "--module-bind js=babel-loader --colors --display-error-details"
},
"lint-staged": {
"{{src/**,examples/**, lessons/**}/,}.{js,jsx,json,css,ts,tsx}": [
"prettier --write",
"git add"
]
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"trailingComma": "es5",
"overrides": [
{
"files": "*.css",
"options": {
"useTabs": false,
"tabWidth": 2
}
}
]
},
"sideEffects": false,
"dependencies": {
"OpenJPEG.js": "joedrago/openjpeg#master",
"dicom-parser": "1.8.1",
"image-JPEG2000": "ReflexionMed/image-JPEG2000#master",
"jpeg-lossless-decoder-js": "1.2.3",
"math-float32-to-binary-string": "^1.0.0",
"nifti-reader-js": "v0.5.3",
"nrrd-js": "^0.2.1",
"pako": "1.0.1",
"three": "latest"
},
"scripts": {
"precommit": "lint-staged",
"tslint-check": "tslint-config-prettier-check ./tslint.json",
"check-codestyle": "prettier-check 'src/**/*.{js,jsx,json,css,ts,tsx}'",
"fix-all-code-style": "prettier --write '{{src/**,examples/**, lessons/**}/,}*.{js,jsx,json,css,ts,tsx}'",
"build:ami": "webpack --config webpack.config.build.js --display-error-details",
"build:ami:prod": "cross-env NODE_ENV=production yarn build:ami",
"build:clean": "rimraf -rf build/*",
"build:clean:hot": "rimraf -rf build/*.hot-update.*",
"dev:ami": "webpack --config webpack.config.build.js --hot --watch --colors",
"dist:ami": "yarn build:clean && yarn build:ami && yarn build:ami:prod && yarn doc",
"dist:examples": "node ./scripts/buildDist.js && node ./scripts/router.js examples deploy",
"dist:clean": "rimraf -rf dist/*",
"analyze:ami": "cross-env NODE_WEBPACK_ANALYZE=true yarn build:ami",
"analyze:ami:prod": "cross-env NODE_WEBPACK_ANALYZE=true yarn build:ami:prod",
"clean": "yarn build:clean && yarn dist:clean",
"example": "node ./scripts/router.js examples",
"gen:index:examples": "node ./scripts/genIndexFiles.js examples",
"gen:index:examples:ga": "cross-env NODE_GA=true node ./scripts/genIndexFiles.js examples",
"test": "karma start",
"testExamples": "yarn dist:clean && yarn dist:examples",
"doc": "jsdoc -p -r -R README.md -c jsdoc.json -d dist/doc src",
"ami": "yarn dist:ami && yarn test",
"deploy": "yarn dist:clean && yarn build:clean && yarn dist:ami && yarn dist:examples && gh-pages -d dist"
},
"devDependencies": {
"@types/jasmine": "^3.3.2",
"@types/node": "^10.11.3",
"@types/three": "^0.93.13",
"babel-cli": "latest",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.0",
"babel-runtime": "^6.26.0",
"compression-webpack-plugin": "^1.0.1",
"cross-env": "^3.2.3",
"gh-pages": "^1.2.0",
"husky": "^1.1.3",
"jasmine-core": "^2.99.1",
"jsdoc": "jsdoc3/jsdoc#master",
"karma": "^2.0.5",
"karma-chrome-launcher": "^2.2.0",
"karma-jasmine": "^1.1.2",
"karma-sinon": "^1.0.5",
"karma-spec-reporter": "^0.0.32",
"karma-webpack": "3.0.0",
"lint-staged": "^8.0.4",
"live-server": "^1.1.0",
"node-pre-gyp": "^0.10.0",
"prettier": "^1.15.1",
"prettier-check": "^2.0.0",
"puppeteer": "^1.6.1",
"rimraf": "^2.6.1",
"rollup-plugin-node-builtins": "^2.1.2",
"shelljs": "^0.8.2",
"sinon": "^2.0.0",
"ts-loader": "^5.2.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-loader": "^3.6.0",
"typescript": "^3.1.1",
"uglifyjs-webpack-plugin": "^1.2.7",
"webpack": "^4.16.3",
"webpack-bundle-analyzer": "^2.9.0",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.5",
"webpack-watch-livereload-plugin": "^0.0.1"
},
"engines": {
"node": ">=6.9.0"
}
}