Skip to content

Commit

Permalink
Change module system to UMD
Browse files Browse the repository at this point in the history
* **tsconfig.json**
  - Change the `module` option from `commonjs` to `umd`
* **package.json**
  - Change the `main` field to `dist/sportlink-to-mailchimp-converter.umd.js`
  - Change the `types` field to `dist/sportlink-to-mailchimp-converter.umd.d.ts`
  • Loading branch information
EdwinOtten committed Oct 30, 2024
1 parent 4492c60 commit 99ca900
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"name": "sportlink-to-mailchimp-converter",
"version": "0.1.1",
"description": "A node module that converts Sportlink exports (.csv) into a csv you can import into Mailchimp.",
"main": "dist/sportlink-to-mailchimp-converter.js",
"types": "dist/sportlink-to-mailchimp-converter.d.ts",
"main": "dist/sportlink-to-mailchimp-converter.umd.js",
"types": "dist/sportlink-to-mailchimp-converter.umd.d.ts",
"type": "commonjs",
"scripts": {
"build": "tsc --module umd",
"build": "tsc",
"lint": "eslint src",
"prepublish": "tsc --module umd",
"prepublish": "tsc",
"test": "jest",
"test:coverage": "jest --coverage=true --coverageDirectory=./coverage",
"watch": "tsc --watch"
Expand Down

0 comments on commit 99ca900

Please sign in to comment.