Skip to content

Commit

Permalink
fix(cli): Fix compilation folders that got mixed up
Browse files Browse the repository at this point in the history
  • Loading branch information
daffl committed Jun 22, 2022
1 parent 2085504 commit fc4cb74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/app/templates/package.json.tpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ const jsPackageJson = (lib: string) => ({
const tsPackageJson = (lib: string) => ({
scripts: {
dev: `nodemon -x ts-node ${lib}/index.ts`,
compile: 'shx rm -rf dist/ && tsc',
start: 'npm run compile && node dist/',
compile: 'shx rm -rf lib/ && tsc',
start: 'npm run compile && node lib/',
mocha:
'cross-env NODE_ENV=test mocha test/ --require ts-node/register --recursive --extension .ts --exit',
test: 'npm run mocha'
Expand Down

0 comments on commit fc4cb74

Please sign in to comment.