-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 3.08 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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "statebot",
"description": "Describe the states and allowed transitions of a program using a flowchart-like syntax. Switch to states directly, or by wiring-up events. Statebot is an FSM.",
"version": "3.1.3",
"author": "Conan Theobald",
"license": "MIT",
"keywords": [
"finite automata",
"state machine",
"state chart",
"adjacency graph",
"events",
"fsm"
],
"types": "index.d.ts",
"main": "./dist/cjs/statebot.js",
"module": "dist/esm/statebot.mjs",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./dist/esm/statebot.mjs",
"require": "./dist/cjs/statebot.js",
"default": "./dist/cjs/statebot.js"
},
"./assert": {
"types": "./assert/index.d.ts",
"import": "./assert/index.mjs",
"require": "./assert/index.cjs",
"default": "./assert/index.cjs"
},
"./hooks/react": {
"types": "./hooks/react/index.d.ts",
"import": "./hooks/react/index.mjs",
"require": "./hooks/react/index.mjs",
"default": "./hooks/react/index.mjs"
},
"./hooks/mithril": {
"types": "./hooks/mithril/index.d.ts",
"import": "./hooks/mithril/index.mjs",
"require": "./hooks/mithril/index.mjs",
"default": "./hooks/mithril/index.mjs"
}
},
"files": [
"dist",
"assert",
"hooks",
"CHANGELOG.md",
"README.md",
"LICENSE",
"index.d.ts"
],
"engines": {
"node": ">=10"
},
"homepage": "https://shuckster.github.io/statebot/",
"repository": {
"type": "git",
"url": "https://github.com/shuckster/statebot"
},
"bugs": {
"url": "https://github.com/shuckster/statebot/issues",
"email": "[email protected]"
},
"scripts": {
"lint": "eslint src/*.js tests/*.js",
"test": "jest --bail",
"test:watch": "jest --watchAll",
"clean": "rimraf dist",
"build:all": "pnpm run clean ; concurrently \"pnpm run build:browser\" \"pnpm run build:node\" \"pnpm run build:esm\" \"pnpm run build:assert\"",
"build:browser": "rollup --config ./build-config/rollup.config.browser.js",
"build:node": "rollup --config ./build-config/rollup.config.node.js",
"build:esm": "rollup --config ./build-config/rollup.config.esm.js",
"build:assert": "rollup --config ./build-config/rollup.config.assert.js",
"build:docs": "typedoc"
},
"dependencies": {
"mitt": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/preset-env": "^7.21.4",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^23.0.7",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^14.1.0",
"concurrently": "^7.6.0",
"eslint": "^8.38.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.5.0",
"rimraf": "^4.4.1",
"rollup": "^2.79.1",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-terser": "^7.0.2",
"typedoc": "^0.23.28",
"typescript": "^4.9.5"
}
}