{
  "name": "nmrium",
  "description": "React component to display and process nuclear magnetic resonance (NMR) spectra.",
  "version": "2.0.0",
  "license": "MIT",
  "type": "module",
  "exports": {
    ".": {
      "nmrium-internal": "./src/component/main/index.ts",
      "default": "./lib/component/main/index.js"
    }
  },
  "files": [
    "lib",
    "src"
  ],
  "scripts": {
    "build": "vite build --outDir build && node --run build-clean",
    "build-clean": "rm build/data/cytisine/2d/HMBC_Cytisin_RI+FT.dx && rm build/data/cytisine/2d/HSQC_Cytisin_RI+FT.dx",
    "build-cloudflare": "node --run set-version-sha && node --run build-with-profiling && node --run copy-samples-toc",
    "build-no-minify": "cross-env NO_MINIFY=true node --run build",
    "build-with-profiling": "cross-env WITH_PROFILING=true NO_MINIFY=true node --run build",
    "check-types": "tsc --noEmit",
    "compile": "tsc --project tsconfig.build.json",
    "copy-samples-toc": "cp src/demo/samples.json build/",
    "clean-lib": "rimraf lib",
    "cspell": "cspell lint \"**/*.tsx\"",
    "dev": "vite --host localhost --port 3000 --open",
    "eslint": "eslint . --cache --max-warnings=150",
    "eslint-fix": "node --run eslint -- --fix",
    "install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm start",
    "knip": "knip",
    "playwright": "playwright test --ui",
    "prepack": "node --run clean-lib && node --run compile",
    "prepublishOnly": "node --run set-version-npm",
    "prettier": "prettier --check src test-e2e",
    "prettier-write": "prettier --write src test-e2e",
    "set-version-npm": "VERSION=$(jq .version package.json | tr -d '\"') && echo \"export default { version: 'v$VERSION' };\" > src/versionInfo.ts",
    "set-version-sha": "SHA=$(git rev-parse HEAD) && echo \"export default { version: 'git-$SHA' };\" > src/versionInfo.ts",
    "start": "node --run dev",
    "stylelint": "stylelint \"**/*.{css,tsx}\"",
    "stylelint-fix": "node --run stylelint -- --fix",
    "test": "node --run test-only && node --run check-types && node --run eslint && node --run prettier && node --run stylelint && node --run knip && node --run build-no-minify && node --run test-e2e",
    "test-only": "vitest run --coverage",
    "test-e2e": "playwright test --project=chromium",
    "test-e2e-server": "serve -l tcp://localhost:3000 build"
  },
  "bugs": {
    "url": "https://github.com/cheminfo/nmrium/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/cheminfo/nmrium.git"
  },
  "peerDependencies": {
    "@blueprintjs/core": "^6.0.0",
    "@blueprintjs/icons": "^6.0.0",
    "@blueprintjs/select": "^6.0.0",
    "react": ">=18.0.0",
    "react-dom": ">=18.0.0"
  },
  "overrides": {
    "nmr-correlation": "2.3.3"
  },
  "dependencies": {
    "@atlaskit/pragmatic-drag-and-drop": "^1.7.9",
    "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
    "@emotion/react": "^11.14.0",
    "@emotion/styled": "^11.14.1",
    "@hookform/resolvers": "^5.2.2",
    "@tanstack/react-form": "^1.28.3",
    "@tanstack/react-table": "^8.21.3",
    "@zakodium/nmr-types": "^0.5.3",
    "@zakodium/nmrium-core": "^0.7.1",
    "@zakodium/nmrium-core-plugins": "^0.7.1",
    "@zakodium/pdnd-esm": "^1.0.2",
    "@zip.js/zip.js": "^2.8.22",
    "cheminfo-font": "^1.20.0",
    "cheminfo-types": "^1.10.0",
    "clipboard-polyfill": "^4.1.1",
    "d3-array": "^3.2.4",
    "d3-scale": "^4.0.2",
    "d3-zoom": "^3.0.0",
    "dlv": "^1.1.3",
    "eventemitter3": "^5.0.4",
    "fifo-logger": "^2.0.1",
    "file-collection": "^6.6.1",
    "file-saver": "^2.0.5",
    "get-jpaths": "^1.4.0",
    "immer": "^11.1.4",
    "lodash": "^4.17.23",
    "mf-parser": "^3.7.0",
    "ml-array-mean": "^1.1.6",
    "ml-array-median": "^1.1.6",
    "ml-conrec": "^5.0.3",
    "ml-gsd": "^13.1.1",
    "ml-signal-processing": "^2.2.0",
    "ml-spectra-processing": "^14.21.0",
    "ml-tree-similarity": "^2.2.0",
    "nmr-correlation": "2.3.3",
    "nmr-processing": "^22.5.2",
    "numeral": "^2.0.6",
    "openchemlib": "^9.20.0",
    "openchemlib-utils": "^8.13.1",
    "papaparse": "^5.5.3",
    "react-d3-utils": "^3.1.2",
    "react-dropzone": "^15.0.0",
    "react-error-boundary": "^6.1.1",
    "react-hook-form": "^7.71.2",
    "react-icons": "^5.6.0",
    "react-inspector": "^9.0.0",
    "react-mf": "^3.1.1",
    "react-ocl": "^8.6.0",
    "react-ocl-nmr": "^4.1.1",
    "react-plot": "^3.1.2",
    "react-rnd": "^10.5.2",
    "react-science": "^19.10.1",
    "react-table": "^7.8.0",
    "smart-array-filter": "^5.0.0",
    "yup": "^1.7.1",
    "zod": "^4.3.6"
  },
  "devDependencies": {
    "@blueprintjs/core": "^6.9.1",
    "@blueprintjs/icons": "^6.6.0",
    "@blueprintjs/select": "^6.1.3",
    "@playwright/test": "=1.57.0",
    "@simbathesailor/use-what-changed": "^2.0.0",
    "@types/d3-array": "^3.2.2",
    "@types/d3-scale": "^4.0.9",
    "@types/d3-zoom": "^3.0.8",
    "@types/dlv": "^1.1.5",
    "@types/file-saver": "^2.0.7",
    "@types/lodash": "^4.17.24",
    "@types/node": "^25.3.3",
    "@types/numeral": "^2.0.5",
    "@types/papaparse": "^5.5.2",
    "@types/react": "^18.3.13",
    "@types/react-dom": "^18.3.1",
    "@types/react-table": "^7.7.20",
    "@vitejs/plugin-react": "^5.1.4",
    "@vitest/coverage-v8": "^4.0.18",
    "@zakodium/tsconfig": "^1.0.2",
    "cross-env": "^10.1.0",
    "cspell": "^9.7.0",
    "eslint": "^9.39.2",
    "eslint-config-cheminfo-react": "^19.1.0",
    "eslint-config-cheminfo-typescript": "^21.1.0",
    "knip": "^5.85.0",
    "modern-normalize": "^3.0.1",
    "postcss": "^8.5.8",
    "postcss-styled-syntax": "^0.7.1",
    "prettier": "^3.8.1",
    "rc-menu": "^9.16.1",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "react-router-dom": "^7.13.1",
    "rimraf": "^6.1.3",
    "rollup-plugin-analyzer": "^4.0.0",
    "serve": "^14.2.6",
    "stylelint": "^17.4.0",
    "stylelint-config-standard": "^40.0.0",
    "typescript": "~5.9.3",
    "vite": "^7.3.1",
    "vitest": "^4.0.18"
  },
  "volta": {
    "node": "24.13.1"
  }
}
