ekms 7.12.2-beta.3 → 7.12.2-beta.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/bin/create-km.js +12 -0
  2. package/package.json +3 -2
@@ -0,0 +1,12 @@
1
+ #! /usr/bin/env node
2
+
3
+ if (process.argv.length < 3) {
4
+ console.log('usage "npx create-km <kmName>"')
5
+ process.exit(-1)
6
+ }
7
+
8
+ const kmName = process.argv[2]
9
+
10
+ writeFileSync(`${kmName}.instance.json`, '{}')
11
+ writeFileSync(`${kmName}.test.json`, '{}')
12
+ writeFileSync(`${kmName}.js`, '{}')
package/package.json CHANGED
@@ -129,6 +129,7 @@
129
129
  "description": "Reusable libraries for Entodicton, a natural language to json converter",
130
130
  "name": "ekms",
131
131
  "files": [
132
+ "bin/create-km.js",
132
133
  "common/animals.instance.json",
133
134
  "common/animals.js",
134
135
  "common/animals.test.json",
@@ -284,8 +285,8 @@
284
285
  "table": "^6.7.1",
285
286
  "base-64": "^1.0.0",
286
287
  "argparse": "^2.0.1",
287
- "theprogrammablemind": "7.12.2-beta.3"
288
+ "theprogrammablemind": "7.12.2-beta.4"
288
289
  },
289
- "version": "7.12.2-beta.3",
290
+ "version": "7.12.2-beta.4",
290
291
  "license": "UNLICENSED"
291
292
  }