lw-explorer
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "lw-explorer", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "", | ||
"main": "src/explorer", | ||
"scripts": { | ||
"test": "NODE_ENV=testing mocha \"src/**/*.spec.js\" -r dotenv/config", | ||
"test:watch": "NODE_ENV=testing nodemon --exec 'mocha \"src/**/*.spec.js\" -r dotenv/config'", | ||
"start": "NODE_ENV=development nodemon -L src/main.js" | ||
"test": "NODE_ENV=testing mocha \"src/**/*.spec.js\" -r dotenv/config --compilers js:@babel/register", | ||
"test:watch": "NODE_ENV=testing nodemon --exec 'mocha \"src/**/*.spec.js\" -r dotenv/config --compilers js:@babel/register'", | ||
"start": "NODE_ENV=development nodemon --exec babel-node src/main.js" | ||
}, | ||
@@ -15,2 +15,7 @@ "author": "", | ||
"devDependencies": { | ||
"@babel/cli": "^7.4.4", | ||
"@babel/core": "^7.4.4", | ||
"@babel/node": "^7.2.2", | ||
"@babel/preset-env": "^7.4.4", | ||
"@babel/register": "^7.4.4", | ||
"chai": "^4.1.1", | ||
@@ -17,0 +22,0 @@ "chai-http": "^3.0.0", |
@@ -14,3 +14,3 @@ // let data = reader.translate(dir) | ||
// Javascript API proposal | ||
module.exports = class Explorer { | ||
export default class Explorer { | ||
constructor(data) { | ||
@@ -17,0 +17,0 @@ // Set the current path |
const assert = require('chai').assert | ||
const Explorer = require('./explorer') | ||
import Explorer from './explorer' | ||
@@ -4,0 +4,0 @@ const data = { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6864
12
12