{
  "name": "idml",
  "version": "0.0.7",
  "type": "module",
  "main": "./dist/cjs/main.js",
  "module": "./dist/esm/main.js",
  "types": "./dist/esm/main.d.ts",
  "exports": {
    ".": {
      "require": "./dist/cjs/main.js",
      "import": "./dist/esm/main.js"
    }
  },
  "files": [
    "dist/cjs",
    "dist/esm"
  ],
  "directories": {
    "test": "test"
  },
  "scripts": {
    "inject-idml-plain": "echo \"export const IDML_PLAIN = '$(base64 -i src/assets/IDML_PLAIN.idml)';\" > src/assets/IDML_PLAIN.ts",
    "build": "npm run build:esm && npm run build:cjs",
    "build:esm": "tsc --module ESNext --outDir dist/esm",
    "build:cjs": "tsc --module CommonJS --outDir dist/cjs",
    "watch": "npm-watch",
    "idml:test": "(cd test && zip -r ../test.idml .)"
  },
  "watch": {
    "build": {
      "patterns": [
        "src/**/*.ts"
      ],
      "extensions": [
        "ts"
      ],
      "ignore": [
        "node_modules",
        "src/assets/IDML_PLAIN.ts"
      ]
    }
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ElyaConrad/idml.git"
  },
  "bugs": {
    "url": "https://github.com/ElyaConrad/idml/issues"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "description": "",
  "devDependencies": {
    "@types/color": "^4.2.0",
    "@types/fontkit": "^2.0.7",
    "@types/fs-extra": "^11.0.4",
    "@types/jsdom": "^21.1.7",
    "@types/lodash": "^4.17.12",
    "@types/node": "^22.7.9",
    "@types/opentype.js": "^1.3.8",
    "@types/svg-arc-to-cubic-bezier": "^3.2.3",
    "npm-watch": "^0.13.0",
    "ts-node": "^10.9.2",
    "typescript": "^5.6.3"
  },
  "dependencies": {
    "@js-bits/dom-parser": "^1.0.3",
    "client-zip": "^2.4.5",
    "color": "^4.2.3",
    "css-expression": "^0.0.8",
    "flat-svg": "^0.0.7",
    "fontkit": "^2.0.4",
    "image-type": "^5.2.0",
    "inline-style-parser": "^0.2.4",
    "opentype.js": "^1.3.4",
    "paper-jsdom": "^0.12.18",
    "prettify-xml": "^1.2.0",
    "sharp": "^0.33.5",
    "svg-arc-to-cubic-bezier": "^3.2.0",
    "svg-path-commander": "^2.1.5",
    "unzipit": "^1.4.3",
    "uuid": "^11.0.3"
  }
}
