Skip to content

Commit

Permalink
fix: troubleshoot failing build
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Jan 3, 2025
1 parent 78dd7f1 commit 8363aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"scripts": {
"benchmark": "ts-node --transpile-only test/benchmark.ts",
"build": "npm run compile-parser && del-cli ./dist && tsc",
"compile-parser": "nearleyc src/grammar.ne --out ./src/grammar.ts && sed -i '' 's/loc?: number/loc: number/g' src/grammar.ts && sed -i '' 's/@ts-expect-error//g' src/grammar.ts && sed -i '' 's/@ts-ignore//g' src/grammar.ts && eslint --fix src/grammar.ts",
"compile-parser": "nearleyc src/grammar.ne --out ./src/grammar.ts && sleep 1 && sed -i '' 's/loc?: number/loc: number/g' src/grammar.ts && sed -i '' 's/@ts-expect-error//g' src/grammar.ts && sed -i '' 's/@ts-ignore//g' src/grammar.ts && eslint --fix src/grammar.ts",
"dev": "tsc --watch",
"lint": "eslint ./src ./test && tsc --noEmit",
"test": "NODE_ENV=test ava --serial --verbose",
Expand Down

0 comments on commit 8363aea

Please sign in to comment.