Skip to content

Commit

Permalink
Fix concurrently to work with npm also
Browse files Browse the repository at this point in the history
It needs to be `npm run-script build:cjs`.
`yarn build:cjs` and `yarn:build:cjs` both work.
  • Loading branch information
gosar committed Feb 23, 2022
1 parent d02ff59 commit fc43db2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "${packageDescription}",
"version": "${packageVersion}",
"scripts": {
"build": "concurrently '${packageManager}:build:cjs' '${packageManager}:build:es' '${packageManager}:build:types'",
"build": "concurrently '${packageManager} build:cjs' '${packageManager} build:es' '${packageManager} build:types'",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:docs": "typedoc",
"build:es": "tsc -p tsconfig.es.json",
Expand Down

0 comments on commit fc43db2

Please sign in to comment.