{
    "name": "@grame/faustwasm",
    "version": "0.16.5",
    "description": "WebAssembly version of Faust Compiler",
    "main": "dist/cjs/index.js",
    "types": "dist/esm/index.d.ts",
    "module": "dist/esm/index.js",
    "type": "module",
    "scripts": {
        "build": "npm run build-cjs && npm run build-cjs-bundle && npm run build-esm && npm run build-esm-bundle && node postbuild-bundled.js & npm run build-types & npm run build-types-bundle",
        "build-cjs": "esbuild src/index.ts --target=es2019 --bundle --sourcemap --outdir=dist/cjs --format=iife --external:fs --external:url",
        "build-cjs-bundle": "node prebuild-bundled.js && esbuild src/index-bundle-iife.ts --target=es2019 --bundle --sourcemap --loader:.wasm=binary --loader:.data=binary --outfile=dist/cjs-bundle/index.js --format=iife --external:fs --external:url --external:path --external:ws && node postbuild-bundled.js",
        "build-esm": "esbuild src/index.ts --target=es2019 --bundle --sourcemap --outdir=dist/esm --format=esm --external:fs --external:url",
        "build-esm-bundle": "node prebuild-bundled.js && esbuild src/index-bundle.ts --target=es2019 --bundle --sourcemap --loader:.wasm=binary --loader:.data=binary --outfile=dist/esm-bundle/index.js --format=esm --external:fs --external:url --external:path --external:ws && node postbuild-bundled.js",
        "build-types": "dts-bundle-generator -o dist/cjs/index.d.ts src/index.ts --external-imports",
        "build-types-bundle": "dts-bundle-generator -o dist/cjs-bundle/index.d.ts src/index-bundle.ts --external-imports",
        "format": "prettier --write src",
        "lint": " prettier --check src && eslint src",
        "postbuild": "node postbuild.js"
    },
    "repository": {
        "type": "git",
        "url": "git+https://github.com/grame-cncm/faustwasm.git"
    },
    "keywords": [
        "faust",
        "webassembly",
        "audio",
        "signal processing"
    ],
    "bin": {
        "faust2sndfile-ts": "scripts/faust2sndfile.js",
        "faust2svg-ts": "scripts/faust2svg.js",
        "faust2wasm-ts": "scripts/faust2wasm.js"
    },
    "author": "Grame-CNCM",
    "license": "LGPL-3.0",
    "bugs": {
        "url": "https://github.com/grame-cncm/faustwasm/issues"
    },
    "homepage": "https://github.com/grame-cncm/faustwasm#readme",
    "devDependencies": {
        "@aws-crypto/sha256-js": "^5.2.0",
        "@eslint/js": "^9.39.1",
        "@shren/faust-ui": "^1.1.16",
        "@types/node": "^20.12.7",
        "@webaudiomodules/api": "^2.0.0-alpha.6",
        "@webaudiomodules/sdk-parammgr": "^0.0.13",
        "dts-bundle-generator": "^9.5.1",
        "esbuild": "^0.28.1",
        "eslint": "^9.39.1",
        "prettier": "^3.6.2",
        "typescript": "^5.4.5",
        "typescript-eslint": "8.46.3"
    },
    "dependencies": {
        "@types/emscripten": "^1.39.10"
    },
    "allowScripts": {
        "esbuild@0.28.1": true
    }
}
