Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prettier support for .astro files #106

Merged
merged 22 commits into from
Apr 21, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: update build script
  • Loading branch information
Nate Moore committed Apr 20, 2021
commit b5dfcc6f39617cb13b1b6982a9414050dedc8122
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"astro.mjs"
],
"scripts": {
"build": "tsc",
"build": "npm run build:core && npm run build:parser",
"build:core": "tsc",
"build:parser": "tsc src/parser/*.ts --module CommonJS --outDir parser --declaration && echo '{ \"type\": \"commonjs\" }' > parser/package.json",
"dev": "tsc --watch",
"lint": "eslint 'src/**/*.{js,ts}'",
Expand Down