Skip to content

Commit

Permalink
Remove obsolete "main" field from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Jan 25, 2024
1 parent 83b51f6 commit 7fcb62f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
5 changes: 3 additions & 2 deletions hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"version": "0.0.0",
"license": "MIT",
"type": "module",
"main": "server.js",
"module": "server.js",
"exports": "./server.js",
"repository": {
"type": "git",
"url": "git+https://github.com/center-key/hello-world.git"
Expand All @@ -27,7 +28,7 @@
},
"devDependencies": {
"assert-deep-strict-equal": "~1.1",
"fetch-json": "~3.2",
"fetch-json": "~3.3",
"jshint": "~2.13",
"mocha": "~10.2",
"server-listening": "~1.2"
Expand Down
18 changes: 6 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,11 @@
"license": "MIT",
"type": "module",
"module": "dist/server-listening.js",
"main": "dist/server-listening.js",
"types": "dist/server-listening.d.ts",
"exports": "./dist/server-listening.js",
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/server-listening.js"
},
"./": "./dist/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/center-key/server-listening.git"
Expand Down Expand Up @@ -89,20 +83,20 @@
"dependencies": {
"express": "~4.18",
"http-terminator": "~3.2",
"jsdom": "~23.0"
"jsdom": "~24.0"
},
"devDependencies": {
"@types/express": "~4.17",
"@types/jsdom": "~21.1",
"@types/node": "~20.10",
"@typescript-eslint/eslint-plugin": "~6.17",
"@typescript-eslint/parser": "~6.17",
"@types/node": "~20.11",
"@typescript-eslint/eslint-plugin": "~6.19",
"@typescript-eslint/parser": "~6.19",
"add-dist-header": "~1.3",
"assert-deep-strict-equal": "~1.1",
"copy-file-util": "~1.1",
"copy-folder-util": "~1.1",
"eslint": "~8.56",
"fetch-json": "~3.2",
"fetch-json": "~3.3",
"jshint": "~2.13",
"mocha": "~10.2",
"rimraf": "~5.0",
Expand Down

0 comments on commit 7fcb62f

Please sign in to comment.