Skip to content

Commit

Permalink
add a "build types" npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
koddsson committed Dec 28, 2023
1 parent ac2601c commit 7043b53
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 @@ -29,8 +29,9 @@
"main": "./chai.js",
"scripts": {
"prebuild": "npm run clean",
"build": "npm run build:esm",
"build": "npm run build:esm && npm run build:types",
"build:esm": "esbuild --bundle --format=esm --keep-names --outfile=chai.js index.js",
"build:types": "tsc",
"pretest": "npm run build",
"test": "npm run test-node && npm run test-chrome",
"test-node": "mocha --require ./test/bootstrap/index.js --reporter dot test/*.js",
Expand Down

0 comments on commit 7043b53

Please sign in to comment.