@quailjs/quail-cli
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -1,10 +0,8 @@ | ||
'use strict'; | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
let cwd = process.cwd(); | ||
var cwd = process.cwd(); | ||
var getLocalConfig = function getLocalConfig(callback) { | ||
var configFilePath = path.join(cwd, '.quailrc'); | ||
let getLocalConfig = callback => { | ||
let configFilePath = path.join(cwd, '.quailrc'); | ||
fs.readFile(configFilePath, 'utf8', function (err, data) { | ||
@@ -11,0 +9,0 @@ if (err) { |
#!/usr/bin/env node --harmony | ||
'use strict'; | ||
var path = require('path'); | ||
var configUtil = require('./config'); | ||
var cwd = process.cwd(); | ||
const path = require('path'); | ||
const configUtil = require('./config'); | ||
const cwd = process.cwd(); | ||
module.exports = function quailBuild() { | ||
var quailCore = require(path.join(cwd, 'node_modules', '@quailjs/quail-core')); | ||
const quailCore = require(path.join(cwd, 'node_modules', '@quailjs/quail-core')); | ||
// Get a list of assessments. | ||
@@ -13,0 +11,0 @@ configUtil.getLocalConfig(function (data) { |
#!/usr/bin/env node --harmony | ||
'use strict'; | ||
@@ -10,5 +8,5 @@ | ||
var appOpener = require('opener'); | ||
var config = require('./config'); | ||
var cwd = process.cwd(); | ||
var state = {}; | ||
let config = require('./config'); | ||
let cwd = process.cwd(); | ||
let state = {}; | ||
@@ -15,0 +13,0 @@ function serveAssessmentTestPage(response, assessmentName) { |
#!/usr/bin/env node --harmony | ||
'use strict'; | ||
@@ -5,0 +3,0 @@ |
#!/usr/bin/env node --harmony | ||
'use strict'; | ||
@@ -5,0 +3,0 @@ |
{ | ||
"name": "@quailjs/quail-cli", | ||
"description": "The Quail command line interface", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"author": "Jesse Beach <jesse.r.beach@gmail.com>", | ||
@@ -14,8 +14,6 @@ "license": "MIT", | ||
"commander": "^2.9.0", | ||
"core-js": "^0.9.13", | ||
"jquery": "^2.1.4", | ||
"opener": "^1.4.1" | ||
}, | ||
"scripts": { | ||
"compile": "babel -e -d lib/ src/", | ||
"compile": "babel --presets stage-2 -d lib/ src/", | ||
"prepublish": "npm run compile", | ||
@@ -29,5 +27,9 @@ "test": "jscs -c .jscsrc src bin && eslint -c .eslintrc src bin", | ||
"preferGlobal": true, | ||
"peerDependencies": { | ||
"@quailjs/quail-core": "0.0.8" | ||
}, | ||
"devDependencies": { | ||
"babel": "^5.4.7", | ||
"babel-eslint": "^4.1.6", | ||
"babel-eslint": "^5.0.0-beta4", | ||
"babel-polyfill": "^6.2.0", | ||
"babel-preset-stage-2": "^6.1.18", | ||
"eslint": "^1.10.1", | ||
@@ -34,0 +36,0 @@ "jscs": "jscs-dev/node-jscs#c5adeba", |
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
16349
3
4
6
296
+ Added@quailjs/quail-core@0.0.8(transitive)
- Removedcore-js@^0.9.13
- Removedjquery@^2.1.4
- Removedcore-js@0.9.18(transitive)
- Removedjquery@2.2.4(transitive)