{
    "name": "polyscript",
    "version": "0.20.12",
    "description": "PyScript single core to rule them all",
    "main": "./esm/index.js",
    "types": "./types/polyscript/esm/index.d.ts",
    "scripts": {
        "server": "npx static-handler --coi .",
        "build": "export ESLINT_USE_FLAT_CONFIG=false; npm run build:3rd-party && rm -rf dist && mkdir -p esm/python && node rollup/build_python.cjs && npm run rollup:xworker && npm run rollup:core && eslint esm/ && npm run rollup:integrations && npm run build:docs",
        "build:graph": "node rollup/build_pyodide_graph.js",
        "build:3rd-party": "node rollup/3rd-party.cjs",
        "build:docs": "mv docs/coi.js ./; rm -f docs/*.{js,map}; cp dist/* docs/; rm -f docs/_template.js; mv coi.js docs/",
        "dev": "node dev.cjs",
        "rollup:core": "rollup --config rollup/core.config.js",
        "rollup:integrations": "node rollup/build_integrations.cjs",
        "rollup:xworker": "rollup --config rollup/xworker.config.js",
        "test": "npm run test:integration",
        "test:coverage//": "due latest Pyodide changes test coverage with mocks is completely broken!",
        "test:coverage": "c8 --100 node --trace-warnings --experimental-loader @node-loader/import-maps test/index.js",
        "test:html": "npm run test && c8 report -r html",
        "test:integration//": "Don't bother with spinning servers. Trap the tests EXIT_CODE. Kill the running server, if any. Return the EXIT_CODE to eventually throw an error.",
        "test:integration": "static-handler --coi . 2>/dev/null & SH_PID=$!; EXIT_CODE=0; playwright test --fully-parallel test/ || EXIT_CODE=$?; kill $SH_PID 2>/dev/null; exit $EXIT_CODE",
        "coverage": "mkdir -p ./coverage; c8 report --reporter=text-lcov > ./coverage/lcov.info",
        "size": "npm run size:module && npm run size:worker",
        "size:module": "echo module is $(cat dist/index.js | brotli | wc -c) bytes once compressed",
        "size:worker": "echo worker is $(cat esm/worker/xworker.js | brotli | wc -c) bytes once compressed",
        "ts": "rm -rf types && tsc -p .",
        "update:interpreters": "npm run version:pyodide && npm run version:wasmoon && npm run version:webr && npm run version:micropython && npm run version:ruby-wasm-wasi && node rollup/update_versions.cjs && npm run build && npm run test",
        "version:micropython": "npm view @micropython/micropython-webassembly-pyscript version>versions/micropython",
        "version:pyodide": "npm view pyodide version>versions/pyodide",
        "version:ruby-wasm-wasi": "git ls-remote --tags --refs --sort='v:refname' https://github.com/ruby/ruby.wasm.git | grep 'tags/[[:digit:]]\\.' | tail -n1 | sed 's/.*\\///'>versions/ruby-wasm-wasi",
        "version:wasmoon": "npm view wasmoon version>versions/wasmoon",
        "version:webr": "npm view webr version>versions/webr"
    },
    "files": [
        "esm/",
        "dist/",
        "types/",
        "versions/",
        "REDME.md",
        "LICENSE"
    ],
    "keywords": [
        "polyscript",
        "pyscript",
        "core",
        "python"
    ],
    "author": "Anaconda Inc.",
    "license": "APACHE-2.0",
    "devDependencies": {
        "@node-loader/import-maps": "^2.0.0",
        "@playwright/test": "^1.57.0",
        "@rollup/plugin-node-resolve": "^16.0.3",
        "@rollup/plugin-terser": "^0.4.4",
        "@zip.js/zip.js": "^2.8.15",
        "c8": "^10.1.3",
        "chokidar": "^5.0.0",
        "eslint": "^9.39.2",
        "linkedom": "^0.18.12",
        "rollup": "^4.56.0",
        "static-handler": "^0.5.3",
        "typescript": "^5.9.3"
    },
    "type": "module",
    "module": "./dist/index.js",
    "unpkg": "./dist/index.js",
    "jsdelivr": "./jsdelivr.js",
    "browser": "./dist/index.js",
    "exports": {
        ".": {
            "types": "./types/index.d.ts",
            "import": "./esm/index.js"
        },
        "./exports": {
            "types": "./types/exports.d.ts",
            "import": "./esm/exports.js"
        },
        "./xworker": {
            "types": "./types/xworker.d.ts",
            "import": "./esm/xworker.js"
        },
        "./service-worker": {
            "import": "./esm/service-worker.js"
        },
        "./package.json": "./package.json"
    },
    "dependencies": {
        "@webreflection/fetch": "^0.2.0",
        "@webreflection/idb-map": "^0.3.2",
        "@webreflection/utils": "^0.1.1",
        "basic-devtools": "^0.1.6",
        "codedent": "^0.1.2",
        "coincident": "^4.1.1",
        "html-escaper": "^3.0.3",
        "reflected-ffi": "^0.7.0",
        "sticky-module": "^0.1.1",
        "to-json-callback": "^0.1.1"
    },
    "worker": {
        "blob": "sha256-LHTqIXWndhVNsTliZi+xurqDIM2W1he56dcQmAicAQc="
    }
}
