diff --git a/example/tonic.js b/example/tonic.js new file mode 100644 index 0000000..5c0641a --- /dev/null +++ b/example/tonic.js @@ -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" \ No newline at end of file diff --git a/package.json b/package.json index e33f284..08d8114 100644 --- a/package.json +++ b/package.json @@ -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": { @@ -17,7 +17,8 @@ "javascript", "io", "file", - "js" + "js", + "lol" ], "author": "Nicolas François ", "license": "Beerware", @@ -36,5 +37,6 @@ "chai": "~2.2.0", "coveralls": "~2.11.2", "istanbul": "~0.3.1" - } + }, + "tonicExampleFilename": "example/tonic.js" }