atsds-bnf 0.0.5-alpha1 → 0.0.6-alpha1
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/index.d.mts +13 -0
- package/package.json +6 -5
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Parse Dsp format (human-readable) to Ds format (internal S-expression)
|
|
3
|
+
* @param input - The Dsp format string to parse
|
|
4
|
+
* @returns The Ds format string
|
|
5
|
+
*/
|
|
6
|
+
export function parse(input: string): string;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Unparse Ds format (internal S-expression) to Dsp format (human-readable)
|
|
10
|
+
* @param input - The Ds format string to unparse
|
|
11
|
+
* @returns The Dsp format string
|
|
12
|
+
*/
|
|
13
|
+
export function unparse(input: string): string;
|
package/package.json
CHANGED
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
"main": "dist/index.mjs",
|
|
14
14
|
"module": "dist/index.mjs",
|
|
15
15
|
"browser": "dist/index.mjs",
|
|
16
|
+
"types": "dist/index.d.mts",
|
|
16
17
|
"files": [
|
|
18
|
+
"dist/index.d.mts",
|
|
17
19
|
"dist/index.mjs"
|
|
18
20
|
],
|
|
19
21
|
"scripts": {
|
|
@@ -25,19 +27,18 @@
|
|
|
25
27
|
"test": "cross-env NODE_OPTIONS='$NODE_OPTIONS --experimental-vm-modules' jest --config=jest.config.mjs",
|
|
26
28
|
"all": "run-s build test"
|
|
27
29
|
},
|
|
28
|
-
"dependencies": {
|
|
29
|
-
"antlr4": "^4.13.2"
|
|
30
|
-
},
|
|
31
30
|
"devDependencies": {
|
|
32
31
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
33
32
|
"@rollup/plugin-json": "^6.1.0",
|
|
34
33
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
35
34
|
"@rollup/plugin-terser": "^0.4.4",
|
|
36
35
|
"@types/jest": "^30.0.0",
|
|
36
|
+
"antlr4": "^4.13.2",
|
|
37
37
|
"cross-env": "^10.1.0",
|
|
38
38
|
"jest": "^30.2.0",
|
|
39
39
|
"npm-run-all": "^4.1.5",
|
|
40
|
-
"rollup": "^4.53.3"
|
|
40
|
+
"rollup": "^4.53.3",
|
|
41
|
+
"rollup-plugin-copy": "^3.5.0"
|
|
41
42
|
},
|
|
42
|
-
"version": "0.0.
|
|
43
|
+
"version": "0.0.6-alpha1"
|
|
43
44
|
}
|