-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
executable file
·134 lines (134 loc) · 3.93 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
{
"name": "cornerstone-tools",
"version": "4.0.1",
"description": "Medical imaging tools for the Cornerstone library",
"main": "./src/index.js",
"keywords": [
"DICOM",
"medical",
"imaging",
"cornerstone"
],
"author": "https://github.com/cornerstonejs/cornerstoneTools#contributors",
"homepage": "https://github.com/cornerstonejs/cornerstoneTools",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/cornerstonejs/cornerstoneTools.git"
},
"engines": {
"node": ">=8.16.0"
},
"scripts": {
"build": "npm run test && npm run clean:dist && npm run version && npm run build:prod && npm run build:dev",
"build:dev": "webpack --progress --config ./config/webpack/webpack-dev",
"build:prod": "webpack --config ./config/webpack/webpack-prod",
"commit": "git-cz",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"clean:dist": "shx rm -rf ./dist",
"clean:coverage": "shx rm -rf ./coverage",
"dev": "npm run build:dev -- --watch --debug",
"docs:api": "docma --config ./docma.json",
"docs:api:dev": "docma --config ./docma-dev.json && docma serve ./docs/latest/api",
"docs:api:watch": "nodemon --watch src/**/* -x \"npm run docs:api:dev\"",
"docs:book": "npm run docs:api && cd ./docs/latest && gitbook install && gitbook serve",
"docs:deploy": "bash ./.circleci/update-docs.sh",
"lint": "eslint -c .eslintrc.js --fix src && prettier --single-quote --write src/**/*.{js,json,css}",
"prepublishOnly": "npm run build",
"start": "npm run build:prod && npm run build:dev",
"test": "npm run test:unit",
"test:unit": "jest --clearCache && jest --runInBand \\.test\\.js$",
"test:ci": "npm run test:unit && codecov",
"version": "node -p -e \"'export default \\'' + require('./package.json').version + '\\';'\" > src/version.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,json,css}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@babel/core": "^7.5.0",
"@babel/plugin-transform-runtime": "^7.5.0",
"@babel/preset-env": "^7.5.0",
"all-contributors-cli": "5.11.0",
"babel-jest": "^25.1.0",
"babel-loader": "^8.0.4",
"canvas": "2.6.1",
"commitizen": "^4.0.3",
"coveralls": "3.0.2",
"cz-conventional-changelog": "2.1.0",
"docma": "3.2.2",
"eslint": "4.19.1",
"eslint-config-prettier": "3.3.0",
"eslint-loader": "2.0.0",
"eslint-plugin-import": "2.12.0",
"eslint-plugin-prettier": "3.0.0",
"gitbook-plugin-edit-link": "2.0.2",
"gitbook-plugin-ga": "2.0.0",
"gitbook-plugin-github": "3.0.0",
"gitbook-plugin-sitemap": "1.2.0",
"husky": "3.0.x",
"jest": "^25.1.0",
"jest-junit": "5.1.0",
"lint-staged": "^9.2.5",
"lodash": "^4.17.15",
"nodemon": "^2.0.2",
"prettier": "1.18.x",
"semantic-release": "^15.13.24",
"shx": "^0.3.2",
"terser-webpack-plugin": "^1.4.1",
"webpack": "^4.35.2",
"webpack-cli": "^3.3.5",
"webpack-dev-server": "^3.7.2"
},
"dependencies": {
"@babel/runtime": "7.1.2",
"cornerstone-math": "0.1.7"
},
"files": [
"dist/cornerstoneTools.js",
"dist/cornerstoneTools.js.map",
"dist/cornerstoneTools.min.js",
"dist/cornerstoneTools.min.js.map"
],
"jest": {
"verbose": true,
"moduleFileExtensions": [
"js"
],
"moduleDirectories": [
"node_modules"
],
"reporters": [
"default",
"jest-junit"
],
"collectCoverage": true,
"coverageDirectory": "./coverage/",
"collectCoverageFrom": [
"src/*.js",
"src/**/*.js",
"!src/index.js"
],
"testEnvironment": "jsdom"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"browserslist": [
"> 1%",
"IE 11",
"not dead",
"not IE < 11",
"not op_mini all"
]
}