Skip to content

Commit

Permalink
Removed type: module from package.json (#8)
Browse files Browse the repository at this point in the history
Also added `DS_Store` to `.gitignore`
  • Loading branch information
Bullrich authored May 4, 2024
1 parent 9e14401 commit 84c8999
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
dist
docs
.DS_Store
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "story-gpt",
"version": "0.0.0-updated-via-gh-releases",
"type": "module",
"description": "Generate a story with an image from a prompt using OpenAI's GPT",
"main": "dist/cjs/index.js",
"module": "dist/index.js",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "CommonJS",
"target": "ES2015",
"outDir": "./dist/cjs"
},
}
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"src/index.ts"
],
"compilerOptions": {
"target": "ES2015",
"module": "ES2020",
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Node",
"declaration": true,
"outDir": "./dist",
Expand Down

0 comments on commit 84c8999

Please sign in to comment.