Skip to content

Commit

Permalink
Updated package for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
jn-se committed Apr 15, 2023
1 parent 827d6b6 commit 863c2dd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ dist
.tern-port

# Output
lib/
/dist
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"printWidth": 120,
"trailingComma": "all",
"singleQuote": true
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
"type": "git",
"url": "https://github.com/jn-se/e3dc-modbus.git"
},
"main": "dist/lib/e3dc-modbus.js",
"types": "dist/lib/e3dc-modbus.d.ts",
"engines": {
"node": ">=14"
},
Expand All @@ -30,7 +32,7 @@
"preversion" : "npm run lint"
},
"files": [
"lib/**/*"
"dist"
],
"dependencies": {
"modbus-serial": "^8.0.10"
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"target": "es5",
"module": "commonjs",
"declaration": true,
"outDir": "./lib",
"outDir": "dist/lib",
//"strict": true,
"noImplicitAny": false
},
Expand Down

0 comments on commit 863c2dd

Please sign in to comment.