{
  "name": "svelteesp32",
  "version": "3.1.1",
  "description": "Convert Svelte (or any frontend) JS application to serve it from ESP32 webserver (PsychicHttp)",
  "author": "BCsabaEngine",
  "license": "ISC",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./vite": {
      "types": "./dist/vitePlugin.d.ts",
      "require": "./dist/vitePlugin.js",
      "default": "./dist/vitePlugin.js"
    }
  },
  "main": "./dist/index.js",
  "engines": {
    "node": ">=22",
    "npm": ">=10"
  },
  "files": [
    "bin/*.js",
    "dist/**/*.js",
    "dist/**/*.d.ts"
  ],
  "bin": {
    "svelteesp32": "bin/index.js"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/BCsabaEngine/svelteesp32.git"
  },
  "bugs": {
    "url": "https://github.com/BCsabaEngine/svelteesp32/issues"
  },
  "homepage": "https://github.com/BCsabaEngine/svelteesp32",
  "scripts": {
    "dev:async": "nodemon src/index.ts -- -e async -s ./demo/svelte/dist -o ./demo/esp32/include/svelteesp32.h --etag=always --gzip=always --cachetime=86400 --version=v$npm_package_version",
    "dev:psychic": "nodemon src/index.ts -- -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/svelteesp32.h --etag=never --gzip=never --version=v$npm_package_version",
    "dev:webserver": "nodemon src/index.ts -- -e webserver -s ./demo/svelte/dist -o ./demo/esp32/include/svelteesp32.h --etag=always --gzip=always --cachetime=86400 --version=v$npm_package_version",
    "dev:init": "tsx src/cliInit.mts",
    "test": "vitest run",
    "test:watch": "vitest",
    "test:coverage": "vitest run --coverage",
    "test:esp32": "./package.script && ~/.platformio/penv/bin/pio run -d ./demo/esp32",
    "test:esp32idf": "./package.script && ~/.platformio/penv/bin/pio run -d ./demo/esp32idf",
    "test:all": "node --run test:esp32 && node --run test:esp32idf",
    "clean": "tsc --build --clean",
    "build": "tsc --build --clean && tsc --build --force",
    "format:check": "prettier --check .",
    "format:fix": "prettier --write . | grep -v 'unchanged' | sed G",
    "lint:check": "eslint .",
    "lint:fix": "eslint --fix .",
    "fix": "node --run format:fix && node --run lint:fix && node --run format:fix",
    "all": "node --run fix && node --run build && node --run test",
    "npm:reinstall": "rm -rf ./node_modules && rm -f ./package-lock.json && npm i && npm i"
  },
  "keywords": [
    "svelte",
    "svelte5",
    "angular",
    "react",
    "vue",
    "esp32",
    "esp8266",
    "webserver",
    "psychichttpserver",
    "espasyncwebserver"
  ],
  "devDependencies": {
    "@eslint/js": "^10.0.1",
    "@types/node": "^25.7.0",
    "@types/picomatch": "^4.0.3",
    "@typescript-eslint/eslint-plugin": "^8.59.3",
    "@typescript-eslint/parser": "^8.59.3",
    "@vitest/coverage-v8": "^4.1.6",
    "eslint": "^10.3.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-simple-import-sort": "^13.0.0",
    "eslint-plugin-unicorn": "^64.0.0",
    "globals": "^17.6.0",
    "memfs": "^4.57.2",
    "nodemon": "^3.1.14",
    "prettier": "^3.8.3",
    "ts-node": "^10.9.2",
    "tsx": "^4.21.0",
    "typescript": "^6.0.3",
    "vitest": "^4.1.6"
  },
  "peerDependencies": {
    "vite": ">=5"
  },
  "peerDependenciesMeta": {
    "vite": {
      "optional": true
    }
  },
  "dependencies": {
    "tinyglobby": "^0.2.16"
  }
}
