@ohos-ports/cornerstone-core 2.6.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +230 -0
- package/dist/cornerstone-node-bootstrap.js +264 -0
- package/dist/cornerstone.js +9084 -0
- package/dist/cornerstone.js.map +1 -0
- package/dist/cornerstone.min.js +3 -0
- package/dist/cornerstone.min.js.map +1 -0
- package/package.json +68 -0
package/package.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ohos-ports/cornerstone-core",
|
|
3
|
+
"version": "2.6.1-beta.0",
|
|
4
|
+
"description": "HTML5 Medical Image Viewer Component",
|
|
5
|
+
"main": "./dist/cornerstone.js",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"DICOM",
|
|
8
|
+
"medical",
|
|
9
|
+
"imaging"
|
|
10
|
+
],
|
|
11
|
+
"author": "Chris Hafey",
|
|
12
|
+
"homepage": "https://github.com/cornerstonejs/cornerstone",
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"module": "./dist/cornerstone.js",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/ohos-ports/ohos-ports.git",
|
|
18
|
+
"directory": "ports/cornerstone-core/2.6.1"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"docs:api": "npm run clean:docs && documentation build src/index.js -f md -c documentation.yml -o docs/api.md",
|
|
22
|
+
"build": "npm run test && npm run version && npm run webpack",
|
|
23
|
+
"clean": "npm run clean:dist && npm run clean:coverage",
|
|
24
|
+
"clean:dist": "shx rm -rf dist",
|
|
25
|
+
"clean:docs": "shx rm -f docs/api.md",
|
|
26
|
+
"clean:coverage": "shx rm -rf coverage",
|
|
27
|
+
"docs": "npm run docs:api && cd docs && gitbook serve",
|
|
28
|
+
"docs:deploy": "npm run docs:api && bash ./.circleci/update-docs.sh",
|
|
29
|
+
"eslint": "eslint -c .eslintrc.js src",
|
|
30
|
+
"eslint-quiet": "eslint -c .eslintrc.js --quiet src",
|
|
31
|
+
"eslint-fix": "eslint -c .eslintrc.js --fix src",
|
|
32
|
+
"eslint-fix-test": "eslint -c .eslintrc.js --fix test",
|
|
33
|
+
"start": "npm run webpack",
|
|
34
|
+
"start:dev": "webpack-dev-server --config ./config/webpack/webpack-dev",
|
|
35
|
+
"test": "npm run test:chrome",
|
|
36
|
+
"commit": "git-cz",
|
|
37
|
+
"test:all": "npm run test:chrome && npm run test:firefox",
|
|
38
|
+
"test:watch": "karma start config/karma/karma-watch.js",
|
|
39
|
+
"test:chrome": "karma start config/karma/karma-chrome.js",
|
|
40
|
+
"test:firefox": "karma start config/karma/karma-firefox.js",
|
|
41
|
+
"watch": "npm run webpack:watch",
|
|
42
|
+
"webpack": "npm run clean:dist && npm run webpack:prod && npm run webpack:dev",
|
|
43
|
+
"webpack:dev": "webpack --progress --config ./config/webpack/webpack-dev",
|
|
44
|
+
"webpack:prod": "webpack --progress --config ./config/webpack/webpack-prod",
|
|
45
|
+
"webpack:watch": "webpack --progress --debug --watch --config ./config/webpack",
|
|
46
|
+
"version": "node -p -e \"'export default \\'' + require('./package.json').version + '\\';'\" > src/version.js"
|
|
47
|
+
},
|
|
48
|
+
"files": [
|
|
49
|
+
"dist/cornerstone.js",
|
|
50
|
+
"dist/cornerstone.js.map",
|
|
51
|
+
"dist/cornerstone.min.js",
|
|
52
|
+
"dist/cornerstone.min.js.map",
|
|
53
|
+
"dist/cornerstone-node-bootstrap.js"
|
|
54
|
+
],
|
|
55
|
+
"config": {
|
|
56
|
+
"commitizen": {
|
|
57
|
+
"path": "./node_modules/cz-conventional-changelog"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@ohos-ports/gl": "^8.1.6-beta.2",
|
|
62
|
+
"canvas": "npm:@ohos-ports/canvas@^3.2.3-beta.3",
|
|
63
|
+
"jsdom": "^30.0.1"
|
|
64
|
+
},
|
|
65
|
+
"bugs": {
|
|
66
|
+
"url": "https://github.com/ohos-ports/ohos-ports/issues"
|
|
67
|
+
}
|
|
68
|
+
}
|