Skip to content

Commit

Permalink
fix: add remove main, module and types properties in package.json
Browse files Browse the repository at this point in the history
New typescript version do not allow commonJS output with node16 moduleResolution.
By adding back those 3 properties it should fix this issue and node16 moduleResolution should not be required anymore.
  • Loading branch information
lpatiny committed Sep 14, 2023
1 parent 58e915e commit af6757e
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "ml-spectra-processing",
"version": "12.5.0",
"description": "Various method to process spectra",
"main": "./lib/index.js",
"module": "./lib-esm/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"node": "./lib/index.js",
Expand Down Expand Up @@ -85,20 +88,20 @@
},
"homepage": "https://github.com/mljs/spectra-processing#readme",
"devDependencies": {
"@types/jest": "^29.5.3",
"@types/jest": "^29.5.4",
"cheminfo-build": "^1.2.0",
"eslint": "^8.46.0",
"eslint": "^8.49.0",
"eslint-config-cheminfo-typescript": "^12.0.4",
"esm": "^3.2.25",
"jest": "^29.6.2",
"jest": "^29.7.0",
"jest-matcher-deep-close-to": "^3.0.2",
"jscpd": "^3.5.9",
"ml-spectra-fitting": "^4.2.1",
"prettier": "^3.0.1",
"prettier": "^3.0.3",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.1",
"typedoc": "^0.24.8",
"typescript": "^5.1.6"
"typedoc": "^0.25.1",
"typescript": "^5.2.2"
},
"dependencies": {
"binary-search": "^1.3.6",
Expand Down

0 comments on commit af6757e

Please sign in to comment.