Skip to content

Commit

Permalink
chore: update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Moore committed Apr 20, 2021
1 parent 4749b45 commit 14ca36d
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit 14ca36d

Please sign in to comment.