Skip to content

Commit cb8b891

Browse files
committed
update package.json for node support
1 parent 39cb477 commit cb8b891

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
vendor
2-
tests/server/basic/test.db
3-
tests/server/dbAuth/test.db

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "js-crud-api",
33
"version": "0.3.0",
44
"description": "JavaScript API for php-crud-api",
5+
"type": "module",
56
"keywords": [
67
"php-crud-api",
78
"javascript",
@@ -11,7 +12,8 @@
1112
],
1213
"author": "Thierry PAGES",
1314
"license": "MIT",
14-
"module": "esm/index.js",
15+
"main": "./esm/index.js",
16+
"module": "./esm/index.js",
1517
"repository": {
1618
"type": "git",
1719
"url": "git+https://github.com/thipages/js-crud-api.git"

tests/server/dbAuth/test.db

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)