Skip to content

Commit 14e5daf

Browse files
committed
Ensure valid JSON in dist/cjs/package.json
1 parent 32fb2e7 commit 14e5daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"prepare": "yarn clean && yarn grammar && yarn fix && yarn check && yarn build",
6464
"pre-commit": "npm-run-all --parallel ts:changes lint:changes",
6565
"grammar": "nearleyc src/parser/grammar.ne -o src/parser/grammar.ts",
66-
"build:cjs": "tsc -p tsconfig.cjs.json && echo \"{\"type\": \"commonjs\"}\" > dist/cjs/package.json",
66+
"build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
6767
"build:esm": "tsc -p tsconfig.esm.json",
6868
"build:webpack": "webpack --config webpack.prod.js && cp dist/sql-formatter.min.cjs dist/sql-formatter.min.js",
6969
"build": "yarn grammar && npm-run-all --parallel build:cjs build:esm build:webpack",

0 commit comments

Comments
 (0)