UNPKG

@fastly/js-compute

Version:

JavaScript SDK and CLI for building JavaScript applications on [Fastly Compute](https://www.fastly.com/products/edge-compute/serverless).

102 lines (101 loc) 3.15 kB
{ "name": "@fastly/js-compute", "version": "3.42.1", "license": "Apache-2.0", "main": "types/index.js", "types": "types/index.d.ts", "type": "module", "exports": { ".": { "fastly": { "types": "./types/index.d.ts", "default": "./types/index.js" }, "default": { "types": "./types/index.d.ts", "default": "./dist/index.js" } } }, "repository": { "type": "git", "url": "https://github.com/fastly/js-compute-runtime" }, "bin": { "js-compute": "dist/cli/js-compute-runtime-cli.js", "js-compute-runtime": "dist/cli/js-compute-runtime-cli.js" }, "files": [ "types", "fastly.wasm", "fastly.debug.wasm", "fastly-weval.wasm", "fastly-ics.wevalcache", "dist", "rsrc", "package.json", "README.md", "CHANGELOG.md" ], "scripts": { "test": "npm run test:types && npm run test:cli", "test:cli": "brittle --bail integration-tests/cli/**.test.js", "test:integration": "node ./integration-tests/js-compute/test.js", "test:wpt": "tests/wpt-harness/build-wpt-runtime.sh && node ./tests/wpt-harness/run-wpt.mjs -vv", "test:wpt:debug": "tests/wpt-harness/build-wpt-runtime.sh --debug-build && node ./tests/wpt-harness/run-wpt.mjs -vv", "test:types": "tsd", "clean": "rm -rf dist/ starling.wasm fastly.wasm fastly.debug.wasm fastly-weval.wasm fastly-ics.wevalcache fastly-js-compute-*.tgz", "build": "npm run clean && npm run build:cli && npm run build:debug && npm run build:release && npm run build:weval", "build:cli": "tsc", "build:release": "./runtime/fastly/build-release.sh", "build:debug": "./runtime/fastly/build-debug.sh", "build:weval": "./runtime/fastly/build-release-weval.sh", "build:debug:info": "./runtime/fastly/build-debug.sh --keep-debug-info", "format-changelog": "node ci/format-changelog.js CHANGELOG.md", "format": "prettier --write 'src/**/*.ts' integration-tests types test-d", "format:check": "prettier --check 'src/**/*.ts' integration-tests" }, "dependencies": { "@bytecodealliance/jco": "^1.7.0", "@bytecodealliance/weval": "^0.3.2", "@bytecodealliance/wizer": "^7.0.5", "@jridgewell/remapping": "^2.3.5", "@jridgewell/trace-mapping": "^0.3.31", "acorn": "^8.13.0", "acorn-walk": "^8.3.4", "cosmiconfig": "^9.0.1", "esbuild": "^0.25.0", "magic-string": "^0.30.12", "picomatch": "^4.0.4", "regexpu-core": "^6.4.0" }, "devDependencies": { "@eslint/js": "^9.39.1", "@jakechampion/cli-testing-library": "^1.0.0", "@types/node": "^24.10.1", "@types/picomatch": "^4.0.2", "brittle": "^3.5.2", "eslint": "^9.39.1", "get-bin-path": "^11.0.0", "prettier": "^3.3.3", "remark-parse": "^11.0.0", "remark-stringify": "^11.0.0", "tsd": "^0.33.0", "typescript": "^5.9.3", "typescript-eslint": "^8.48.1", "unified": "^11.0.5" }, "peerDependencies": { "typescript": ">=5.9" }, "peerDependenciesMeta": { "typescript": { "optional": true } }, "tsd": { "compilerOptions": { "types": [] } } }