jssm 5.52.0 → 5.55.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/jssm-dot.js +1 -1
- 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 +13 -9
|
@@ -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.55.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",
|
|
@@ -90,6 +94,9 @@
|
|
|
90
94
|
},
|
|
91
95
|
"homepage": "https://stonecypher.github.io/jssm/",
|
|
92
96
|
"devDependencies": {
|
|
97
|
+
"@rollup/plugin-commonjs": "^22.0.0",
|
|
98
|
+
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
99
|
+
"@rollup/plugin-replace": "^4.0.0",
|
|
93
100
|
"@types/jest": "^27.0.2",
|
|
94
101
|
"@typescript-eslint/eslint-plugin": "^4.13.0",
|
|
95
102
|
"@typescript-eslint/parser": "^4.13.0",
|
|
@@ -106,17 +113,14 @@
|
|
|
106
113
|
"glob": "^7.1.6",
|
|
107
114
|
"jest": "^27.3.1",
|
|
108
115
|
"pegjs": "^0.10.0",
|
|
109
|
-
"rollup": "^
|
|
110
|
-
"rollup-plugin-commonjs": "^9.3.4",
|
|
111
|
-
"rollup-plugin-node-resolve": "^4.2.3",
|
|
112
|
-
"rollup-plugin-replace": "^2.2.0",
|
|
113
|
-
"rollup-plugin-typescript2": "^0.27.0",
|
|
116
|
+
"rollup": "^2.72.1",
|
|
114
117
|
"semver": "^5.7.1",
|
|
115
|
-
"terser": "^
|
|
118
|
+
"terser": "^5.13.1",
|
|
116
119
|
"text_audit": "^0.9.3",
|
|
117
120
|
"ts-jest": "^27.0.7",
|
|
121
|
+
"tscheck": "^0.1.5",
|
|
118
122
|
"typedoc": "^0.22.15",
|
|
119
|
-
"typescript": "^4.
|
|
123
|
+
"typescript": "^4.6.4"
|
|
120
124
|
},
|
|
121
125
|
"dependencies": {
|
|
122
126
|
"reduce-to-639-1": "^1.0.4"
|