-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
46 lines (46 loc) · 1.74 KB
/
package.json
File metadata and controls
46 lines (46 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"name": "dflow",
"description": "A minimal Dataflow programming engine",
"type": "module",
"version": "0.44.0",
"types": "./dflow.d.ts",
"exports": "./dflow.js",
"license": "MIT",
"homepage": "https://fibo.github.io/dflow",
"author": {
"name": "Gianluca Casati",
"url": "https://fibo.github.io"
},
"scripts": {
"build": "npm run emitDeclarations && npm run esbuild && npm run inject_doc_snippets",
"check_types": "tsc",
"emitDeclarations": "tsc --project tsconfig.build.json",
"esbuild": "esbuild dflow.ts --minify --outfile=dflow.js",
"example:async_nodes": "node docs/examples/async_nodes.ts",
"example:context": "node docs/examples/context.ts",
"example:dynamic_math_nodes": "node docs/examples/dynamic_math_nodes.ts",
"example:hello_world": "node docs/examples/hello_world.ts",
"example:usage": "node docs/examples/usage.ts",
"inject_doc_snippets": "node docs/examples/inject_doc_snippets.ts",
"install_precommit_hook": "echo '#!/bin/sh\nnpm test && npm run prettier--check && npm run check_types && npm run build\n' > .git/hooks/pre-commit; chmod +x .git/hooks/pre-commit",
"prettier": "prettier --write .",
"prettier--check": "prettier --check .",
"prebuild": "npm run check_types",
"preversion": "npm run build",
"postversion": "git push origin v${npm_package_version}; git push origin main; npm publish",
"test": "npm run test:dflow && npm run test:nodes",
"test:dflow": "node --test tests/dflow_test.ts",
"test:nodes": "node --test tests/nodes/*_test.ts"
},
"repository": {
"type": "git",
"url": "git://github.com/fibo/dflow.git"
},
"keywords": [
"dataflow",
"dataflow-programming"
],
"prettier": {
"trailingComma": "none"
}
}