exrout 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,10 +1,20 @@
1
1
  {
2
2
  "name": "exrout",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Automatically load and register Express routes from folder structure",
5
- "main": "dist/cjs/index.js",
6
- "module": "dist/esm/index.js",
7
- "types": "dist/cjs/index.d.ts",
5
+ "type": "module",
6
+
7
+ "main": "./dist/cjs/index.cjs",
8
+ "module": "./dist/esm/index.js",
9
+ "types": "./dist/cjs/index.d.ts",
10
+
11
+ "exports": {
12
+ ".": {
13
+ "require": "./dist/cjs/index.cjs",
14
+ "import": "./dist/esm/index.js"
15
+ }
16
+ },
17
+
8
18
  "files": [
9
19
  "dist"
10
20
  ],
@@ -25,5 +35,5 @@
25
35
  },
26
36
  "keywords": ["express", "routes", "auto", "typescript", "commonjs", "esm"],
27
37
  "license": "MIT",
28
- "type": "module"
38
+ "author": "Marouane Akrich"
29
39
  }
File without changes
File without changes
File without changes