Skip to content

Commit

Permalink
Move source file to src dir instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
ozdemirburak committed Jun 22, 2017
1 parent 31316fd commit 99fbc79
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var gulp = require('gulp'), concat = require('gulp-concat'), uglify = require('g

gulp.task('minify-js', function (cb) {
pump([
gulp.src('index.js'),
gulp.src('./src/morsify.js'),
concat('morsify.min.js'),
uglify(),
gulp.dest('dist')
Expand Down
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"name": "morsify",
"version": "0.2.3",
"version": "0.2.4",
"description": "Morse code translator and decoder which also generates audio.",
"keywords": [
"morse",
"morse code",
"morse alphabet",
"morse audio",
"morse translator",
"morse decoder",
"morse encoder",
"morsify"
],
"license": "MIT",
Expand All @@ -27,17 +29,17 @@
"mocha": "^3.4.0",
"pump": "^1.0.2"
},
"main": "./index.js",
"main": "./src/morsify.js",
"files": [
"LICENSE",
"README.md",
"index.js",
"dist/morsify.min.js"
"src",
"dist"
],
"scripts": {
"test": "npm run lint && mocha",
"test-cov": "istanbul cover _mocha",
"lint": "jshint index.js"
"lint": "jshint ./src/morsify.js"
},
"engines": {
"node": ">=4.0.0"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/index.js → test/morsify.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var t = require('assert');
var morsify = require('../index');
var morsify = require('../src/morsify');

describe('morsify', function () {
it('encodes english alphabet', function () {
Expand Down

0 comments on commit 99fbc79

Please sign in to comment.