244 lines
7.6 KiB
JSON
244 lines
7.6 KiB
JSON
{
|
|
"name": "@kitware/vtk.js",
|
|
"version": "34.15.0",
|
|
"description": "Visualization Toolkit for the Web",
|
|
"keywords": [
|
|
"3d",
|
|
"visualization",
|
|
"webgl",
|
|
"medical",
|
|
"scientific",
|
|
"vtk",
|
|
"paraview",
|
|
"geometry",
|
|
"point cloud",
|
|
"mesh",
|
|
"gl-vis",
|
|
"volume",
|
|
"graphics",
|
|
"paraviewweb"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Kitware/vtk-js.git"
|
|
},
|
|
"license": "BSD-3-Clause",
|
|
"bugs": {
|
|
"url": "https://github.com/kitware/vtk-js/issues"
|
|
},
|
|
"homepage": "https://github.com/kitware/vtk-js#readme",
|
|
"main": "./index.js",
|
|
"module": "./index.js",
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.28.2",
|
|
"@types/webxr": "^0.5.5",
|
|
"commander": "9.2.0",
|
|
"d3-scale": "4.0.2",
|
|
"fast-deep-equal": "^3.1.3",
|
|
"fflate": "0.7.3",
|
|
"gl-matrix": "3.4.3",
|
|
"globalthis": "1.0.3",
|
|
"seedrandom": "3.0.5",
|
|
"shader-loader": "1.3.1",
|
|
"shelljs": "0.8.5",
|
|
"spark-md5": "3.0.2",
|
|
"stream-browserify": "3.0.0",
|
|
"utif": "3.1.0",
|
|
"webworker-promise": "0.5.0",
|
|
"worker-loader": "3.0.8",
|
|
"xmlbuilder2": "3.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.22.11",
|
|
"@babel/eslint-parser": "7.22.11",
|
|
"@babel/plugin-transform-runtime": "7.22.10",
|
|
"@babel/preset-env": "7.22.10",
|
|
"@commitlint/cli": "19.7.1",
|
|
"@commitlint/config-conventional": "19.7.1",
|
|
"@mapbox/node-pre-gyp": "1.0.9",
|
|
"@rollup/plugin-alias": "3.1.9",
|
|
"@rollup/plugin-babel": "5.3.1",
|
|
"@rollup/plugin-commonjs": "21.1.0",
|
|
"@rollup/plugin-eslint": "8.0.2",
|
|
"@rollup/plugin-json": "4.1.0",
|
|
"@rollup/plugin-node-resolve": "13.1.3",
|
|
"@types/node": "^22.13.1",
|
|
"autoprefixer": "10.4.7",
|
|
"babel-loader": "8.2.5",
|
|
"babel-plugin-istanbul": "6.1.1",
|
|
"buffer": "6.0.3",
|
|
"commitizen": "^4.3.1",
|
|
"concurrently": "7.1.0",
|
|
"copy-webpack-plugin": "10.2.4",
|
|
"cross-env": "7.0.3",
|
|
"css-loader": "6.7.1",
|
|
"dotenv": "16.0.1",
|
|
"dox": "1.0.0",
|
|
"eslint": "8.15.0",
|
|
"eslint-config-airbnb": "19.0.4",
|
|
"eslint-config-prettier": "8.5.0",
|
|
"eslint-import-resolver-webpack": "0.13.2",
|
|
"eslint-plugin-import": "2.26.0",
|
|
"eslint-plugin-jsx-a11y": "6.5.1",
|
|
"eslint-plugin-prettier": "4.0.0",
|
|
"eslint-webpack-plugin": "3.1.1",
|
|
"expose-loader": "3.1.0",
|
|
"glob": "8.0.3",
|
|
"handlebars": "4.7.7",
|
|
"hson-loader": "2.0.0",
|
|
"html-loader": "3.1.0",
|
|
"html-webpack-plugin": "5.5.0",
|
|
"husky": "8.0.1",
|
|
"ignore-loader": "0.1.2",
|
|
"karma": "6.3.20",
|
|
"karma-chrome-launcher": "3.1.1",
|
|
"karma-coverage": "2.2.0",
|
|
"karma-firefox-launcher": "2.1.2",
|
|
"karma-junit-reporter": "2.0.1",
|
|
"karma-webpack": "5.0.0",
|
|
"kw-doc": "3.1.2",
|
|
"lodash": "4.17.21",
|
|
"magic-string": "0.26.2",
|
|
"moment": "2.29.4",
|
|
"patch-package": "6.4.7",
|
|
"pixelmatch": "5.3.0",
|
|
"postcss-loader": "6.2.1",
|
|
"prettier": "2.6.2",
|
|
"process": "0.11.10",
|
|
"regenerator-runtime": "0.13.9",
|
|
"rollup": "2.79.2",
|
|
"rollup-plugin-auto-external": "2.0.0",
|
|
"rollup-plugin-copy": "3.4.0",
|
|
"rollup-plugin-ignore": "1.0.10",
|
|
"rollup-plugin-polyfill-node": "0.9.0",
|
|
"rollup-plugin-postcss": "4.0.2",
|
|
"rollup-plugin-string": "3.0.0",
|
|
"rollup-plugin-svgo": "2.0.0",
|
|
"rollup-plugin-web-worker-loader": "1.6.1",
|
|
"semantic-release": "24.2.0",
|
|
"snabbdom": "^3.5.1",
|
|
"string-replace-loader": "3.1.0",
|
|
"style-loader": "3.3.1",
|
|
"tape": "5.5.3",
|
|
"typescript": "^5.8.3",
|
|
"webpack": "^5.97.1",
|
|
"webpack-bundle-analyzer": "4.5.0",
|
|
"webpack-cli": "^5.1.4",
|
|
"webpack-dashboard": "3.3.7",
|
|
"webpack-dev-server": "^4.9.0",
|
|
"webpack-merge": "5.8.0",
|
|
"webpack-notifier": "1.15.0",
|
|
"wslink": "1.12.4",
|
|
"xml2js": "0.5.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@babel/preset-env": "^7.17.10",
|
|
"autoprefixer": "^10.4.7",
|
|
"wslink": ">=1.1.0 || ^2.0.0"
|
|
},
|
|
"scripts": {
|
|
"validate": "prettier --config ./prettier.config.js --list-different \"Sources/**/*.[tj]s\" \"Examples/**/*.[tj]s\"",
|
|
"reformat": "prettier --config ./prettier.config.js --write \"Sources/**/*.[tj]s\" \"Examples/**/*.[tj]s\"",
|
|
"reformat-only": "prettier --single-quote --trailing-comma es5 --print-width 80 --arrow-parens always --write",
|
|
"lint-fix": "eslint --fix Sources Examples",
|
|
"lint": "eslint Sources Examples",
|
|
"typecheck": "tsc --noEmit",
|
|
"doc": "npm run build:pre && kw-doc -c ./Documentation/config.js",
|
|
"doc:www": "npm t -- --single-run && npm run build:pre && kw-doc -c ./Documentation/config.js -s",
|
|
"doc:minified": "npm run build:pre && kw-doc -c ./Documentation/config.js -m",
|
|
"doc:generate-api": "npm run build:pre && node ./Documentation/generate-api-docs.js",
|
|
"example": "node ./Utilities/ExampleRunner/example-runner-cli.js -c ./Documentation/config.js",
|
|
"example:https": "node ./Utilities/ExampleRunner/example-runner-cli.js --server-type https -c ./Documentation/config.js",
|
|
"example:webgpu": "cross-env WEBGPU=1 NO_WEBGL=1 node ./Utilities/ExampleRunner/example-runner-cli.js --server-type https -c ./Documentation/config.js",
|
|
"build:pre": "patch-package",
|
|
"dev:esm": "npm run build:esm -- -w",
|
|
"dev:umd": "npm run build:pre && webpack --watch --config webpack.dev.js --progress",
|
|
"build": "npm run build:release",
|
|
"build:esm": "npm run build:pre && rollup -c rollup.config.js",
|
|
"build:umd": "npm run build:pre && webpack --config webpack.prod.js --progress",
|
|
"build:release": "npm run lint && npm run build:pre && concurrently \"cross-env NOLINT=1 npm run build:esm\" \"cross-env NOLINT=1 npm run build:umd\"",
|
|
"release:create-packages": "node ./Utilities/ci/build-npm-package.js",
|
|
"test": "karma start ./karma.conf.js",
|
|
"test:headless": "karma start ./karma.conf.js --browsers ChromeHeadlessNoSandbox --single-run",
|
|
"test:debug": "karma start ./karma.conf.js --log-level debug --no-single-run",
|
|
"test:firefox": "karma start ./karma.conf.js --browsers Firefox",
|
|
"test:webgpu": "cross-env WEBGPU=1 NO_WEBGL=1 karma start ./karma.conf.js --browsers ChromeWebGPU --no-single-run",
|
|
"test:firefox-debug": "karma start ./karma.conf.js --browsers Firefox --no-single-run",
|
|
"commit": "git cz",
|
|
"semantic-release": "semantic-release",
|
|
"prepare": "node ./Utilities/prepare.js"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "cz-conventional-changelog"
|
|
}
|
|
},
|
|
"bin": {
|
|
"vtkDataConverter": "./Utilities/DataGenerator/convert-cli.js",
|
|
"xml2json": "./Utilities/XMLConverter/xml2json-cli.js"
|
|
},
|
|
"nyc": {
|
|
"include": [
|
|
"Sources/**/*.js"
|
|
],
|
|
"exclude": [
|
|
"Sources/**/test/*.js"
|
|
]
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
],
|
|
"rules": {
|
|
"subject-case": [
|
|
2,
|
|
"never",
|
|
[
|
|
"start-case",
|
|
"pascal-case",
|
|
"upper-case"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"release": {
|
|
"branches": [
|
|
"+([0-9])?(.{+([0-9]),x}).x",
|
|
"master",
|
|
"next",
|
|
"next-major",
|
|
{
|
|
"name": "beta",
|
|
"prerelease": true
|
|
}
|
|
],
|
|
"plugins": [
|
|
"@semantic-release/commit-analyzer",
|
|
"@semantic-release/release-notes-generator",
|
|
[
|
|
"@semantic-release/npm",
|
|
{
|
|
"pkgRoot": "./dist/umd"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/npm",
|
|
{
|
|
"pkgRoot": "./dist/esm"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/github",
|
|
{
|
|
"successCommentCondition": "<% return branch.name === 'master'; %>"
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"type": "module",
|
|
"types": "./index.d.ts"
|
|
}
|