@gmb/bitmark-parser-generator 4.15.0 → 4.16.1

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": "@gmb/bitmark-parser-generator",
3
- "version": "4.15.0",
3
+ "version": "4.16.1",
4
4
  "description": "A bitmark parser and generator using Peggy.js",
5
5
  "author": "Get More Brain Ltd",
6
6
  "license": "ISC",
@@ -45,33 +45,33 @@
45
45
  "LICENSE"
46
46
  ],
47
47
  "scripts": {
48
- "init": "node scripts/init.ts",
48
+ "init": "tsx scripts/init.ts",
49
49
  "start": "npm run start-parser",
50
- "start-info": "node ./test/custom/dev/devInfo.ts",
51
- "start-generate-config": "node ./test/custom/dev/devGenerateConfig.ts",
52
- "start-parser": "node ./test/custom/dev/devParser.ts",
53
- "start-generator": "node ./test/custom/dev/devGenerator.ts",
54
- "start-prettify": "node ./test/custom/dev/devPrettify.ts",
55
- "start-text-bitmark-body-parser": "node ./test/custom/dev/devTextBitmarkBodyParser.ts",
56
- "start-text-bitmark-body-generator": "node ./test/custom/dev/devTextBitmarkBodyGenerator.ts",
57
- "start-text-bitmark-tag-parser": "node ./test/custom/dev/devTextBitmarkTagParser.ts",
58
- "start-text-bitmark-tag-generator": "node ./test/custom/dev/devTextBitmarkTagGenerator.ts",
59
- "start-text-bitmark-body-breakscape": "node ./test/custom/dev/devTextBitmarkBodyBreakscape.ts",
60
- "start-text-bitmark-body-unbreakscape": "node ./test/custom/dev/devTextBitmarkBodyUnbreakscape.ts",
61
- "start-text-bitmark-tag-breakscape": "node ./test/custom/dev/devTextBitmarkTagBreakscape.ts",
62
- "start-text-bitmark-tag-unbreakscape": "node ./test/custom/dev/devTextBitmarkTagUnbreakscape.ts",
63
- "start-text-plain-body-breakscape": "node ./test/custom/dev/devTextPlainBodyBreakscape.ts",
64
- "start-text-plain-body-unbreakscape": "node ./test/custom/dev/devTextPlainBodyUnbreakscape.ts",
65
- "start-text-plain-tag-breakscape": "node ./test/custom/dev/devTextPlainTagBreakscape.ts",
66
- "start-text-plain-tag-unbreakscape": "node ./test/custom/dev/devTextPlainTagUnbreakscape.ts",
50
+ "start-info": "tsx ./test/custom/dev/devInfo.ts",
51
+ "start-generate-config": "tsx ./test/custom/dev/devGenerateConfig.ts",
52
+ "start-parser": "tsx ./test/custom/dev/devParser.ts",
53
+ "start-generator": "tsx ./test/custom/dev/devGenerator.ts",
54
+ "start-prettify": "tsx ./test/custom/dev/devPrettify.ts",
55
+ "start-text-bitmark-body-parser": "tsx ./test/custom/dev/devTextBitmarkBodyParser.ts",
56
+ "start-text-bitmark-body-generator": "tsx ./test/custom/dev/devTextBitmarkBodyGenerator.ts",
57
+ "start-text-bitmark-tag-parser": "tsx ./test/custom/dev/devTextBitmarkTagParser.ts",
58
+ "start-text-bitmark-tag-generator": "tsx ./test/custom/dev/devTextBitmarkTagGenerator.ts",
59
+ "start-text-bitmark-body-breakscape": "tsx ./test/custom/dev/devTextBitmarkBodyBreakscape.ts",
60
+ "start-text-bitmark-body-unbreakscape": "tsx ./test/custom/dev/devTextBitmarkBodyUnbreakscape.ts",
61
+ "start-text-bitmark-tag-breakscape": "tsx ./test/custom/dev/devTextBitmarkTagBreakscape.ts",
62
+ "start-text-bitmark-tag-unbreakscape": "tsx ./test/custom/dev/devTextBitmarkTagUnbreakscape.ts",
63
+ "start-text-plain-body-breakscape": "tsx ./test/custom/dev/devTextPlainBodyBreakscape.ts",
64
+ "start-text-plain-body-unbreakscape": "tsx ./test/custom/dev/devTextPlainBodyUnbreakscape.ts",
65
+ "start-text-plain-tag-breakscape": "tsx ./test/custom/dev/devTextPlainTagBreakscape.ts",
66
+ "start-text-plain-tag-unbreakscape": "tsx ./test/custom/dev/devTextPlainTagUnbreakscape.ts",
67
67
  "build": "npm run clean && npm run init && npm run build-grammar-bit && npm run build-grammar-text && npm run check && tsup && npm run build-browser && npm run build-supported-info",
68
68
  "build-browser": "webpack -c ./webpack.config.cjs",
69
69
  "build-doc": "typedoc",
70
- "build-grammar-bit": "node ./scripts/grammar/bitmark/generate-bitmark-parser.ts --bit",
71
- "build-grammar-bit-test": "BPG_ENV=development node ./scripts/grammar/bitmark/generate-bitmark-parser.ts --bit --test",
72
- "build-grammar-text": "node ./scripts/grammar/text/generate-text-parser.ts",
73
- "build-grammar-text-test": "BPG_ENV=development node ./scripts/grammar/text/generate-text-parser.ts --test",
74
- "build-supported-info": "node ./scripts/generate-supported-bits-info.ts",
70
+ "build-grammar-bit": "tsx ./scripts/grammar/bitmark/generate-bitmark-parser.ts --bit",
71
+ "build-grammar-bit-test": "BPG_ENV=development tsx ./scripts/grammar/bitmark/generate-bitmark-parser.ts --bit --test",
72
+ "build-grammar-text": "tsx ./scripts/grammar/text/generate-text-parser.ts",
73
+ "build-grammar-text-test": "BPG_ENV=development tsx ./scripts/grammar/text/generate-text-parser.ts --test",
74
+ "build-supported-info": "tsx ./scripts/generate-supported-bits-info.ts",
75
75
  "test": "vitest run",
76
76
  "test-watch": "vitest",
77
77
  "test-ci": "vitest run",
@@ -95,9 +95,9 @@
95
95
  "typecheck": "tsc --noEmit",
96
96
  "lint": "eslint . --max-warnings 0",
97
97
  "lint-fix": "eslint . --fix",
98
- "regenerate-bitmark-test-json": "node ./test/custom/dev/devRegenerateBitmarkTestJson.ts",
98
+ "regenerate-bitmark-test-json": "tsx ./test/custom/dev/devRegenerateBitmarkTestJson.ts",
99
99
  "prepublishOnly": "npm run clean && npm run build && npm run test",
100
- "clean": "node scripts/clean.ts",
100
+ "clean": "tsx scripts/clean.ts",
101
101
  "tsup": "tsup",
102
102
  "tsc": "tsc",
103
103
  "webpack": "webpack"
@@ -160,6 +160,7 @@
160
160
  "prettier": "^3.6.2",
161
161
  "terser-webpack-plugin": "^5.3.14",
162
162
  "tsup": "^8.5.0",
163
+ "tsx": "^4.20.6",
163
164
  "typedoc": "^0.28.1",
164
165
  "typedoc-plugin-markdown": "^4.6.0",
165
166
  "typescript": "^5.8.3",