forked from cornerstonejs/cornerstone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 3.12 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
{
"name": "cornerstone-core",
"version": "2.0.0",
"description": "HTML5 Medical Image Viewer Component",
"main": "./dist/cornerstone.min.js",
"keywords": [
"DICOM",
"medical",
"imaging"
],
"author": "Chris Hafey",
"homepage": "https://github.com/cornerstonejs/cornerstone",
"license": "MIT",
"module": "src/index.js",
"repository": {
"type": "git",
"url": "https://github.com/cornerstonejs/cornerstone.git"
},
"scripts": {
"eslint": "eslint -c .eslintrc.js src",
"eslint-quiet": "eslint -c .eslintrc.js --quiet src",
"eslint-fix": "eslint -c .eslintrc.js --fix src",
"eslint-fix-test": "eslint -c .eslintrc.js --fix test",
"clean": "npm run clean:dist && npm run clean:coverage",
"clean:dist": "shx rm -rf dist",
"clean:docs": "shx rm -f docs/api.md",
"clean:coverage": "shx rm -rf coverage",
"apidocs:generate": "npm run clean:docs && documentation build src/index.js -f md -c documentation.yml -o docs/api.md",
"docs": "npm run apidocs:generate && cd docs && gitbook serve",
"docs:deploy": "npm run apidocs:generate && bash ./build/update-docs.sh",
"version": "node -p -e \"'export default \\'' + require('./package.json').version + '\\';'\" > src/version.js",
"build": "npm run test && npm run version && npm run webpack",
"webpack": "npm run clean:dist && npm run webpack:prod && npm run webpack:dev",
"start": "npm run webpack",
"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",
"watch": "npm run webpack:watch",
"test": "npm run test:phantom",
"test:watch": "karma start config/karma/karma-watch.js",
"test:phantom": "karma start config/karma/karma-phantom.js",
"test:chrome": "karma start config/karma/karma-chrome.js",
"test:firefox": "karma start config/karma/karma-firefox.js",
"test:all": "npm run test:phantom && npm run test:chrome && npm run test:firefox"
},
"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",
"documentation": "^5.3.5",
"eslint": "^4.18.0",
"eslint-loader": "^1.9.0",
"eslint-plugin-import": "^2.8.0",
"gitbook-plugin-edit-link": "^2.0.2",
"gitbook-plugin-github": "^3.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-phantomjs-launcher": "^1.0.4",
"karma-webpack": "^2.0.9",
"lodash": "~4.17.5",
"mocha": "^5.0.1",
"opn-cli": "^3.1.0",
"phantomjs-polyfill-find": "github:ptim/phantomjs-polyfill-find",
"phantomjs-polyfill-find-index": "^1.0.1",
"phantomjs-polyfill-object-assign": "0.0.2",
"phantomjs-prebuilt": "^2.1.16",
"promise-polyfill": "^7.1.0",
"shx": "^0.2.2",
"webpack": "^3.11.0"
}
}