UNPKG

@fastly/js-compute

Version:

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

69 lines (68 loc) 2.41 kB
{ "name": "@fastly/js-compute", "version": "3.32.2", "license": "Apache-2.0", "main": "js-compute-runtime-cli.js", "types": "types/index.d.ts", "type": "module", "repository": { "type": "git", "url": "https://github.com/fastly/js-compute-runtime" }, "bin": { "js-compute": "js-compute-runtime-cli.js", "js-compute-runtime": "js-compute-runtime-cli.js" }, "files": [ "types", "js-compute-runtime-cli.js", "fastly.wasm", "fastly.debug.wasm", "fastly-weval.wasm", "fastly-ics.wevalcache", "src", "index.d.ts", "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 -f starling.wasm fastly.wasm fastly.debug.wasm fastly-weval.wasm fastly-ics.wevalcache fastly-js-compute-*.tgz", "build": "npm run clean && npm run build:debug && npm run build:release && npm run build:weval", "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 *.js src/*.js integration-tests types test-d", "format:check": "prettier --check *.js src/*.js integration-tests" }, "devDependencies": { "@jakechampion/cli-testing-library": "^1.0.0", "brittle": "^3.5.2", "eslint": "^9.6.0", "get-bin-path": "^11.0.0", "prettier": "^3.3.3", "remark-parse": "^11.0.0", "remark-stringify": "^11.0.0", "tsd": "^0.31.1", "typescript": "^5.5", "unified": "^11.0.5" }, "dependencies": { "@bytecodealliance/jco": "^1.7.0", "@bytecodealliance/wizer": "^7.0.5", "@bytecodealliance/weval": "^0.3.2", "acorn": "^8.13.0", "acorn-walk": "^8.3.4", "esbuild": "^0.25.0", "magic-string": "^0.30.12", "regexpu-core": "^6.1.1" } }