Skip to content

Commit

Permalink
Update package files & metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
whymarrh committed Jan 22, 2020
1 parent 7ea1a60 commit f80d9b0
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# http://editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
indent_size = 4
trim_trailing_whitespace = false
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
* text=auto

# Reviewing the lockfile contents is an important step in verifying that
# we're using the dependencies we expect to be using
package-lock.json linguist-generated=false
yarn.lock linguist-generated=false
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ node_modules
.DS_Store
package-lock.json

*.tgz

# TypeScript
/build
**/*.d.ts
Expand Down
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@
"version": "2.5.2",
"description": "A few useful functions for signing ethereum data",
"main": "index.js",
"files": [
"index.js",
"index.d.ts",
"utils/"
],
"scripts": {
"build": "tsc --project .",
"test": "npm run build && node test/index.js"
"test": "npm run build && node test/index.js",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit f80d9b0

Please sign in to comment.