noshift.js 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/cli.js +1 -1
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -16,7 +16,7 @@ const program = new Command();
16
16
  program
17
17
  .name("nsc")
18
18
  .description("NoShift.js compiler")
19
- .version(pkg.version)
19
+ .version(pkg.version, '-v, --version', 'output the version number')
20
20
  .option("-w, --watch", "Watch for file changes and recompile")
21
21
  .option("--init", "Create a nsjsconfig.json in the current directory")
22
22
  .option("--clean", "Delete the output directory (outDir)")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "noshift.js",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Joke language.",
5
5
  "bin": {
6
6
  "nsc": "./bin/cli.js"