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 3074cf7
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 0 deletions.
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
9 changes: 9 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.idea
.editorconfig
.eslintignore
.eslintrc.js
.gitattributes
*.tgz
*.ts
!*.d.ts
tsconfig.json
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
"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"
Expand Down

0 comments on commit 3074cf7

Please sign in to comment.