mirror of
https://github.com/zkitter/eth-json-rpc-filters.git
synced 2026-01-08 23:08:10 -05:00
Repo standardization (#50)
* Enforcing minimum node version 12 via .nvmrc, circleci, and package file * Adding basic .gitattributes file * Adding entry about running tests to the readme
This commit is contained in:
@@ -5,7 +5,7 @@ executors:
|
||||
parameters:
|
||||
node_version:
|
||||
type: integer
|
||||
default: 10
|
||||
default: 12
|
||||
docker:
|
||||
- image: circleci/node:<< parameters.node_version >>
|
||||
|
||||
@@ -16,14 +16,14 @@ workflows:
|
||||
name: prep-deps-<< matrix.node_version >>
|
||||
matrix:
|
||||
parameters:
|
||||
node_version: [10, 12, 14]
|
||||
node_version: [12, 14]
|
||||
- test-lint:
|
||||
requires:
|
||||
- prep-deps-10
|
||||
- prep-deps-12
|
||||
- test-unit:
|
||||
matrix:
|
||||
parameters:
|
||||
node_version: [10, 12, 14]
|
||||
node_version: [12, 14]
|
||||
requires:
|
||||
- prep-deps-<< matrix.node_version >>
|
||||
- all-tests-pass:
|
||||
|
||||
3
.gitattributes
vendored
Normal file
3
.gitattributes
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
* text=auto
|
||||
|
||||
yarn.lock linguist-generated=false
|
||||
@@ -25,6 +25,12 @@ cleanup:
|
||||
filterMiddleware.destroy()
|
||||
```
|
||||
|
||||
## Running Tests
|
||||
|
||||
```bash
|
||||
yarn test
|
||||
```
|
||||
|
||||
### Changelog
|
||||
|
||||
##### 2.0
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
"version": "4.2.2",
|
||||
"description": "[json-rpc-engine](https://github.com/MetaMask/json-rpc-engine) middleware implementing ethereum filter methods. Backed by an [eth-block-tracker](https://github.com/MetaMask/eth-block-tracker) and web3 provider interface (`web3.currentProvider`).",
|
||||
"main": "index.js",
|
||||
"engines": {
|
||||
"node": ">=12.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "printf '%s\\n' 'No lint command'",
|
||||
"test": "node test"
|
||||
|
||||
Reference in New Issue
Block a user