UNPKG

dflow

Version:

is a minimal Dataflow programming engine

54 lines (53 loc) 1.91 kB
{ "name": "dflow", "description": "is a minimal Dataflow programming engine", "type": "module", "version": "0.43.1", "engines": { "node": ">=14", "deno": ">=1.10" }, "license": "MIT", "author": { "name": "Gianluca Casati", "url": "https://fibo.github.io" }, "types": "dist/dflow.d.ts", "exports": { ".": { "import": "./dist/dflow.js", "types": "./dist/dflow.d.ts" }, "./nodes": { "import": "./dist/nodes.js" } }, "scripts": { "build": "mkdir -p dist && npm run bundle:dflow && npm run bundle:nodes && npm run emit_typescript_declarations", "bundle:dflow": "esbuild --minify-whitespace dflow.ts > dist/dflow.js", "bundle:nodes": "deno bundle --importmap=import_map.json examples/nodes/index.ts | esbuild --minify-whitespace > dist/nodes.js", "example:custom-nodes": "deno run examples/custom-nodes.js", "example:context": "deno run --importmap=import_map.json examples/context.ts", "example:deno": "deno run --importmap=./examples/deno/import_map.json ./examples/deno/example.ts", "example:execution-report": "deno run --importmap=import_map.json examples/execution-report.ts", "example:usage": "deno run examples/usage.js", "emit_typescript_declarations": "tsc --project ./tsconfig.declarations.json", "fmt": "deno fmt", "install_precommit_hook": "echo '#!/bin/sh\ndeno test' > .git/hooks/pre-commit; chmod +x .git/hooks/pre-commit", "postemit_typescript_declarations": "deno fmt dist/dflow.d.ts", "prebuild": "npm test", "lint": "deno lint", "preversion": "npm run build", "postversion": "git push origin v${npm_package_version}; git push origin main; npm publish", "test": "deno test" }, "repository": { "type": "git", "url": "git://github.com/fibo/dflow.git" }, "keywords": [ "dataflow", "dataflow-programming" ], "dependencies": {} }