scriptwriter
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -1,1 +0,1 @@ | ||
{"processes":{"776cb946-1874-43f2-94e1-658e7110f921":{"parent":"be1d3925-484e-44c6-b0f5-64e360ff085f","children":[]},"be1d3925-484e-44c6-b0f5-64e360ff085f":{"parent":null,"children":["776cb946-1874-43f2-94e1-658e7110f921"]}},"files":{"/Users/paul.grenier/Git/scriptwriter/lib/scriptwriter.js":["776cb946-1874-43f2-94e1-658e7110f921"],"/Users/paul.grenier/Git/scriptwriter/lib/events/director.enter.js":["776cb946-1874-43f2-94e1-658e7110f921"],"/Users/paul.grenier/Git/scriptwriter/lib/events/director.exit.js":["776cb946-1874-43f2-94e1-658e7110f921"],"/Users/paul.grenier/Git/scriptwriter/lib/events/director.reset.js":["776cb946-1874-43f2-94e1-658e7110f921"],"/Users/paul.grenier/Git/scriptwriter/lib/events/browser.enter.js":["776cb946-1874-43f2-94e1-658e7110f921"],"/Users/paul.grenier/Git/scriptwriter/lib/events/context.enter.js":["776cb946-1874-43f2-94e1-658e7110f921"],"/Users/paul.grenier/Git/scriptwriter/lib/events/page.load.js":["776cb946-1874-43f2-94e1-658e7110f921"],"/Users/paul.grenier/Git/scriptwriter/lib/events/client.enter.js":["776cb946-1874-43f2-94e1-658e7110f921"]},"externalIds":{}} | ||
{"processes":{"41f28406-bb6f-49c3-8a44-7ef6c8df48e5":{"parent":null,"children":["794327b9-f044-40e4-9563-01f395ee4ff4"]},"794327b9-f044-40e4-9563-01f395ee4ff4":{"parent":"41f28406-bb6f-49c3-8a44-7ef6c8df48e5","children":[]}},"files":{"/Users/paul.grenier/Git/scriptwriter/lib/scriptwriter.js":["794327b9-f044-40e4-9563-01f395ee4ff4"],"/Users/paul.grenier/Git/scriptwriter/lib/events/director.enter.js":["794327b9-f044-40e4-9563-01f395ee4ff4"],"/Users/paul.grenier/Git/scriptwriter/lib/events/director.exit.js":["794327b9-f044-40e4-9563-01f395ee4ff4"],"/Users/paul.grenier/Git/scriptwriter/lib/events/director.reset.js":["794327b9-f044-40e4-9563-01f395ee4ff4"],"/Users/paul.grenier/Git/scriptwriter/lib/events/browser.enter.js":["794327b9-f044-40e4-9563-01f395ee4ff4"],"/Users/paul.grenier/Git/scriptwriter/lib/events/context.enter.js":["794327b9-f044-40e4-9563-01f395ee4ff4"],"/Users/paul.grenier/Git/scriptwriter/lib/events/page.load.js":["794327b9-f044-40e4-9563-01f395ee4ff4"],"/Users/paul.grenier/Git/scriptwriter/lib/events/client.enter.js":["794327b9-f044-40e4-9563-01f395ee4ff4"]},"externalIds":{}} |
@@ -55,2 +55,5 @@ const EventEmitter = require('events'); | ||
this.replServer = null; | ||
this.color = color; | ||
this.escapes = ansiEscapes; | ||
this.importGlobal = importGlobal; | ||
} | ||
@@ -84,14 +87,2 @@ /** | ||
/** | ||
* @return {Object} ansiEscapes | ||
*/ | ||
get escapes() { | ||
return ansiEscapes; | ||
} | ||
/** | ||
* @return {Object} kleur | ||
*/ | ||
get color() { | ||
return color; | ||
} | ||
/** | ||
* Assigns the properties of the parameter object | ||
@@ -98,0 +89,0 @@ * to the replServer.context (and the "playbill"). |
const test = require('ava'); | ||
const Scriptwriter = require('./scriptwriter'); | ||
const ansiEscapes = require('ansi-escapes'); | ||
const importGlobal = require('import-global'); | ||
const kleur = require('kleur'); | ||
@@ -16,2 +17,3 @@ | ||
t.is(scriptwriter.color, kleur); | ||
t.is(scriptwriter.importGlobal, importGlobal); | ||
t.is(scriptwriter.code('var x=1').trim(), 'var x = 1;'); | ||
@@ -18,0 +20,0 @@ }); |
{ | ||
"name": "scriptwriter", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "✍️ An authoring tool for playwrights.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -72,2 +72,3 @@ # ✍️ Scriptwriter | ||
- scriptwriter.escapes = [ansi-escapes](https://www.npmjs.com/package/ansi-escapes) | ||
- scriptwriter.importGlobal = [import-global](https://www.npmjs.com/package/import-global) | ||
@@ -74,0 +75,0 @@ Example: |
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
113
1735284
3878