thi-ng/umbrella

View on GitHub
packages/wasm-api-schedule/package.json

Summary

Maintainability
Test Coverage
{
    "name": "@thi.ng/wasm-api-schedule",
    "version": "0.3.89",
    "description": "Delayed & scheduled function execution (via setTimeout() etc.) for hybrid WASM apps",
    "type": "module",
    "module": "./index.js",
    "typings": "./index.d.ts",
    "sideEffects": false,
    "repository": {
        "type": "git",
        "url": "https://github.com/thi-ng/umbrella.git"
    },
    "homepage": "https://thi.ng/wasm-api-schedule",
    "funding": [
        {
            "type": "github",
            "url": "https://github.com/sponsors/postspectacular"
        },
        {
            "type": "patreon",
            "url": "https://patreon.com/thing_umbrella"
        }
    ],
    "author": "Karsten Schmidt (https://thi.ng)",
    "license": "Apache-2.0",
    "scripts": {
        "build": "yarn build:esbuild && yarn build:decl",
        "build:decl": "tsc --declaration --emitDeclarationOnly",
        "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
        "build:types": "npx wasm-api-bindgen -a analytics.json --lang ts -o src/generated/api.ts --lang zig -o zig/api.zig src/typedefs.json",
        "clean": "bun ../../tools/src/clean-package.ts",
        "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
        "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
        "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
        "pub": "yarn npm publish --access public",
        "test": "bun test",
        "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
    },
    "dependencies": {
        "@thi.ng/api": "^8.11.2",
        "@thi.ng/wasm-api": "^1.5.4"
    },
    "devDependencies": {
        "@microsoft/api-extractor": "^7.45.0",
        "@thi.ng/wasm-api-bindgen": "^0.5.4",
        "esbuild": "^0.21.4",
        "typedoc": "^0.25.13",
        "typescript": "^5.4.5"
    },
    "keywords": [
        "browser",
        "codegen",
        "delay",
        "interop",
        "interval",
        "node",
        "scheduler",
        "time",
        "timeout",
        "typescript",
        "wasm",
        "webassembly",
        "zig",
        "ziglang"
    ],
    "publishConfig": {
        "access": "public"
    },
    "browser": {
        "process": false,
        "setTimeout": false
    },
    "engines": {
        "node": ">=18"
    },
    "files": [
        "./*.js",
        "./*.d.ts",
        "zig",
        "generated"
    ],
    "exports": {
        ".": {
            "default": "./index.js"
        },
        "./api": {
            "default": "./api.js"
        },
        "./schedule": {
            "default": "./schedule.js"
        }
    },
    "thi.ng": {
        "parent": "@thi.ng/wasm-api",
        "status": "alpha",
        "year": 2022
    }
}