{
  "name": "nmrium",
  "description": "React component to display and process nuclear magnetic resonance (NMR) spectra.",
  "version": "3.1.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": "rimraf build/data/cytisine/2d/HMBC_Cytisin_RI+FT.dx && rimraf 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=57",
    "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 .",
    "prettier-write": "prettier --write .",
    "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": "^19.3.0",
    "react-dom": "^19.3.0"
  },
  "dependencies": {
    "@emotion/react": "^11.14.0",
    "@emotion/styled": "^11.14.1",
    "@hookform/resolvers": "^5.9.1",
    "@tanstack/react-form": "^1.33.5",
    "@tanstack/react-store": "^0.11.2",
    "@tanstack/react-table": "^9.2.6",
    "@zakodium/nmr-types": "^0.5.32",
    "@zakodium/nmrium-core": "^0.7.76",
    "@zakodium/nmrium-core-plugins": "^0.7.107",
    "@zakodium/pdnd-esm": "^1.2.0",
    "@zakodium/utils": "^0.5.1",
    "@zip.js/zip.js": "^2.23.0",
    "cheminfo-font": "^1.28.0",
    "cheminfo-types": "^1.16.0",
    "clipboard-polyfill": "^4.1.1",
    "colord": "^2.10.0",
    "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.7.0",
    "file-saver": "^2.0.5",
    "get-jpaths": "^1.4.1",
    "immer": "^11.1.21",
    "lodash": "^4.18.1",
    "mf-parser": "^3.9.3",
    "ml-array-mean": "^2.0.0",
    "ml-array-median": "^2.0.0",
    "ml-conrec": "^6.0.0",
    "ml-gsd": "^14.3.0",
    "ml-peak-shape-generator": "^5.6.0",
    "ml-signal-processing": "^2.2.2",
    "ml-spectra-processing": "^14.35.1",
    "ml-tree-similarity": "^2.2.0",
    "nmr-processing": "^22.25.0",
    "numeral": "^2.0.6",
    "openchemlib": "^9.25.1",
    "openchemlib-utils": "^8.18.0",
    "papaparse": "^5.7.0",
    "react-d3-utils": "^3.1.2",
    "react-dropzone": "^20.1.2",
    "react-error-boundary": "^6.1.6",
    "react-hook-form": "^7.89.0",
    "react-icons": "^5.7.0",
    "react-inspector": "^9.0.0",
    "react-mf": "^3.1.1",
    "react-ocl": "^8.7.2",
    "react-ocl-nmr": "^4.1.1",
    "react-plot": "^3.1.2",
    "react-rnd": "^10.5.3",
    "react-science": "^24.0.1",
    "smart-array-filter": "^5.0.0",
    "ts-pattern": "^5.9.0",
    "usehooks-ts": "^3.1.1",
    "yup": "^1.7.1",
    "zod": "^4.6.5"
  },
  "devDependencies": {
    "@blueprintjs/core": "^6.21.0",
    "@blueprintjs/icons": "^6.14.1",
    "@blueprintjs/select": "^6.4.0",
    "@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.9",
    "@types/dlv": "^1.1.5",
    "@types/file-saver": "^2.0.7",
    "@types/lodash": "^4.17.25",
    "@types/node": "^26.6.4",
    "@types/numeral": "^2.0.5",
    "@types/papaparse": "^5.5.2",
    "@types/react": "^19.3.0",
    "@types/react-dom": "^19.3.0",
    "@vitejs/plugin-react": "^6.1.2",
    "@vitest/coverage-v8": "^5.0.3",
    "@zakodium/tsconfig": "^1.0.5",
    "cross-env": "^10.1.0",
    "cspell": "^10.3.6",
    "eslint": "^10.12.0",
    "eslint-config-cheminfo-react": "^21.0.2",
    "eslint-config-cheminfo-typescript": "^23.0.0",
    "knip": "^6.39.0",
    "modern-normalize": "^3.0.1",
    "postcss": "^8.5.29",
    "postcss-styled-syntax": "^0.7.3",
    "prettier": "^3.9.9",
    "rc-menu": "^9.16.1",
    "react": "^19.3.0",
    "react-dom": "^19.3.0",
    "react-router-dom": "^7.18.4",
    "rimraf": "^6.1.3",
    "serve": "^14.2.6",
    "stylelint": "^17.16.0",
    "stylelint-config-standard": "^40.0.0",
    "typescript": "~6.0.3",
    "vite": "^8.3.2",
    "vitest": "^5.0.3"
  },
  "volta": {
    "node": "24.21.0"
  }
}
