Skip to content

Commit 3910d78

Browse files
committed
Add opinionated printer
1 parent 289d27b commit 3910d78

3 files changed

Lines changed: 747 additions & 1 deletion

File tree

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
".": {
2020
"types": "./dist/parser.d.ts",
2121
"default": "./dist/parser.js"
22+
},
23+
"./printer": {
24+
"types": "./dist/printer.d.ts",
25+
"default": "./dist/printer.js"
2226
}
2327
},
2428
"scripts": {
@@ -27,7 +31,7 @@
2731
"lint": "oxlint",
2832
"prepack": "tsc",
2933
"test": "node --test test/*.test.ts",
30-
"playground": "rolldown dist/parser.js -f esm -m -o playground/parser.js && cd playground && zip -r ./playground.zip ."
34+
"playground": "rolldown dist/parser.js -f esm -m -o playground/parser.js && rolldown dist/printer.js -f esm -m -o playground/printer.js && cd playground && zip -r ./playground.zip ."
3135
},
3236
"devDependencies": {
3337
"@ericcornelissen/bash-parser": "^0.5.3",

0 commit comments

Comments
 (0)