-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
40 lines (40 loc) · 1.52 KB
/
package.json
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
{
"name": "dflow",
"description": "is a minimal Dataflow programming engine",
"type": "module",
"version": "0.44.0",
"exports": {
"import": "./dflow.js",
"types": "./dflow.d.ts"
},
"license": "MIT",
"author": {
"name": "Gianluca Casati",
"url": "https://fibo.github.io"
},
"scripts": {
"build": "tsc --removeComments --project tsconfig.build.json && tsc --declaration --emitDeclarationOnly --project tsconfig.build.json",
"check_types": "tsc",
"example:custom-nodes": "node examples/custom-nodes.js",
"example:context": "node --env-file .typescript.env examples/context.ts",
"example:execution-report": "node --env-file .typescript.env examples/execution-report.ts",
"example:usage": "node examples/usage.js",
"install_precommit_hook": "echo '#!/bin/sh\nnpm test\nnpm run prettier--check\nnpm 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 --env-file .typescript.env dflow_test.ts",
"test:nodes": "node --test --env-file .typescript.env examples/nodes/*_test.ts"
},
"repository": {
"type": "git",
"url": "git://github.com/fibo/dflow.git"
},
"keywords": [
"dataflow",
"dataflow-programming"
]
}