Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.37 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 2.37 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "behavior-graph",
"version": "2.0.0",
"description": "Behavior Graph is a TypeScript and JavaScript library for organizing event-driven code: apps and controllers where clicks, timers and network replies all change shared state. You write small blocks of ordinary code that each say what they read and write, and the library runs them in the right order every time something happens, then runs your side effects. Adding a feature means adding a block instead of rewiring callbacks, and mistakes such as reading a value you didn't declare throw a clear error instead of causing a silent bug. Includes a guide for coding agents.",
"homepage": "https://github.com/yahoo/bgjs#readme",
"main": "lib/cjs/index.js",
"module": "lib/mjs/index.js",
"types": "lib/mjs/index.d.ts",
"exports": {
".": {
"import": "./lib/mjs/index.js",
"require": "./lib/cjs/index.js"
}
},
"keywords": [
"observables",
"state",
"architecture",
"state management",
"redux",
"recoil",
"mobx",
"state machine",
"store",
"rxjs",
"effects",
"reactive",
"dataflow",
"event-driven",
"reactive programming",
"side effects",
"async",
"timers",
"controller",
"dependency graph",
"incremental computation",
"glitch-free",
"deterministic",
"typescript",
"coding agents",
"ai agents"
],
"license": "Apache-2.0",
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^16.18.11",
"jest": "^27.4.5",
"rollup": "^2.58.3",
"ts-jest": "^27.1.2",
"typescript": "^4.5.4"
},
"files": [
"lib/**/*",
"src/*.ts",
"AGENT_GUIDE.md",
"CHANGELOG.md"
],
"repository": {
"type": "git",
"url": "https://github.com/yahoo/bgjs"
},
"scripts": {
"test": "jest",
"build": "rm -rf lib/* && tsc -p tsconfig-mjs.json && tsc -p tsconfig-cjs.json && ./fixup && rollup -c rollup.config.js && echo 'Build is successful!'",
"test-coverage": "jest --coverage",
"test-types": "tsc -p test-types",
"ci-build": "npm run build",
"ci-test": "jest --coverage --runInBand --coverageDirectory $SD_ARTIFACTS_DIR/coverage && npm run test-types"
},
"jest": {
"preset": "ts-jest/presets/js-with-ts-esm",
"globals": {
"ts-jest": {
"useESM": true
}
},
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
}
}
}