Skip to content

Commit 6a89023

Browse files
chore(dir): move bin,targets dir into httpsnippet
1 parent 092f6ec commit 6a89023

313 files changed

Lines changed: 14 additions & 90 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ var cmd = require('commander')
77
var fs = require('fs')
88
var readFile = require('fs-readfile-promise')
99
var writeFile = require('fs-writefile-promise')
10-
var HTTPSnippet = require('..')
10+
var HTTPSnippet = require('../../httpsnippet')
1111
var path = require('path')
12-
var pkg = require('../package.json')
12+
var pkg = require('./package.json')
1313

1414
cmd
1515
.version(pkg.version)

packages/@httpsnippet/cli/index.js

Lines changed: 0 additions & 80 deletions
This file was deleted.

packages/@httpsnippet/cli/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"description": "Command line interface for httpsnippet",
44
"version": "0.1.0",
55
"main": "index.js",
6+
"bin": "bin/httpsnippet",
67
"dependencies": {
78
"chalk": "^1.1.1",
89
"commander": "^2.9.0",

packages/@httpsnippet/curl/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,6 @@ module.exports.info = {
8787
key: 'curl',
8888
title: 'cURL',
8989
link: 'http://curl.haxx.se/',
90-
description: 'cURL is a command line tool and library for transferring data with URL syntax'
90+
description: 'cURL is a command line tool and library for transferring data with URL syntax',
91+
target: 'shell'
9192
}

packages/@httpsnippet/curl/index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
'use strict'
44

5-
var fixtures = require('../fixtures')
5+
var fixtures = require('../httpsnippet/fixtures')
66
var HTTPSnippet = require('../httpsnippet')
77
require('should')
88

packages/@httpsnippet/fixtures/available-targets.json renamed to packages/@httpsnippet/httpsnippet/fixtures/available-targets.json

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)