mirror of
https://github.com/hanzoai/quickjs-emscripten.git
synced 2026-10-30 19:37:29 +00:00
* Migrate from Yarn to pnpm - Replace Yarn 4.0.2 with pnpm 10.29.3 as the package manager - Add pnpm-workspace.yaml and .npmrc configuration - Update all scripts to use pnpm commands - Rename getYarnWorkspaces() to getWorkspaces() in scripts/helpers.ts - Update CI workflow to use pnpm/action-setup@v4 with Node 22 - Add @jitl/tsconfig as root devDependency for proper resolution - Add variant packages as devDependencies for test resolution - Fix TypeScript 5.9 compatibility in memory.ts (Int32Array<ArrayBuffer>) - Upgrade typedoc to 0.28.17 for TypeScript 5.9 support - Upgrade typedoc-plugin-markdown to 4.10.0 - Regenerate documentation with new typedoc version * Clarify git commit --amend rule in CLAUDE.md * CI: Add --ignore-scripts to pnpm install Equivalent to yarn's YARN_ENABLE_SCRIPTS=0 - prevents prepare scripts from running during install, which would fail on a fresh checkout. * Fix pnpm tarball naming in smoketest scripts pnpm pack generates tarball names like jitl-quickjs-ffi-types-0.32.0.tgz (without @ prefix, with version) instead of @jitl-quickjs-ffi-types.tgz * Update examples to TypeScript 5.9 for compatibility The library now requires TypeScript 5.9+ due to stricter typed array generics (Int32Array<ArrayBuffer>). Update all TypeScript-using examples. * Use --legacy-peer-deps for create-react-app smoketest react-scripts@5 only supports TypeScript 3.x/4.x, but our library now requires TypeScript 5.9+ for typed array generics. Use --legacy-peer-deps to work around the peer dependency conflict. * Fix formatting issues * Fix remaining formatting issues * Add reminder to run prettier and lint before pushing * Document CI workflow in CLAUDE.md * Add typedoc.json and remark plugins for in-page table of contents - Add typedoc-plugin-remark, remark-toc, and remark-insert-headings - Configure remark plugins to generate "Contents" section for Class, Interface, Enum, TypeAlias, and Function pages - This restores the in-page TOC that lists methods/properties that was removed in typedoc-plugin-markdown 4.3.0 * Use custom remark plugin for headless TOC in docs Replace remark-insert-headings + remark-toc with a custom plugin that inserts the table of contents directly after the class description, without a separate "Contents" heading. * Revert to standard remark plugins for TOC with Contents heading Use remark-insert-headings + remark-toc instead of custom plugin. Remove mdast-util-toc dependency and custom remark-toc-headless.mjs. * Fix lockfile - remove mdast-util-toc * Ignore pnpm-lock.yaml in prettier, update .yarn to .pnpm --------- Co-authored-by: Hanzo Dev <[email protected]>
1236 lines
49 KiB
JSON
1236 lines
49 KiB
JSON
{
|
|
"packages/variant-quickjs-wasmfile-debug-sync": {
|
|
"basename": "quickjs-wasmfile-debug-sync",
|
|
"targetName": "wasmfile",
|
|
"dir": "packages/variant-quickjs-wasmfile-debug-sync",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-wasmfile-debug-sync",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.ts",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"browser": "./dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.ts",
|
|
"import": "./dist/ffi.mjs",
|
|
"require": "./dist/ffi.js",
|
|
"default": "./dist/ffi.js"
|
|
},
|
|
"./wasm": "./dist/emscripten-module.wasm",
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.browser.d.ts",
|
|
"iife": "./dist/emscripten-module.cjs",
|
|
"workerd": "./dist/emscripten-module.cloudflare.cjs",
|
|
"browser": "./dist/emscripten-module.browser.mjs",
|
|
"import": "./dist/emscripten-module.mjs",
|
|
"require": "./dist/emscripten-module.cjs",
|
|
"default": "./dist/emscripten-module.cjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs",
|
|
"releaseMode": "debug",
|
|
"syncMode": "sync",
|
|
"description": "Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.",
|
|
"emscriptenInclusion": "wasm",
|
|
"exports": {
|
|
"require": { "emscriptenEnvironment": ["node"] },
|
|
"import": { "emscriptenEnvironment": ["node"] },
|
|
"browser": { "emscriptenEnvironment": ["web", "worker"] },
|
|
"workerd": { "emscriptenEnvironment": ["web"] }
|
|
}
|
|
}
|
|
},
|
|
"packages/variant-quickjs-wasmfile-debug-asyncify": {
|
|
"basename": "quickjs-wasmfile-debug-asyncify",
|
|
"targetName": "wasmfile",
|
|
"dir": "packages/variant-quickjs-wasmfile-debug-asyncify",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-wasmfile-debug-asyncify",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.ts",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"browser": "./dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.ts",
|
|
"import": "./dist/ffi.mjs",
|
|
"require": "./dist/ffi.js",
|
|
"default": "./dist/ffi.js"
|
|
},
|
|
"./wasm": "./dist/emscripten-module.wasm",
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.browser.d.ts",
|
|
"iife": "./dist/emscripten-module.cjs",
|
|
"workerd": "./dist/emscripten-module.cloudflare.cjs",
|
|
"browser": "./dist/emscripten-module.browser.mjs",
|
|
"import": "./dist/emscripten-module.mjs",
|
|
"require": "./dist/emscripten-module.cjs",
|
|
"default": "./dist/emscripten-module.cjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs",
|
|
"releaseMode": "debug",
|
|
"syncMode": "asyncify",
|
|
"description": "Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.",
|
|
"emscriptenInclusion": "wasm",
|
|
"exports": {
|
|
"require": { "emscriptenEnvironment": ["node"] },
|
|
"import": { "emscriptenEnvironment": ["node"] },
|
|
"browser": { "emscriptenEnvironment": ["web", "worker"] },
|
|
"workerd": { "emscriptenEnvironment": ["web"] }
|
|
}
|
|
}
|
|
},
|
|
"packages/variant-quickjs-wasmfile-release-sync": {
|
|
"basename": "quickjs-wasmfile-release-sync",
|
|
"targetName": "wasmfile",
|
|
"dir": "packages/variant-quickjs-wasmfile-release-sync",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-wasmfile-release-sync",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.ts",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"browser": "./dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.ts",
|
|
"import": "./dist/ffi.mjs",
|
|
"require": "./dist/ffi.js",
|
|
"default": "./dist/ffi.js"
|
|
},
|
|
"./wasm": "./dist/emscripten-module.wasm",
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.browser.d.ts",
|
|
"iife": "./dist/emscripten-module.cjs",
|
|
"workerd": "./dist/emscripten-module.cloudflare.cjs",
|
|
"browser": "./dist/emscripten-module.browser.mjs",
|
|
"import": "./dist/emscripten-module.mjs",
|
|
"require": "./dist/emscripten-module.cjs",
|
|
"default": "./dist/emscripten-module.cjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs",
|
|
"releaseMode": "release",
|
|
"syncMode": "sync",
|
|
"description": "Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.",
|
|
"emscriptenInclusion": "wasm",
|
|
"exports": {
|
|
"require": { "emscriptenEnvironment": ["node"] },
|
|
"import": { "emscriptenEnvironment": ["node"] },
|
|
"browser": { "emscriptenEnvironment": ["web", "worker"] },
|
|
"workerd": { "emscriptenEnvironment": ["web"] }
|
|
}
|
|
}
|
|
},
|
|
"packages/variant-quickjs-wasmfile-release-asyncify": {
|
|
"basename": "quickjs-wasmfile-release-asyncify",
|
|
"targetName": "wasmfile",
|
|
"dir": "packages/variant-quickjs-wasmfile-release-asyncify",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-wasmfile-release-asyncify",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.ts",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"browser": "./dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.ts",
|
|
"import": "./dist/ffi.mjs",
|
|
"require": "./dist/ffi.js",
|
|
"default": "./dist/ffi.js"
|
|
},
|
|
"./wasm": "./dist/emscripten-module.wasm",
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.browser.d.ts",
|
|
"iife": "./dist/emscripten-module.cjs",
|
|
"workerd": "./dist/emscripten-module.cloudflare.cjs",
|
|
"browser": "./dist/emscripten-module.browser.mjs",
|
|
"import": "./dist/emscripten-module.mjs",
|
|
"require": "./dist/emscripten-module.cjs",
|
|
"default": "./dist/emscripten-module.cjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs",
|
|
"releaseMode": "release",
|
|
"syncMode": "asyncify",
|
|
"description": "Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.",
|
|
"emscriptenInclusion": "wasm",
|
|
"exports": {
|
|
"require": { "emscriptenEnvironment": ["node"] },
|
|
"import": { "emscriptenEnvironment": ["node"] },
|
|
"browser": { "emscriptenEnvironment": ["web", "worker"] },
|
|
"workerd": { "emscriptenEnvironment": ["web"] }
|
|
}
|
|
}
|
|
},
|
|
"packages/variant-quickjs-ng-wasmfile-debug-sync": {
|
|
"basename": "quickjs-ng-wasmfile-debug-sync",
|
|
"targetName": "wasmfile",
|
|
"dir": "packages/variant-quickjs-ng-wasmfile-debug-sync",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-ng-wasmfile-debug-sync",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.ts",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"browser": "./dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.ts",
|
|
"import": "./dist/ffi.mjs",
|
|
"require": "./dist/ffi.js",
|
|
"default": "./dist/ffi.js"
|
|
},
|
|
"./wasm": "./dist/emscripten-module.wasm",
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.browser.d.ts",
|
|
"iife": "./dist/emscripten-module.cjs",
|
|
"workerd": "./dist/emscripten-module.cloudflare.cjs",
|
|
"browser": "./dist/emscripten-module.browser.mjs",
|
|
"import": "./dist/emscripten-module.mjs",
|
|
"require": "./dist/emscripten-module.cjs",
|
|
"default": "./dist/emscripten-module.cjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs-ng",
|
|
"releaseMode": "debug",
|
|
"syncMode": "sync",
|
|
"description": "Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.",
|
|
"emscriptenInclusion": "wasm",
|
|
"exports": {
|
|
"require": { "emscriptenEnvironment": ["node"] },
|
|
"import": { "emscriptenEnvironment": ["node"] },
|
|
"browser": { "emscriptenEnvironment": ["web", "worker"] },
|
|
"workerd": { "emscriptenEnvironment": ["web"] }
|
|
}
|
|
}
|
|
},
|
|
"packages/variant-quickjs-ng-wasmfile-debug-asyncify": {
|
|
"basename": "quickjs-ng-wasmfile-debug-asyncify",
|
|
"targetName": "wasmfile",
|
|
"dir": "packages/variant-quickjs-ng-wasmfile-debug-asyncify",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-ng-wasmfile-debug-asyncify",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.ts",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"browser": "./dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.ts",
|
|
"import": "./dist/ffi.mjs",
|
|
"require": "./dist/ffi.js",
|
|
"default": "./dist/ffi.js"
|
|
},
|
|
"./wasm": "./dist/emscripten-module.wasm",
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.browser.d.ts",
|
|
"iife": "./dist/emscripten-module.cjs",
|
|
"workerd": "./dist/emscripten-module.cloudflare.cjs",
|
|
"browser": "./dist/emscripten-module.browser.mjs",
|
|
"import": "./dist/emscripten-module.mjs",
|
|
"require": "./dist/emscripten-module.cjs",
|
|
"default": "./dist/emscripten-module.cjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs-ng",
|
|
"releaseMode": "debug",
|
|
"syncMode": "asyncify",
|
|
"description": "Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.",
|
|
"emscriptenInclusion": "wasm",
|
|
"exports": {
|
|
"require": { "emscriptenEnvironment": ["node"] },
|
|
"import": { "emscriptenEnvironment": ["node"] },
|
|
"browser": { "emscriptenEnvironment": ["web", "worker"] },
|
|
"workerd": { "emscriptenEnvironment": ["web"] }
|
|
}
|
|
}
|
|
},
|
|
"packages/variant-quickjs-ng-wasmfile-release-sync": {
|
|
"basename": "quickjs-ng-wasmfile-release-sync",
|
|
"targetName": "wasmfile",
|
|
"dir": "packages/variant-quickjs-ng-wasmfile-release-sync",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-ng-wasmfile-release-sync",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.ts",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"browser": "./dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.ts",
|
|
"import": "./dist/ffi.mjs",
|
|
"require": "./dist/ffi.js",
|
|
"default": "./dist/ffi.js"
|
|
},
|
|
"./wasm": "./dist/emscripten-module.wasm",
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.browser.d.ts",
|
|
"iife": "./dist/emscripten-module.cjs",
|
|
"workerd": "./dist/emscripten-module.cloudflare.cjs",
|
|
"browser": "./dist/emscripten-module.browser.mjs",
|
|
"import": "./dist/emscripten-module.mjs",
|
|
"require": "./dist/emscripten-module.cjs",
|
|
"default": "./dist/emscripten-module.cjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs-ng",
|
|
"releaseMode": "release",
|
|
"syncMode": "sync",
|
|
"description": "Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.",
|
|
"emscriptenInclusion": "wasm",
|
|
"exports": {
|
|
"require": { "emscriptenEnvironment": ["node"] },
|
|
"import": { "emscriptenEnvironment": ["node"] },
|
|
"browser": { "emscriptenEnvironment": ["web", "worker"] },
|
|
"workerd": { "emscriptenEnvironment": ["web"] }
|
|
}
|
|
}
|
|
},
|
|
"packages/variant-quickjs-ng-wasmfile-release-asyncify": {
|
|
"basename": "quickjs-ng-wasmfile-release-asyncify",
|
|
"targetName": "wasmfile",
|
|
"dir": "packages/variant-quickjs-ng-wasmfile-release-asyncify",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-ng-wasmfile-release-asyncify",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.ts",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"browser": "./dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.ts",
|
|
"import": "./dist/ffi.mjs",
|
|
"require": "./dist/ffi.js",
|
|
"default": "./dist/ffi.js"
|
|
},
|
|
"./wasm": "./dist/emscripten-module.wasm",
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.browser.d.ts",
|
|
"iife": "./dist/emscripten-module.cjs",
|
|
"workerd": "./dist/emscripten-module.cloudflare.cjs",
|
|
"browser": "./dist/emscripten-module.browser.mjs",
|
|
"import": "./dist/emscripten-module.mjs",
|
|
"require": "./dist/emscripten-module.cjs",
|
|
"default": "./dist/emscripten-module.cjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs-ng",
|
|
"releaseMode": "release",
|
|
"syncMode": "asyncify",
|
|
"description": "Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.",
|
|
"emscriptenInclusion": "wasm",
|
|
"exports": {
|
|
"require": { "emscriptenEnvironment": ["node"] },
|
|
"import": { "emscriptenEnvironment": ["node"] },
|
|
"browser": { "emscriptenEnvironment": ["web", "worker"] },
|
|
"workerd": { "emscriptenEnvironment": ["web"] }
|
|
}
|
|
}
|
|
},
|
|
"packages/variant-quickjs-singlefile-cjs-debug-sync": {
|
|
"basename": "quickjs-singlefile-cjs-debug-sync",
|
|
"targetName": "singlefile-cjs",
|
|
"dir": "packages/variant-quickjs-singlefile-cjs-debug-sync",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-singlefile-cjs-debug-sync",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with the WASM data embedded into a universal (Node and Browser compatible) CommonJS module.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make -j2",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.ts",
|
|
"main": "./dist/index.js",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.ts",
|
|
"import": "./dist/ffi.js",
|
|
"require": "./dist/ffi.js",
|
|
"default": "./dist/ffi.js"
|
|
},
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.d.ts",
|
|
"iife": "./dist/emscripten-module.cjs",
|
|
"import": "./dist/emscripten-module.cjs",
|
|
"require": "./dist/emscripten-module.cjs",
|
|
"default": "./dist/emscripten-module.cjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs",
|
|
"releaseMode": "debug",
|
|
"syncMode": "sync",
|
|
"description": "Variant with the WASM data embedded into a universal (Node and Browser compatible) CommonJS module.",
|
|
"emscriptenInclusion": "singlefile",
|
|
"exports": { "require": { "emscriptenEnvironment": ["web", "worker", "node"] } }
|
|
}
|
|
},
|
|
"packages/variant-quickjs-singlefile-cjs-debug-asyncify": {
|
|
"basename": "quickjs-singlefile-cjs-debug-asyncify",
|
|
"targetName": "singlefile-cjs",
|
|
"dir": "packages/variant-quickjs-singlefile-cjs-debug-asyncify",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-singlefile-cjs-debug-asyncify",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with the WASM data embedded into a universal (Node and Browser compatible) CommonJS module.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make -j2",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.ts",
|
|
"main": "./dist/index.js",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.ts",
|
|
"import": "./dist/ffi.js",
|
|
"require": "./dist/ffi.js",
|
|
"default": "./dist/ffi.js"
|
|
},
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.d.ts",
|
|
"iife": "./dist/emscripten-module.cjs",
|
|
"import": "./dist/emscripten-module.cjs",
|
|
"require": "./dist/emscripten-module.cjs",
|
|
"default": "./dist/emscripten-module.cjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs",
|
|
"releaseMode": "debug",
|
|
"syncMode": "asyncify",
|
|
"description": "Variant with the WASM data embedded into a universal (Node and Browser compatible) CommonJS module.",
|
|
"emscriptenInclusion": "singlefile",
|
|
"exports": { "require": { "emscriptenEnvironment": ["web", "worker", "node"] } }
|
|
}
|
|
},
|
|
"packages/variant-quickjs-singlefile-cjs-release-sync": {
|
|
"basename": "quickjs-singlefile-cjs-release-sync",
|
|
"targetName": "singlefile-cjs",
|
|
"dir": "packages/variant-quickjs-singlefile-cjs-release-sync",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-singlefile-cjs-release-sync",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with the WASM data embedded into a universal (Node and Browser compatible) CommonJS module.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make -j2",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.ts",
|
|
"main": "./dist/index.js",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.ts",
|
|
"import": "./dist/ffi.js",
|
|
"require": "./dist/ffi.js",
|
|
"default": "./dist/ffi.js"
|
|
},
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.d.ts",
|
|
"iife": "./dist/emscripten-module.cjs",
|
|
"import": "./dist/emscripten-module.cjs",
|
|
"require": "./dist/emscripten-module.cjs",
|
|
"default": "./dist/emscripten-module.cjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs",
|
|
"releaseMode": "release",
|
|
"syncMode": "sync",
|
|
"description": "Variant with the WASM data embedded into a universal (Node and Browser compatible) CommonJS module.",
|
|
"emscriptenInclusion": "singlefile",
|
|
"exports": { "require": { "emscriptenEnvironment": ["web", "worker", "node"] } }
|
|
}
|
|
},
|
|
"packages/variant-quickjs-singlefile-cjs-release-asyncify": {
|
|
"basename": "quickjs-singlefile-cjs-release-asyncify",
|
|
"targetName": "singlefile-cjs",
|
|
"dir": "packages/variant-quickjs-singlefile-cjs-release-asyncify",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-singlefile-cjs-release-asyncify",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with the WASM data embedded into a universal (Node and Browser compatible) CommonJS module.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make -j2",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.ts",
|
|
"main": "./dist/index.js",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.ts",
|
|
"import": "./dist/ffi.js",
|
|
"require": "./dist/ffi.js",
|
|
"default": "./dist/ffi.js"
|
|
},
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.d.ts",
|
|
"iife": "./dist/emscripten-module.cjs",
|
|
"import": "./dist/emscripten-module.cjs",
|
|
"require": "./dist/emscripten-module.cjs",
|
|
"default": "./dist/emscripten-module.cjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs",
|
|
"releaseMode": "release",
|
|
"syncMode": "asyncify",
|
|
"description": "Variant with the WASM data embedded into a universal (Node and Browser compatible) CommonJS module.",
|
|
"emscriptenInclusion": "singlefile",
|
|
"exports": { "require": { "emscriptenEnvironment": ["web", "worker", "node"] } }
|
|
}
|
|
},
|
|
"packages/variant-quickjs-singlefile-mjs-debug-sync": {
|
|
"basename": "quickjs-singlefile-mjs-debug-sync",
|
|
"targetName": "singlefile-mjs",
|
|
"dir": "packages/variant-quickjs-singlefile-mjs-debug-sync",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-singlefile-mjs-debug-sync",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with the WASM data embedded into a NodeJS ESModule.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make -j2",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.mts",
|
|
"main": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"import": "./dist/index.mjs",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.mts",
|
|
"import": "./dist/ffi.mjs",
|
|
"default": "./dist/ffi.mjs"
|
|
},
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.d.ts",
|
|
"import": "./dist/emscripten-module.mjs",
|
|
"default": "./dist/emscripten-module.mjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs",
|
|
"releaseMode": "debug",
|
|
"syncMode": "sync",
|
|
"description": "Variant with the WASM data embedded into a NodeJS ESModule.",
|
|
"emscriptenInclusion": "singlefile",
|
|
"exports": { "import": { "emscriptenEnvironment": ["node"] } }
|
|
}
|
|
},
|
|
"packages/variant-quickjs-singlefile-mjs-debug-asyncify": {
|
|
"basename": "quickjs-singlefile-mjs-debug-asyncify",
|
|
"targetName": "singlefile-mjs",
|
|
"dir": "packages/variant-quickjs-singlefile-mjs-debug-asyncify",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-singlefile-mjs-debug-asyncify",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with the WASM data embedded into a NodeJS ESModule.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make -j2",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.mts",
|
|
"main": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"import": "./dist/index.mjs",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.mts",
|
|
"import": "./dist/ffi.mjs",
|
|
"default": "./dist/ffi.mjs"
|
|
},
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.d.ts",
|
|
"import": "./dist/emscripten-module.mjs",
|
|
"default": "./dist/emscripten-module.mjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs",
|
|
"releaseMode": "debug",
|
|
"syncMode": "asyncify",
|
|
"description": "Variant with the WASM data embedded into a NodeJS ESModule.",
|
|
"emscriptenInclusion": "singlefile",
|
|
"exports": { "import": { "emscriptenEnvironment": ["node"] } }
|
|
}
|
|
},
|
|
"packages/variant-quickjs-singlefile-mjs-release-sync": {
|
|
"basename": "quickjs-singlefile-mjs-release-sync",
|
|
"targetName": "singlefile-mjs",
|
|
"dir": "packages/variant-quickjs-singlefile-mjs-release-sync",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-singlefile-mjs-release-sync",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with the WASM data embedded into a NodeJS ESModule.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make -j2",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.mts",
|
|
"main": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"import": "./dist/index.mjs",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.mts",
|
|
"import": "./dist/ffi.mjs",
|
|
"default": "./dist/ffi.mjs"
|
|
},
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.d.ts",
|
|
"import": "./dist/emscripten-module.mjs",
|
|
"default": "./dist/emscripten-module.mjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs",
|
|
"releaseMode": "release",
|
|
"syncMode": "sync",
|
|
"description": "Variant with the WASM data embedded into a NodeJS ESModule.",
|
|
"emscriptenInclusion": "singlefile",
|
|
"exports": { "import": { "emscriptenEnvironment": ["node"] } }
|
|
}
|
|
},
|
|
"packages/variant-quickjs-singlefile-mjs-release-asyncify": {
|
|
"basename": "quickjs-singlefile-mjs-release-asyncify",
|
|
"targetName": "singlefile-mjs",
|
|
"dir": "packages/variant-quickjs-singlefile-mjs-release-asyncify",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-singlefile-mjs-release-asyncify",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with the WASM data embedded into a NodeJS ESModule.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make -j2",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.mts",
|
|
"main": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"import": "./dist/index.mjs",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.mts",
|
|
"import": "./dist/ffi.mjs",
|
|
"default": "./dist/ffi.mjs"
|
|
},
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.d.ts",
|
|
"import": "./dist/emscripten-module.mjs",
|
|
"default": "./dist/emscripten-module.mjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs",
|
|
"releaseMode": "release",
|
|
"syncMode": "asyncify",
|
|
"description": "Variant with the WASM data embedded into a NodeJS ESModule.",
|
|
"emscriptenInclusion": "singlefile",
|
|
"exports": { "import": { "emscriptenEnvironment": ["node"] } }
|
|
}
|
|
},
|
|
"packages/variant-quickjs-singlefile-browser-debug-sync": {
|
|
"basename": "quickjs-singlefile-browser-debug-sync",
|
|
"targetName": "singlefile-browser",
|
|
"dir": "packages/variant-quickjs-singlefile-browser-debug-sync",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-singlefile-browser-debug-sync",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with the WASM data embedded into a browser ESModule.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make -j2",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.mts",
|
|
"main": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"browser": "./dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"import": "./dist/index.mjs",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.mts",
|
|
"import": "./dist/ffi.mjs",
|
|
"default": "./dist/ffi.mjs"
|
|
},
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.browser.d.ts",
|
|
"browser": "./dist/emscripten-module.browser.mjs",
|
|
"import": "./dist/emscripten-module.browser.mjs",
|
|
"default": "./dist/emscripten-module.browser.mjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs",
|
|
"releaseMode": "debug",
|
|
"syncMode": "sync",
|
|
"description": "Variant with the WASM data embedded into a browser ESModule.",
|
|
"emscriptenInclusion": "singlefile",
|
|
"exports": { "browser": { "emscriptenEnvironment": ["web", "worker"] } }
|
|
}
|
|
},
|
|
"packages/variant-quickjs-singlefile-browser-debug-asyncify": {
|
|
"basename": "quickjs-singlefile-browser-debug-asyncify",
|
|
"targetName": "singlefile-browser",
|
|
"dir": "packages/variant-quickjs-singlefile-browser-debug-asyncify",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-singlefile-browser-debug-asyncify",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with the WASM data embedded into a browser ESModule.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make -j2",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.mts",
|
|
"main": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"browser": "./dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"import": "./dist/index.mjs",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.mts",
|
|
"import": "./dist/ffi.mjs",
|
|
"default": "./dist/ffi.mjs"
|
|
},
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.browser.d.ts",
|
|
"browser": "./dist/emscripten-module.browser.mjs",
|
|
"import": "./dist/emscripten-module.browser.mjs",
|
|
"default": "./dist/emscripten-module.browser.mjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs",
|
|
"releaseMode": "debug",
|
|
"syncMode": "asyncify",
|
|
"description": "Variant with the WASM data embedded into a browser ESModule.",
|
|
"emscriptenInclusion": "singlefile",
|
|
"exports": { "browser": { "emscriptenEnvironment": ["web", "worker"] } }
|
|
}
|
|
},
|
|
"packages/variant-quickjs-singlefile-browser-release-sync": {
|
|
"basename": "quickjs-singlefile-browser-release-sync",
|
|
"targetName": "singlefile-browser",
|
|
"dir": "packages/variant-quickjs-singlefile-browser-release-sync",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-singlefile-browser-release-sync",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with the WASM data embedded into a browser ESModule.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make -j2",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.mts",
|
|
"main": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"browser": "./dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"import": "./dist/index.mjs",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.mts",
|
|
"import": "./dist/ffi.mjs",
|
|
"default": "./dist/ffi.mjs"
|
|
},
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.browser.d.ts",
|
|
"browser": "./dist/emscripten-module.browser.mjs",
|
|
"import": "./dist/emscripten-module.browser.mjs",
|
|
"default": "./dist/emscripten-module.browser.mjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs",
|
|
"releaseMode": "release",
|
|
"syncMode": "sync",
|
|
"description": "Variant with the WASM data embedded into a browser ESModule.",
|
|
"emscriptenInclusion": "singlefile",
|
|
"exports": { "browser": { "emscriptenEnvironment": ["web", "worker"] } }
|
|
}
|
|
},
|
|
"packages/variant-quickjs-singlefile-browser-release-asyncify": {
|
|
"basename": "quickjs-singlefile-browser-release-asyncify",
|
|
"targetName": "singlefile-browser",
|
|
"dir": "packages/variant-quickjs-singlefile-browser-release-asyncify",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-singlefile-browser-release-asyncify",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Variant with the WASM data embedded into a browser ESModule.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make -j2",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.mts",
|
|
"main": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"browser": "./dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"import": "./dist/index.mjs",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./ffi": {
|
|
"types": "./dist/ffi.d.mts",
|
|
"import": "./dist/ffi.mjs",
|
|
"default": "./dist/ffi.mjs"
|
|
},
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.browser.d.ts",
|
|
"browser": "./dist/emscripten-module.browser.mjs",
|
|
"import": "./dist/emscripten-module.browser.mjs",
|
|
"default": "./dist/emscripten-module.browser.mjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs",
|
|
"releaseMode": "release",
|
|
"syncMode": "asyncify",
|
|
"description": "Variant with the WASM data embedded into a browser ESModule.",
|
|
"emscriptenInclusion": "singlefile",
|
|
"exports": { "browser": { "emscriptenEnvironment": ["web", "worker"] } }
|
|
}
|
|
},
|
|
"packages/variant-quickjs-asmjs-mjs-release-sync": {
|
|
"basename": "quickjs-asmjs-mjs-release-sync",
|
|
"targetName": "asmjs-mjs",
|
|
"dir": "packages/variant-quickjs-asmjs-mjs-release-sync",
|
|
"packageJson": {
|
|
"name": "@jitl/quickjs-asmjs-mjs-release-sync",
|
|
"license": "MIT",
|
|
"version": "(omitted)",
|
|
"description": "Variant of quickjs library: Compiled to pure Javascript, no WebAssembly required.",
|
|
"sideEffects": false,
|
|
"repository": { "type": "git", "url": "https://github.com/justjake/quickjs-emscripten" },
|
|
"author": { "name": "Jake Teton-Landis", "url": "https://jake.tl" },
|
|
"scripts": {
|
|
"build": "npm run build:c && npm run build:ts",
|
|
"build:c": "make -j2",
|
|
"build:ts": "npx tsup",
|
|
"check:types": "npx tsc --project . --noEmit",
|
|
"clean": "make clean",
|
|
"prepare": "npm run clean && npm run build"
|
|
},
|
|
"files": ["LICENSE", "README.md", "dist/**/*", "!dist/*.tsbuildinfo"],
|
|
"types": "./dist/index.d.mts",
|
|
"main": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"import": "./dist/index.mjs",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./emscripten-module": {
|
|
"types": "./dist/emscripten-module.d.ts",
|
|
"import": "./dist/emscripten-module.mjs",
|
|
"default": "./dist/emscripten-module.mjs"
|
|
}
|
|
},
|
|
"dependencies": { "@jitl/quickjs-ffi-types": "workspace:*" }
|
|
},
|
|
"variant": {
|
|
"library": "quickjs",
|
|
"releaseMode": "release",
|
|
"syncMode": "sync",
|
|
"description": "Compiled to pure Javascript, no WebAssembly required.",
|
|
"emscriptenInclusion": "asmjs",
|
|
"emscriptenVersion": "3.1.43",
|
|
"exports": { "import": { "emscriptenEnvironment": ["web", "worker", "node"] } }
|
|
}
|
|
}
|
|
}
|