From d76f60adaf8eb84cf43ecf662c32cc64e3979df9 Mon Sep 17 00:00:00 2001 From: Ben Keen Date: Sun, 1 Jan 2023 21:03:18 -0800 Subject: [PATCH] adding binary and whitelisting dist --- standalone/{src/binary.js => bin/generatedata.js} | 0 standalone/package.json | 9 ++++++++- 2 files changed, 8 insertions(+), 1 deletion(-) rename standalone/{src/binary.js => bin/generatedata.js} (100%) diff --git a/standalone/src/binary.js b/standalone/bin/generatedata.js similarity index 100% rename from standalone/src/binary.js rename to standalone/bin/generatedata.js diff --git a/standalone/package.json b/standalone/package.json index cbf5ee646..85d240b8d 100644 --- a/standalone/package.json +++ b/standalone/package.json @@ -1,10 +1,17 @@ { "name": "@generatedata/core", - "version": "0.0.1", + "version": "0.0.2", "description": "The npm package version of generatedata.com. Currently in development only.", "scripts": { "build": "npx grunt && cd build && node build.js" }, + "bin": { + "generatedata": "./bin/generatedata.js" + }, + "files": [ + "dist/*", + "bin/generatedata.js" + ], "dependencies": { "ansi-colors": "^4.1.3", "cli-progress": "^3.11.2",