Skip to content

Commit

Permalink
Publish v0.1.8 allow to run in node
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenmeier committed May 5, 2024
1 parent 65b3bc3 commit c027d24
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
17 changes: 13 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chnobli",
"version": "0.1.7",
"version": "0.1.8",
"author": "Sören Meier <[email protected]>",
"type": "module",
"scripts": {
Expand All @@ -18,9 +18,18 @@
},
"license": "MIT",
"exports": {
"./easing": "./dist/timing/easing.js",
"./utils": "./dist/utils/utils.js",
".": "./dist/chnobli.js"
"./easing": {
"import": "./dist/timing/easing.js",
"types": "./dist/timing/easing.d.ts"
},
"./utils": {
"import": "./dist/utils/utils.js",
"types": "./dist/utils/utils.d.ts"
},
".": {
"import": "./dist/chnobli.js",
"types": "./dist/chnobli.d.ts"
}
},
"devDependencies": {
"eslint": "^8.45.0",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"moduleResolution": "Bundler",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
Expand Down

0 comments on commit c027d24

Please sign in to comment.