Skip to content

Commit

Permalink
Add tonic example
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrancois committed Dec 9, 2015
1 parent 2611e7b commit b1372d0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions example/tonic.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Sample for tonic : https://tonicdev.com/npm/jsiojs
var jsiojs = require("jsiojs")
// Start of my wonderfull project
jsiojs.createFile("wonderful.js")
// Oh my god, the file contains a typo. I should fix !
jsiojs.renameFile("wonderful.js", "wonderfull.js"
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsiojs",
"version": "0.42.1",
"version": "0.42.2",
"description": "The most powerfull javascript file manager",
"main": "lib/jsiojs_core.js",
"bin": {
Expand All @@ -17,7 +17,8 @@
"javascript",
"io",
"file",
"js"
"js",
"lol"
],
"author": "Nicolas François <nicolas.francois@outlook.com>",
"license": "Beerware",
Expand All @@ -36,5 +37,6 @@
"chai": "~2.2.0",
"coveralls": "~2.11.2",
"istanbul": "~0.3.1"
}
},
"tonicExampleFilename": "example/tonic.js"
}

0 comments on commit b1372d0

Please sign in to comment.