@sassoftware/viya-serverjs 0.1.1 → 0.1.2

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/lib/cli.js +5 -4
  2. package/package.json +5 -3
package/lib/cli.js CHANGED
@@ -1,8 +1,9 @@
1
- "use strict";
2
-
1
+ #!/usr/bin/env node
3
2
  /*
4
3
  * Copyright © 2019, SAS Institute Inc., Cary, NC, USA. All Rights Reserved.
5
4
  * SPDX-License-Identifier: Apache-2.0
6
5
  */
7
- var rafServer = require('./index.js');
8
- rafServer.icli(null, true, null);
6
+ "use strict";
7
+
8
+ var icli = require('./index.js');
9
+ icli(null, true, null);
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@sassoftware/viya-serverjs",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "App server for Custom Viya Applications",
5
5
  "author": "Deva Kumaraswamy <deva.kumar@sas.com>",
6
6
  "license": "Apache-2.0",
7
- "main": "./lib/index.js",
7
+ "main": "./lib/cli.js",
8
8
  "files": [
9
9
  "lib"
10
10
  ],
@@ -26,7 +26,9 @@
26
26
  "bugs": {
27
27
  "url": "https://github.com/sassoftware/viya-servers/issues"
28
28
  },
29
- "unpkg": "./lib/index.js",
29
+ "bin": {
30
+ "@sassoftware/viya-serverjs": "./lib/cli.js"
31
+ },
30
32
  "scripts": {
31
33
  "build": "rimraf -rf lib && babel src --out-dir lib",
32
34
  "pub": "npm publish --tag dev --access public",