-
Notifications
You must be signed in to change notification settings - Fork 49
/
package.json
76 lines (76 loc) · 2.8 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
{
"name": "cornerstone-math",
"version": "0.1.10",
"description": "Math and computation geometry functionality for cornerstone",
"main": "./dist/cornerstoneMath.min.js",
"keywords": [
"DICOM",
"medical",
"imaging",
"cornerstone",
"math",
"computation geometry"
],
"author": "Chris Hafey",
"homepage": "https://github.com/cornerstonejs/cornerstoneMath",
"license": "MIT",
"module": "./dist/cornerstoneMath.min.js",
"repository": {
"type": "git",
"url": "https://github.com/cornerstonejs/cornerstoneMath.git"
},
"scripts": {
"build": "npm run test && npm run version && npm run webpack && npm run doc:generate",
"clean": "npm run clean:dist && npm run clean:coverage",
"clean:dist": "shx rm -rf dist",
"clean:docs": "shx rm -rf documentation",
"clean:coverage": "shx rm -rf coverage",
"doc": "npm run doc:generate && opn documentation/index.html",
"doc:generate": "npm run clean:docs && jsdoc -c .jsdocrc",
"eslint": "eslint -c .eslintrc.js src",
"eslint-quiet": "eslint -c .eslintrc.js --quiet src",
"eslint-fix": "eslint -c .eslintrc.js --fix src",
"prepublishOnly": "yarn run build",
"fs-extra": "^5.0.0",
"test": "npm run test:chrome",
"test:watch": "karma start config/karma/karma-watch.js",
"test:chrome": "karma start config/karma/karma-chrome.js",
"test:firefox": "karma start config/karma/karma-firefox.js",
"test:all": "npm run test:chrome && npm run test:firefox",
"version": "node -p -e \"'export default \\'' + require('./package.json').version + '\\';'\" > src/version.js",
"start": "npm run webpack",
"start:dev": "webpack-dev-server --config ./config/webpack/webpack-dev",
"watch": "npm run webpack:watch",
"webpack": "npm run clean:dist && npm run webpack:prod && npm run webpack:dev",
"webpack:dev": "webpack --progress --config ./config/webpack/webpack-dev",
"webpack:prod": "webpack --progress --config ./config/webpack/webpack-prod",
"webpack:watch": "webpack --progress --debug --watch --config ./config/webpack"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.1",
"chai": "^4.1.2",
"coveralls": "^3.0.0",
"docdash": "^0.4.0",
"eslint": "^4.17.0",
"eslint-loader": "^2.0.0",
"istanbul": "^0.4.5",
"istanbul-instrumenter-loader": "^3.0.0",
"jsdoc": "^3.5.5",
"karma": "^2.0.0",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.1",
"karma-firefox-launcher": "^1.1.0",
"karma-mocha": "^1.3.0",
"karma-webpack": "^3.0.0",
"mocha": "^5.0.1",
"opn-cli": "^3.1.0",
"puppeteer": "^1.2.0",
"shx": "^0.2.2",
"uglifyjs-webpack-plugin": "^1.2.4",
"webpack": "^4.4.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.1.4"
}
}