Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

Commit

Permalink
build: build with pkgroll instead of tsc
Browse files Browse the repository at this point in the history
  • Loading branch information
piquark6046 committed Apr 4, 2024
1 parent 7015f16 commit 26afe14
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
19 changes: 13 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
{
"name": "multithread-array",
"version": "1.0.1",
"version": "1.0.2",
"type": "module",
"description": "",
"scripts": {
"build": "tsc",
"exec": "tsx index.ts",
"build": "pkgroll --src sources",
"exec": "tsx sources/index.ts",
"lint": "tsc && eslint . --ext .ts"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"exports": {
".": {
"default": "./dist/index.js",
"types": "./dist/index.d.ts"
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
}
},
"types": "dist/index.d.ts",
Expand All @@ -38,6 +44,7 @@
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.1.1",
"eslint": "^8.57.0",
"pkgroll": "^2.0.2",
"tsx": "^4.7.2",
"typescript-eslint": "^7.5.0"
},
Expand Down
File renamed without changes.
2 changes: 0 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
"removeComments": false,
"alwaysStrict": true,
"skipLibCheck": true,
"declaration": true,
},
"include": [
"index.ts",
"sources/**/*.ts",
".eslintrc.js"
]
Expand Down

0 comments on commit 26afe14

Please sign in to comment.