Skip to content

Commit a2a04c9

Browse files
committed
fix: Removed module type
1 parent 164a255 commit a2a04c9

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"name": "@devjacob/smush",
3-
"version": "1.0.0",
3+
"version": "1.0.6",
44
"description": "A simple function to make merging objects together a bit easier, because why not!",
55
"author": "Jacob Paulin",
66
"license": "MPL-2.0",
7-
"type": "module",
87
"main": "./lib/index.js",
98
"types": "./lib/index.d.ts",
109
"repository": {
@@ -21,8 +20,8 @@
2120
"test:list": "mocha --parallel --full-trace --recursive --reporter list",
2221
"pretest:progress": "npm run build",
2322
"test:progress": "mocha --recursive --reporter progress",
24-
"prepublish": "npm run build",
25-
"publish": "npm publish --access=publish"
23+
"prepublish:npm": "npm run build",
24+
"publish:npm": "npm publish --access=public"
2625
},
2726
"devDependencies": {
2827
"@faker-js/faker": "^8.4.1",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"useUnknownInCatchVariables": true, // https://www.typescriptlang.org/tsconfig#useUnknownInCatchVariables
1616

1717
// Modules
18-
"module": "es2015",
18+
"module": "CommonJS",
1919
"moduleResolution": "node",
2020
"baseUrl": "./src",
2121

0 commit comments

Comments
 (0)