jssm 5.51.0 → 5.54.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/.codeclimate.yml +22 -0
- package/.editorconfig +12 -0
- package/.eslintrc +20 -0
- package/.nycrc +6 -0
- package/.travis.yml +9 -0
- package/dist/es6/version.js +1 -1
- package/dist/jssm.es5.cjs.js +1 -1
- package/dist/jssm.es5.iife.js +1 -1
- package/jest-spec.config.js +27 -0
- package/jest-stoch.config.js +27 -0
- package/package.json +6 -2
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
|
|
2
|
+
module.exports = {
|
|
3
|
+
|
|
4
|
+
testEnvironment : 'node',
|
|
5
|
+
|
|
6
|
+
moduleFileExtensions : ['js', 'ts'],
|
|
7
|
+
coveragePathIgnorePatterns : ["/node_modules/", "/src/ts/tests/"],
|
|
8
|
+
testMatch : ['**/*.spec.ts'],
|
|
9
|
+
|
|
10
|
+
transform : { '^.+\\.ts$': 'ts-jest' },
|
|
11
|
+
|
|
12
|
+
verbose : false,
|
|
13
|
+
collectCoverage : true,
|
|
14
|
+
coverageDirectory : "coverage/spec/",
|
|
15
|
+
|
|
16
|
+
coverageThreshold : {
|
|
17
|
+
global : {
|
|
18
|
+
branches : 90,
|
|
19
|
+
functions : 90,
|
|
20
|
+
lines : 90,
|
|
21
|
+
statements : 90,
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
collectCoverageFrom: ["src/ts/**/{!(jssm-dot),}.{js,ts}"]
|
|
26
|
+
|
|
27
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
|
|
2
|
+
module.exports = {
|
|
3
|
+
|
|
4
|
+
testEnvironment : 'node',
|
|
5
|
+
|
|
6
|
+
moduleFileExtensions : ['js', 'ts'],
|
|
7
|
+
coveragePathIgnorePatterns : ["/node_modules/", "/src/ts/tests/"],
|
|
8
|
+
testMatch : ['**/*.stoch.ts'],
|
|
9
|
+
|
|
10
|
+
transform : { '^.+\\.ts$': 'ts-jest' },
|
|
11
|
+
|
|
12
|
+
verbose : false,
|
|
13
|
+
collectCoverage : true,
|
|
14
|
+
coverageDirectory : "coverage/stoch/",
|
|
15
|
+
|
|
16
|
+
coverageThreshold : {
|
|
17
|
+
global : {
|
|
18
|
+
branches : 1,
|
|
19
|
+
functions : 1,
|
|
20
|
+
lines : 1,
|
|
21
|
+
statements : 1,
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
collectCoverageFrom: ["src/ts/**/{!(jssm-dot),}.{js,ts}"]
|
|
26
|
+
|
|
27
|
+
};
|
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jssm",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.54.0",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=10.0.0"
|
|
6
6
|
},
|
|
7
|
+
"exports": {
|
|
8
|
+
"require": "./dist/jssm.es5.cjs.js",
|
|
9
|
+
"import": "./dist/es6/jssm.js"
|
|
10
|
+
},
|
|
7
11
|
"autoupdate": {
|
|
8
12
|
"source": "git",
|
|
9
13
|
"target": "git://github.com/StoneCypher/jssm.git",
|
|
@@ -16,7 +20,7 @@
|
|
|
16
20
|
}
|
|
17
21
|
]
|
|
18
22
|
},
|
|
19
|
-
"description": "A Javascript finite state machine (FSM) with a terse DSL and a simple API.
|
|
23
|
+
"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.",
|
|
20
24
|
"main": "dist/jssm.es5.cjs.js",
|
|
21
25
|
"module": "dist/es6/jssm.js",
|
|
22
26
|
"types": "./jssm.d.ts",
|