From 8867da5463aab748608e00dde0c4f02bdb9234d0 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Fri, 29 Jul 2022 18:48:03 +0300 Subject: [PATCH] meta files --- README.md | 3 +++ package.json | 10 ++++++++-- tsconfig.json | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..aea048d --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +A command parser for Discord bots. Should work with any JS library. + +You're expected to implement a string -> abstraction resolver yourself and pass it to the parser. \ No newline at end of file diff --git a/package.json b/package.json index ed26c19..dafd2ce 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "commandparser", - "version": "1.0.5", + "version": "1.0.9", "description": "Parser meant to parse commands and their options for discord bots", - "main": "index.ts", + "main": "build/index.js", "author": "Navy.gif", "license": "MIT", "private": false, @@ -12,5 +12,11 @@ "@typescript-eslint/parser": "^5.31.0", "eslint": "^8.20.0", "typescript": "^4.7.4" + }, + "files": [ + "build" + ], + "scripts": { + "release": "tsc && yarn publish" } } diff --git a/tsconfig.json b/tsconfig.json index e7a4720..f448ed2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -45,7 +45,7 @@ // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ /* Emit */ - // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ + "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ // "declarationMap": true, /* Create sourcemaps for d.ts files. */ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */