Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hive-js
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
hive-js
Commits
117d2507
Commit
117d2507
authored
7 years ago
by
adcpm
Browse files
Options
Downloads
Patches
Plain Diff
Move main file index.js to src folder
parent
864299d7
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
index.js
+0
-15
0 additions, 15 deletions
index.js
package.json
+1
-1
1 addition, 1 deletion
package.json
src/index.js
+15
-0
15 additions, 0 deletions
src/index.js
with
16 additions
and
16 deletions
index.js
deleted
100644 → 0
+
0
−
15
View file @
864299d7
var
api
=
require
(
"
./lib/api
"
);
var
auth
=
require
(
"
./lib/auth
"
);
var
broadcast
=
require
(
"
./lib/broadcast
"
);
var
formatter
=
require
(
"
./lib/formatter
"
)(
api
);
var
memo
=
require
(
"
./lib/auth/memo
"
);
var
config
=
require
(
"
./lib/config
"
);
module
.
exports
=
{
api
:
api
,
auth
:
auth
,
broadcast
:
broadcast
,
formatter
:
formatter
,
memo
:
memo
,
config
:
config
};
This diff is collapsed.
Click to expand it.
package.json
+
1
−
1
View file @
117d2507
...
...
@@ -2,7 +2,7 @@
"name"
:
"steem"
,
"version"
:
"0.5.18"
,
"description"
:
"Steem.js the JavaScript API for Steem blockchain"
,
"main"
:
"index.js"
,
"main"
:
"
lib/
index.js"
,
"scripts"
:
{
"test"
:
"eslint --quiet src test; mocha -t 20000 --require babel-polyfill --require babel-register"
,
"test-auth"
:
"npm test -- --grep 'steem.auth'"
,
...
...
This diff is collapsed.
Click to expand it.
src/index.js
0 → 100644
+
15
−
0
View file @
117d2507
const
api
=
require
(
'
./api
'
);
const
auth
=
require
(
'
./auth
'
);
const
broadcast
=
require
(
'
./broadcast
'
);
const
formatter
=
require
(
'
./formatter
'
)(
api
);
const
memo
=
require
(
'
./auth/memo
'
);
const
config
=
require
(
'
./config
'
);
module
.
exports
=
{
api
,
auth
,
broadcast
,
formatter
,
memo
,
config
,
};
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment