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 c3dfd12 commit 2296c6c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 15 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020-2023 Individual contributors to puppeteer-browser-ready
Copyright (c) 2020-2024 Individual contributors to puppeteer-browser-ready

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ Example configuration in **package.json** to allow 5,000 ms:
- 🪺 [recursive-exec](https://github.com/center-key/recursive-exec):  _Run a command on each file in a folder and its subfolders_
- 🔍 [replacer-util](https://github.com/center-key/replacer-util):  _Find and replace strings or template outputs in text files_
- 🔢 [rev-web-assets](https://github.com/center-key/rev-web-assets):  _Revision web asset filenames with cache busting content hash fingerprints_
- 🚆 [run-scripts-util](https://github.com/center-key/run-scripts-util):  _Organize npm scripts into named groups of easy to manage commands_
- 🚆 [run-scripts-util](https://github.com/center-key/run-scripts-util):  _Organize npm package.json scripts into named groups of easy to manage commands_
- 🚦 [w3c-html-validator](https://github.com/center-key/w3c-html-validator):  _Check the markup validity of HTML files using the W3C validator_
[MIT License](LICENSE.txt)
5 changes: 3 additions & 2 deletions hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"license": "MIT",
"private": true,
"type": "module",
"main": "index.js",
"module": "index.js",
"exports": "./index.js",
"jshintConfig": {
"esversion": 11
},
Expand All @@ -15,7 +16,7 @@
},
"dependencies": {
"jshint": "~2.13",
"puppeteer": "~21.6",
"puppeteer": "~21.9",
"puppeteer-browser-ready": "~1.3"
}
}
16 changes: 5 additions & 11 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/puppeteer-browser-ready.js",
"main": "dist/puppeteer-browser-ready.js",
"types": "dist/puppeteer-browser-ready.d.ts",
"exports": "./dist/puppeteer-browser-ready.js",
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/puppeteer-browser-ready.js"
},
"./": "./dist/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/center-key/puppeteer-browser-ready.git"
Expand Down Expand Up @@ -95,10 +89,10 @@
"devDependencies": {
"@types/express": "~4.17",
"@types/mocha": "~10.0",
"@types/node": "~20.10",
"@types/node": "~20.11",
"@types/ws": "~8.5",
"@typescript-eslint/eslint-plugin": "~6.15",
"@typescript-eslint/parser": "~6.15",
"@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",
Expand All @@ -107,7 +101,7 @@
"jshint": "~2.13",
"mocha": "~10.2",
"open": "~10.0",
"puppeteer": "~21.6",
"puppeteer": "~21.9",
"rimraf": "~5.0",
"run-scripts-util": "~1.2",
"typescript": "~5.3",
Expand Down

0 comments on commit 2296c6c

Please sign in to comment.