Skip to content

Commit

Permalink
Merge pull request #19 from astitvsingh/main
Browse files Browse the repository at this point in the history
`Commit Message Title`
  • Loading branch information
astitvsingh authored Nov 9, 2024
2 parents 9efb476 + d84cbe7 commit 983e7a0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
20 changes: 17 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
{
"name": "casinojs",
"version": "0.1.0-alpha",
"description": "A Casino Js Library.",
"description": "A comprehensive JavaScript library for building and managing casino game functionalities, including poker seat management, event handling, and custom middleware.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"type": "module",
"directories": {
"doc": "docs"
},
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts"
}
},
"scripts": {
"build": "tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json",
"test": "jest --coverage",
"docify": "typedoc --entryPointStrategy expand src --out docs/site"
"docify": "typedoc --entryPointStrategy expand src --out docs/site",
"prepublishOnly": "npm run build && npm test && npm run docify",
"prepublish": "npm run build && npm test && npm run docify"
},
"repository": {
"type": "git",
Expand All @@ -22,7 +32,11 @@
"casino",
"pokerjs",
"poker",
"lib"
"casino library",
"game management",
"event handling",
"middleware",
"typescript"
],
"author": "Astitv Singh <https://github.com/astitvsingh>",
"license": "SEE LICENSE IN LICENSE",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "CommonJS",
"declaration": true,
"outDir": "./dist/cjs"
}
}
1 change: 1 addition & 0 deletions tsconfig.esm.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "ESNext",
"declaration": true,
"outDir": "./dist/esm"
}
}

0 comments on commit 983e7a0

Please sign in to comment.