Skip to content

Commit

Permalink
Simplified build commands
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jul 2, 2023
1 parent 2741671 commit ab221ed
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/.github/
/coverage/
/src/
/tests/
/test/
/tsconfig.json
/tsconfig.cjs.json
/.eslintrc.cjs
*.log
*.tgz
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"watch:esm": "tsc --watch",
"watch:cjs": "npm run build:cjs && tsc --project tsconfig.cjs.json --watch",
"build:cjs": "tsc --project tsconfig.cjs.json && echo { \"type\": \"commonjs\" }>cjs/package.json",
"test": "mocha tests/*.js tests/*.cjs --timeout 10000",
"build:cjs": "tsc --outDir cjs --module commonjs && echo { \"type\": \"commonjs\" }>cjs/package.json",
"watch:cjs": "npm run build:cjs && tsc --outDir cjs --module commonjs --watch",
"lint": "eslint",
"test": "mocha",
"coverage": "c8 -r text -r text-summary -r lcov npm test"
},
"repository": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 0 additions & 7 deletions tsconfig.cjs.json

This file was deleted.

0 comments on commit ab221ed

Please sign in to comment.