UNPKG

image-js

Version:

Image processing and manipulation in JavaScript

123 lines (122 loc) 3.83 kB
{ "name": "image-js", "version": "1.6.1", "license": "MIT", "description": "Image processing and manipulation in JavaScript", "author": "Michaël Zasso", "keywords": [], "type": "module", "files": [ "dist", "dist-types", "lib", "src" ], "types": "./lib/index.d.ts", "exports": { ".": "./lib/index.js", "./full": "./lib/index_full.js", "./draw": "./lib/extra/draw/index.js", "./ssim": "./lib/extra/ssim/index.js" }, "scripts": { "allow-scripts": "allow-scripts run", "api-extractor": "rimraf dist-types && api-extractor run --local", "build": "npm run tsc && npm run cheminfo-build", "check-types": "tsc --noEmit", "cheminfo-build": "cheminfo-build --entry lib/index_browser.js --root IJS", "clean": "rimraf coverage dist dist-types lib", "demo": "vite --open", "eslint": "eslint . --cache", "eslint-fix": "eslint . --cache --fix", "prepack": "npm run tsc && npm run cheminfo-build && npm run api-extractor", "prettier": "prettier --check .", "prettier-write": "prettier --write .", "test": "npm run test-only && npm run check-types && npm run eslint && npm run prettier", "test-only": "cross-env JEST_IMAGE_SNAPSHOT_TRACK_OBSOLETE=1 vitest run --coverage", "tsc": "npm run clean && npm run tsc-build", "tsc-build": "tsc --project tsconfig.build.json" }, "dependencies": { "bresenham-zingl": "^0.2.5", "colord": "^2.9.3", "fast-bmp": "^4.0.1", "fast-jpeg": "^3.0.1", "fast-png": "^8.0.0", "image-type": "^4.1.0", "jpeg-js": "^0.4.4", "js-priority-queue": "^0.1.5", "median-quickselect": "^1.0.1", "ml-affine-transform": "^1.0.3", "ml-convolution": "^2.0.0", "ml-matrix": "^6.12.1", "ml-ransac": "^1.0.0", "ml-regression-multivariate-linear": "^2.0.4", "ml-regression-polynomial-2d": "^1.0.0", "ml-spectra-processing": "^14.18.2", "robust-point-in-polygon": "^1.0.3", "ssim.js": "^3.5.0", "tiff": "^7.1.3", "ts-pattern": "^5.9.0", "uint8-base64": "^1.0.0" }, "optionalDependencies": { "skia-canvas": "^3.0.8" }, "overrides": { "yargs": "^18.0.0" }, "lavamoat": { "allowScripts": { "@lavamoat/preinstall-always-fail": false, "vite>esbuild": false, "skia-canvas#3.0.8": true } }, "devDependencies": { "@lavamoat/allow-scripts": "^5.0.2", "@lavamoat/preinstall-always-fail": "^3.0.0", "@microsoft/api-extractor": "^7.55.2", "@tailwindcss/forms": "^0.5.11", "@tailwindcss/vite": "^4.1.18", "@types/jest-image-snapshot": "^6.4.0", "@types/js-priority-queue": "^0.0.9", "@types/node": "^25.0.3", "@types/react": "^19.2.7", "@types/react-dom": "^19.2.3", "@types/robust-point-in-polygon": "^1.0.4", "@types/skia-canvas": "^0.9.28", "@vitejs/plugin-react": "^5.1.2", "@vitest/coverage-v8": "^4.0.16", "@vitest/expect": "^4.0.16", "@zakodium/tsconfig": "^1.0.2", "autoprefixer": "^10.4.23", "cheminfo-build": "^1.3.2", "clsx": "^2.1.1", "cross-env": "^10.1.0", "eslint": "^9.39.2", "eslint-config-cheminfo-react": "^19.0.0", "eslint-config-cheminfo-typescript": "^21.0.1", "immer": "^11.0.1", "jest-image-snapshot": "^6.5.1", "jest-matcher-deep-close-to": "^3.0.2", "postcss": "^8.5.6", "prettier": "^3.7.4", "react": "^19.2.3", "react-dom": "^19.2.3", "react-router-dom": "^7.11.0", "rimraf": "^6.1.2", "tailwindcss": "^4.1.18", "typescript": "~5.9.3", "vite": "^7.3.0", "vitest": "^4.0.16" }, "repository": { "type": "git", "url": "git+https://github.com/image-js/image-js.git" }, "bugs": { "url": "https://github.com/image-js/image-js/issues" }, "homepage": "https://github.com/image-js/image-js#readme" }