Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5966a2e

Browse files
committed
Chnage entry file
1 parent 952a08a commit 5966a2e

File tree

12 files changed

+11
-12
lines changed

12 files changed

+11
-12
lines changed

‎index.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
"name": "node-etherscan-api",
33
"version": "0.0.1",
44
"description": "",
5-
"main": "index.js",
5+
"main": "./src/index.js",
66
"scripts": {
77
"test": "jest --coverage",
88
"test:watch": "jest --watchAll --coverage",
99
"doc":
10-
"jsdoc2md --files src/EtherscanApi.js --template doc/template.hbs > doc/API.md"
10+
"jsdoc2md --files src/index.js --template doc/template.hbs > doc/API.md"
1111
},
1212
"typings": "./index.d.ts",
1313
"jest": {
File renamed without changes.

‎tests/accounts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const EtherscanAPI = require('../src/EtherscanAPI')
1+
const EtherscanAPI = require('../src')
22

33
describe('Etherscan accounts methods', () => {
44
const e = new EtherscanAPI()

‎tests/blocks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const EtherscanAPI = require('../src/EtherscanAPI')
1+
const EtherscanAPI = require('../src')
22

33
describe('Etherscan blocks methods', () => {
44
const e = new EtherscanAPI()

‎tests/contracts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const EtherscanAPI = require('../src/EtherscanAPI')
1+
const EtherscanAPI = require('../src')
22

33
describe('Etherscan contracts methods', () => {
44
const e = new EtherscanAPI()

‎tests/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const EtherscanAPI = require('../src/EtherscanAPI')
1+
const EtherscanAPI = require('../src')
22

33
test('Etherscan instance', () => {
44
const etherscan1 = new EtherscanAPI('SomeToken')

‎tests/logs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const EtherscanAPI = require('../src/EtherscanAPI')
1+
const EtherscanAPI = require('../src')
22

33
describe('Etherscan logs methods', () => {
44
const e = new EtherscanAPI()

‎tests/proxy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const EtherscanAPI = require('../src/EtherscanAPI')
1+
const EtherscanAPI = require('../src')
22

33
/**
44
* @todo Make test of methods:

‎tests/stats.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const EtherscanAPI = require('../src/EtherscanAPI')
1+
const EtherscanAPI = require('../src')
22

33
describe('Etherscan stats methods', () => {
44
const e = new EtherscanAPI()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /