diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..b2dafed --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,11 @@ +### Context + +_TODO - specify the context around why this change is being made_ + +### Changes + +_TODO - leave a quick summary / list of the changes here_ + +### Testing + +_OPTIONAL - post any additional testing you've done here_ diff --git a/package.json b/package.json index c7f1300..54aa6a9 100644 --- a/package.json +++ b/package.json @@ -34,8 +34,8 @@ }, "scripts": { "build": "npm run build:cjs && npm run build:esm && npm run build:types", - "build:cjs": "esbuild src/index.ts --bundle --format=cjs --outfile=dist/cjs/index.js && echo '{ \"type\": \"commonjs\" }' > dist/cjs/package.json", - "build:esm": "esbuild src/index.ts --bundle --format=esm --outfile=dist/esm/index.js && echo '{ \"type\": \"module\" }' > dist/esm/package.json", + "build:cjs": "esbuild src/index.ts --bundle --packages=external --minify --format=cjs --outfile=dist/cjs/index.js && echo '{ \"type\": \"commonjs\" }' > dist/cjs/package.json", + "build:esm": "esbuild src/index.ts --bundle --packages=external --minify --format=esm --outfile=dist/esm/index.js && echo '{ \"type\": \"module\" }' > dist/esm/package.json", "build:types": "tsc --emitDeclarationOnly --declaration src/index.ts --esModuleInterop --outDir dist/types", "format": "npm run format:eslint && npm run format:prettier", "format:eslint": "eslint -c .eslintrc.cjs --fix src/**",