jssm 5.67.0 → 5.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +43 -47
- package/dist/es6/version.js +1 -1
- package/dist/jssm.es5.cjs.js +1 -1
- package/dist/jssm.es5.iife.js +1 -1
- package/package.json +8 -3
- package/typedoc-options.js +7 -3
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jssm",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.69.0",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=10.0.0"
|
|
6
6
|
},
|
|
7
7
|
"exports": {
|
|
8
8
|
"require": "./dist/jssm.es5.cjs.js",
|
|
9
|
-
"import": "./dist/es6/jssm.js"
|
|
9
|
+
"import": "./dist/es6/jssm.js",
|
|
10
|
+
"default": "./dist/jssm.es5.cjs.js",
|
|
11
|
+
"browser": "dist/jssm.es5.iife.js"
|
|
10
12
|
},
|
|
11
13
|
"autoupdate": {
|
|
12
14
|
"source": "git",
|
|
@@ -23,6 +25,7 @@
|
|
|
23
25
|
"description": "A Javascript finite state machine (FSM) with a terse DSL and a simple API. Most FSMs are one-liners. Fast, easy, powerful, well tested, typed with TypeScript, and visualizations. MIT License.",
|
|
24
26
|
"main": "dist/jssm.es5.cjs.js",
|
|
25
27
|
"module": "dist/es6/jssm.js",
|
|
28
|
+
"browser": "dist/jssm.es5.iife.js",
|
|
26
29
|
"types": "./jssm.d.ts",
|
|
27
30
|
"scripts": {
|
|
28
31
|
"jest-spec": "jest -c jest-spec.config.js --color --verbose",
|
|
@@ -39,7 +42,7 @@
|
|
|
39
42
|
"make_iife": "rollup -c rollup.config.iife.js",
|
|
40
43
|
"typescript": "tsc --build tsconfig.json && cp dist/es6/*.d.ts .",
|
|
41
44
|
"makever": "node src/buildjs/makever.js",
|
|
42
|
-
"make": "npm run clean && npm run makever && npm run peg && npm run typescript && npm run make_iife && npm run make_cjs && npm run minify && npm run min_iife && npm run min_cjs",
|
|
45
|
+
"make": "npm run clean && npm run makever && npm run peg && npm run typescript && npm run make_iife && npm run make_cjs && npm run minify && npm run min_iife && npm run min_cjs && rm ./dist/es6/*.nonmin.js",
|
|
43
46
|
"eslint": "eslint --color src/ts/jssm.ts src/ts/jssm_types.ts src/ts/tests/*.ts",
|
|
44
47
|
"audit": "text_audit -r -t major MAJOR wasteful WASTEFUL any mixed fixme FIXME checkme CHECKME testme TESTME stochable STOCHABLE todo TODO comeback COMEBACK whargarbl WHARGARBL -g ./src/ts/**/*.{js,ts}",
|
|
45
48
|
"vet": "npm run eslint && npm run audit",
|
|
@@ -84,6 +87,8 @@
|
|
|
84
87
|
"moore-machine",
|
|
85
88
|
"graphviz",
|
|
86
89
|
"viz.js",
|
|
90
|
+
"fsl",
|
|
91
|
+
"finite-state-language",
|
|
87
92
|
"flowchart",
|
|
88
93
|
"visualization",
|
|
89
94
|
"TypeScript",
|
package/typedoc-options.js
CHANGED
|
@@ -11,7 +11,8 @@ module.exports = {
|
|
|
11
11
|
source: './src/doc_md/',
|
|
12
12
|
pages: [
|
|
13
13
|
{ title: 'Tutorials', childrenDir: './', children: [
|
|
14
|
-
{ title: '
|
|
14
|
+
{ title: 'What are state machines?', source: 'WhatAreStateMachines.md' },
|
|
15
|
+
{ title: '☕ Quick Start', source: 'GettingStarted.md' },
|
|
15
16
|
{ title: 'Language reference', source: 'todo.md' },
|
|
16
17
|
{ title: 'API reference', source: 'todo.md' },
|
|
17
18
|
{ title: 'Example machines', source: 'todo.md' },
|
|
@@ -20,7 +21,10 @@ module.exports = {
|
|
|
20
21
|
{ title: 'Bundling', source: 'todo.md' },
|
|
21
22
|
{ title: 'Publishing', source: 'todo.md' }
|
|
22
23
|
] },
|
|
23
|
-
{ title: '
|
|
24
|
+
{ title: 'Comparisons', childrenDir: './', children: [
|
|
25
|
+
{ title: 'Feature comparison', source: 'FeatureComparison.md' },
|
|
26
|
+
{ title: 'LOC Shootout', source: 'Shootout.md' }
|
|
27
|
+
] },
|
|
24
28
|
] },
|
|
25
29
|
{ title: 'Tools', childrenDir: './', children: [
|
|
26
30
|
{ title: 'Live Editor', source: 'live_editor.md' },
|
|
@@ -30,7 +34,7 @@ module.exports = {
|
|
|
30
34
|
{ title: 'Community', source: 'community.md' }
|
|
31
35
|
] },
|
|
32
36
|
{ title: 'VIRTUAL', childrenDir: './', children: [
|
|
33
|
-
{ title: 'Changelog', source: 'CHANGELOG.md' }
|
|
37
|
+
{ title: 'Changelog', source: 'CHANGELOG.long.md' }
|
|
34
38
|
] },
|
|
35
39
|
// { title: '@knodes/typedoc-plugin-code-blocks', source: 'readme-extras.md', children: [
|
|
36
40
|
// { title: 'Using options', source: 'options.md' },
|