Skip to content

Commit

Permalink
Merged release/v1.0.0 into master
Browse files Browse the repository at this point in the history
  • Loading branch information
KamiKillertO committed Oct 26, 2016
2 parents 2b8fb67 + c0991e8 commit ad9401d
Show file tree
Hide file tree
Showing 8 changed files with 232 additions and 187 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: node_js
node_js:
- "0.12"
- "4.2"
- "5.2"
- "4"
- "5"
- "6"
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This project is a fork of [Inquirer-directory](https://github.com/nicksrandall/i

<!--[![Issue Count](https://codeclimate.com/github/KamiKillertO/inquirer-select-directory/badges/issue_count.svg)](https://codeclimate.com/github/KamiKillertO/inquirer-select-directory)!-->
![](https://img.shields.io/badge/license-MIT-blue.svg)
![](https://img.shields.io/badge/release-v0.1.0-blue.svg)
[![](https://img.shields.io/badge/release-v1.0.0-blue.svg)](https://github.com/KamiKillertO/inquirer-select-directory/releases/tag/v1.0.0)
[![Build Status](https://travis-ci.org/KamiKillertO/inquirer-select-directory.svg)](https://travis-ci.org/KamiKillertO/inquirer-select-directory)
[![Build status](https://ci.appveyor.com/api/projects/status/fdyk5g3y56381742?svg=true)](https://ci.appveyor.com/project/KamiKillertO/inquirer-select-directory)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/e6a963539c4440b69356649c0048ea30)](https://www.codacy.com/app/kamikillerto/inquirer-select-directory?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=KamiKillertO/inquirer-select-directory&amp;utm_campaign=Badge_Grade)
Expand All @@ -19,14 +19,14 @@ npm install --save inquirer-select-directory

## Features

- Support for symlinked files
- Vim style navigation
- Search for file with "/" key
- Support for symlinked files
- Vim style navigation
- Search for file with "/" key

### Key Maps

- Press "/" key to enter search mode.
- Press "-" key to go up (back) a directory.
- Press "/" key to enter search mode.
- Press "-" key to go up (back) a directory.

## Usage

Expand Down
7 changes: 4 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
environment:
matrix:
- nodejs_version: "0.12"
- nodejs_version: "4.2"
- nodejs_version: "5.2"
- nodejs_version: "4"
- nodejs_version: "5"
- nodejs_version: "6"
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
Expand All @@ -24,4 +25,4 @@ test_script:
- npm test

# Don't actually build.
build: off
build: off
4 changes: 2 additions & 2 deletions example/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

"use strict";
var inquirer = require("inquirer");
inquirer.registerPrompt('directory', require('../src/index'));
inquirer.registerPrompt("directory", require("../src/index"));

inquirer.prompt([{
type: "directory",
Expand All @@ -13,4 +13,4 @@ inquirer.prompt([{
basePath: "./node_modules"
}], function(answers) {
console.log(JSON.stringify(answers, null, " "));
});
});
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "inquirer-select-directory",
"version": "0.1.0",
"version": "1.0.0",
"description": "A directory prompt for Inquirer.js",
"main": "src/index.js",
"scripts": {
Expand Down Expand Up @@ -36,7 +36,7 @@
"chai": "^3.4.1",
"events": "^1.1.0",
"mocha": "^2.3.4",
"mock-fs": "^3.5.0",
"mock-fs": "^3.11.0",
"sinon": "^1.17.2"
}
}
Loading

0 comments on commit ad9401d

Please sign in to comment.