@stateforward/hsm.ts 0.1.0 → 0.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stateforward/hsm.ts",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "description": "Standalone TypeScript hierarchical state machine library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -30,11 +30,11 @@
30
30
  "scripts": {
31
31
  "benchmark:muid": "tsx scripts/benchmark-muid.ts",
32
32
  "build": "tsup",
33
- "coverage": "npm run build && node --test --experimental-test-coverage --test-coverage-include=dist/index.js --test-coverage-include=dist/kind.js --test-coverage-include=dist/muid.js --test-coverage-lines=100 --test-coverage-functions=100 --test-coverage-branches=100 tests/runtime-ported/*.test.cjs",
34
- "test:parity": "npm run build && node --test tests/runtime-ported/*.test.cjs",
33
+ "coverage": "node --import tsx --test --experimental-test-coverage --test-coverage-include=src/hsm.ts --test-coverage-include=src/kind.ts --test-coverage-include=src/muid.ts tests/runtime-ported/*.test.ts",
34
+ "test:parity": "tsx --test tests/runtime-ported/*.test.ts",
35
35
  "test:types": "for config in tests/types/*/tsconfig.json; do tsc -p \"$config\" --pretty false || exit 1; done",
36
36
  "typecheck": "tsc --noEmit",
37
- "test": "npm run typecheck && npm run test:types && npm run test:parity"
37
+ "test": "npm run typecheck && npm run test:types && npm run build && npm run test:parity"
38
38
  },
39
39
  "keywords": [
40
40
  "state-machine",