@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/dist/browser/bitmark-parser-generator.min.js +1 -1
- package/dist/browser/bundle-report.html +2 -2
- package/dist/browser/cjs/index.cjs +829 -71
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/cjs/index.d.cts +242 -7
- package/dist/browser/esm/index.d.ts +242 -7
- package/dist/browser/esm/index.js +829 -71
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/index.cjs +1042 -297
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +242 -7
- package/dist/index.d.ts +242 -7
- package/dist/index.js +1042 -297
- package/dist/index.js.map +1 -1
- package/package.json +27 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gmb/bitmark-parser-generator",
|
|
3
|
-
"version": "4.
|
|
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": "
|
|
48
|
+
"init": "tsx scripts/init.ts",
|
|
49
49
|
"start": "npm run start-parser",
|
|
50
|
-
"start-info": "
|
|
51
|
-
"start-generate-config": "
|
|
52
|
-
"start-parser": "
|
|
53
|
-
"start-generator": "
|
|
54
|
-
"start-prettify": "
|
|
55
|
-
"start-text-bitmark-body-parser": "
|
|
56
|
-
"start-text-bitmark-body-generator": "
|
|
57
|
-
"start-text-bitmark-tag-parser": "
|
|
58
|
-
"start-text-bitmark-tag-generator": "
|
|
59
|
-
"start-text-bitmark-body-breakscape": "
|
|
60
|
-
"start-text-bitmark-body-unbreakscape": "
|
|
61
|
-
"start-text-bitmark-tag-breakscape": "
|
|
62
|
-
"start-text-bitmark-tag-unbreakscape": "
|
|
63
|
-
"start-text-plain-body-breakscape": "
|
|
64
|
-
"start-text-plain-body-unbreakscape": "
|
|
65
|
-
"start-text-plain-tag-breakscape": "
|
|
66
|
-
"start-text-plain-tag-unbreakscape": "
|
|
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": "
|
|
71
|
-
"build-grammar-bit-test": "BPG_ENV=development
|
|
72
|
-
"build-grammar-text": "
|
|
73
|
-
"build-grammar-text-test": "BPG_ENV=development
|
|
74
|
-
"build-supported-info": "
|
|
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": "
|
|
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": "
|
|
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",
|