diff --git a/.swcrc b/.swcrc index a1f4516..f0fe391 100644 --- a/.swcrc +++ b/.swcrc @@ -1,4 +1,5 @@ { + "sourceMaps": true, "jsc": { "parser": { "syntax": "typescript", diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 64d3f12..54dde60 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,7 +21,7 @@ All work on **Leon** happens directly on [GitHub](https://github.com/leon-ai). B ```sh # Download the source code -git clone https://github.com/leon-ai/leon-cli.git +git clone git@github.com:leon-ai/leon-cli.git # Install npm dependencies npm install diff --git a/package.json b/package.json index 8a84821..7b61faf 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,8 @@ }, "files": [ "build", - "!**/*.test.js" + "!**/*.test.js", + "!**/*.map" ], "main": "build/index.js", "bin": { @@ -47,6 +48,7 @@ "build": "rimraf ./build && swc ./src --out-dir ./build", "build:dev": "swc ./src --out-dir ./build --watch", "build:typescript": "tsc", + "start": "node --enable-source-maps build/index.js", "lint:commit": "commitlint", "lint:editorconfig": "editorconfig-checker", "lint:markdown": "markdownlint-cli2",