Comparing version 0.1.2 to 0.2.0
@@ -13,6 +13,7 @@ var async = require('async'); | ||
geo: {}, | ||
psycho: {}, | ||
behavior: {} | ||
psycho: {} | ||
}, | ||
personality: {}, | ||
personality: { | ||
tags: [] | ||
}, | ||
ref: { | ||
@@ -24,4 +25,3 @@ represent: [], | ||
arche: {}, | ||
quote: {}, | ||
expertise: [], | ||
expertise: {}, | ||
goals: [], | ||
@@ -58,5 +58,23 @@ devices: [], | ||
}); | ||
} else if (e.type === "a") { | ||
rl.question(e.name + " ", function (a) { | ||
if (e.cat) { | ||
if (e.sub) { | ||
if (e.to) { | ||
answers[e.cat][e.sub][e.to] = a.split(','); | ||
cb(); | ||
} else { | ||
answers[e.cat][e.sub] = a.split(','); | ||
cb(); | ||
} | ||
} else { | ||
answers[e.cat] = a.split(','); | ||
cb(); | ||
} | ||
} | ||
}) | ||
} | ||
}, function (err) { | ||
if (err) throw err; | ||
console.log(answers); | ||
}); |
{ | ||
"q": [ | ||
{ | ||
"name": "What is the name of your brand/product?", | ||
"type": "q", | ||
"cat": "bpname" | ||
}, | ||
{ | ||
"name": "1.1 - Demographic Profile", | ||
@@ -27,4 +32,166 @@ "type": "s" | ||
"to": "gender" | ||
}, | ||
{ | ||
"name": "What is the income of your persona?", | ||
"type": "q", | ||
"cat": "profile", | ||
"sub": "demo", | ||
"to": "income" | ||
}, | ||
{ | ||
"name": "What is the occupation of your persona?", | ||
"type": "q", | ||
"cat": "profile", | ||
"sub": "demo", | ||
"to": "occupation" | ||
}, | ||
{ | ||
"name": "1.2 - Geographic Profile", | ||
"type": "s" | ||
}, | ||
{ | ||
"name": "Where does your persona live?", | ||
"type": "q", | ||
"cat": "profile", | ||
"sub": "geo", | ||
"to": "location" | ||
}, | ||
{ | ||
"name": "Where does your persona work?", | ||
"type": "q", | ||
"cat": "profile", | ||
"sub": "geo", | ||
"to": "workplace" | ||
}, | ||
{ | ||
"name": "1.3 - Psychographic Profile", | ||
"type": "s" | ||
}, | ||
{ | ||
"name": "What's the social class of your persona?", | ||
"type": "q", | ||
"cat": "profile", | ||
"sub": "psycho", | ||
"to": "socialclass" | ||
}, | ||
{ | ||
"name": "What's the lifestyle of your persona?", | ||
"type": "q", | ||
"cat": "profile", | ||
"sub": "psycho", | ||
"to": "lifestyle" | ||
}, | ||
{ | ||
"name": "2 - Personality", | ||
"type": "s" | ||
}, | ||
{ | ||
"name": "Name personality tags for your persona.", | ||
"type": "a", | ||
"cat": "personality", | ||
"sub": "tags" | ||
}, | ||
{ | ||
"name": "What is the Openness score for your persona?", | ||
"type": "q", | ||
"cat": "personality", | ||
"sub": "openness" | ||
}, | ||
{ | ||
"name": "What is the Neuroticism score for your persona?", | ||
"type": "q", | ||
"cat": "personality", | ||
"sub": "neuroticism" | ||
}, | ||
{ | ||
"name": "3 - References & Influences", | ||
"type": "s" | ||
}, | ||
{ | ||
"name": "What influences your persona's relation with key indicators for your product/service?", | ||
"type": "a", | ||
"cat": "ref", | ||
"sub": "represent" | ||
}, | ||
{ | ||
"name": "Who becomes a referent point regarding to key indicators to your product/service?", | ||
"type": "a", | ||
"cat": "ref", | ||
"sub": "references" | ||
}, | ||
{ | ||
"name": "Who influences your persona's decisions about key indicators to your product/service?", | ||
"type": "a", | ||
"cat": "ref", | ||
"sub": "influences" | ||
}, | ||
{ | ||
"name": "4 - Archetypes & Quotes", | ||
"type": "s" | ||
}, | ||
{ | ||
"name": "What is your persona's archetype?", | ||
"type": "q", | ||
"cat": "arche", | ||
"sub": "archetype" | ||
}, | ||
{ | ||
"name": "What is your persona's key quote?", | ||
"type": "q", | ||
"cat": "arche", | ||
"sub": "quote" | ||
}, | ||
{ | ||
"name": "5 - Technical Expertise", | ||
"type": "s" | ||
}, | ||
{ | ||
"name": "What level is your persona's technical expertise? (1 to 4, 4 being the highest)", | ||
"type": "q", | ||
"cat": "expertise" | ||
}, | ||
{ | ||
"name": "6 - UX Goals", | ||
"type": "s" | ||
}, | ||
{ | ||
"name": "What should the UX Goals for your persona be?", | ||
"type": "a", | ||
"cat": "goals" | ||
}, | ||
{ | ||
"name": "7 - Devices & Platforms", | ||
"type": "s" | ||
}, | ||
{ | ||
"name": "What devices or platforms does your persona use?", | ||
"type": "a", | ||
"cat": "devices" | ||
}, | ||
{ | ||
"name": "8 - Must Do / Must Never", | ||
"type": "s" | ||
}, | ||
{ | ||
"name": "What must your persona do? (Fill in like this: do / why, do / why, etc.)", | ||
"type": "a", | ||
"cat": "must", | ||
"sub": "do" | ||
}, | ||
{ | ||
"name": "What must your persona NEVER do? (Fill in like this: do / why, do / why, etc.)", | ||
"type": "a", | ||
"cat": "must", | ||
"sub": "never" | ||
}, | ||
{ | ||
"name": "9 - Relationship with brand/product", | ||
"type": "s" | ||
}, | ||
{ | ||
"name": "What is the level of relationship between your persona and your brand/product? (1 to 3, 3 being the highest)", | ||
"type": "q", | ||
"cat": "level" | ||
} | ||
] | ||
} |
{ | ||
"name": "persona", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"description": "create personas from the command line", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
7003
288