add index.js in root

This commit is contained in:
Barry Gitarts 2019-01-30 13:26:19 -05:00
parent 782aa8ced7
commit 3b867604c8
3 changed files with 8 additions and 2 deletions

3
.npmignore Normal file
View File

@ -0,0 +1,3 @@
node_modules
yarn-debug.log*
yarn-error.log*

3
index.js Normal file
View File

@ -0,0 +1,3 @@
const StatusJS = require('./dist/index.js');
module.exports = StatusJS;

View File

@ -1,8 +1,8 @@
{ {
"name": "status-js-api", "name": "status-js-api",
"version": "1.1.5", "version": "1.1.6",
"description": "", "description": "",
"main": "src/index.js", "main": "index.js",
"scripts": { "scripts": {
"babel": "babel", "babel": "babel",
"babel:node": "npm-run-all babel:node:*", "babel:node": "npm-run-all babel:node:*",