Skip to content

Commit b6e56db

Browse files
chore: add js file extension for exports (#80)
1 parent 42f8a3b commit b6e56db

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "ts-regex-builder",
33
"version": "1.5.0",
4-
"description": "TypeScript adaptation of Swift Regex Builder API",
5-
"main": "lib/commonjs/index",
6-
"module": "lib/module/index",
4+
"description": "Maintainable regular expressions for TypeScript and JavaScript.",
5+
"main": "lib/commonjs/index.js",
6+
"module": "lib/module/index.js",
77
"types": "lib/typescript/src/index.d.ts",
88
"source": "src/index",
99
"sideEffects": false,
@@ -17,13 +17,13 @@
1717
],
1818
"exports": {
1919
".": {
20-
"require": "./lib/commonjs/index",
21-
"import": "./lib/module/index",
20+
"require": "./lib/commonjs/index.js",
21+
"import": "./lib/module/index.js",
2222
"types": "./lib/typescript/src/index.d.ts"
2323
},
2424
"./patterns": {
25-
"require": "./lib/commonjs/patterns/index",
26-
"import": "./lib/module/patterns/index",
25+
"require": "./lib/commonjs/patterns/index.js",
26+
"import": "./lib/module/patterns/index.js",
2727
"types": "./lib/typescript/src/patterns/index.d.ts"
2828
}
2929
},

0 commit comments

Comments
 (0)