UNPKG

590 BJavaScriptView Raw
1var instructions = require('../instructions');
2var question = require('../question');
3
4var fs = require('fs');
5
6module.exports = function(){
7 instructions('Package Niceties', 'package_niceties');
8
9 return question('{underline}Challenge{/underline}: Create a README.md with some information about your package', function(){
10 return fs.existsSync('./README.md') && fs.readFileSync('./README.md', 'utf-8').length;
11 }).then(function(){
12 return question('{underline}Challenge{/underline}: Modify your package.json to have some sort of test (then run `npm test`)', 'npm test');
13 });
14};