Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@github/remote-input-element",
"version": "0.2.1",
"description": "An input element that sends its value to a server endpoint and renders the response body.",
"main": "dist/index.js",
"main": "dist/umd/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
Expand All @@ -14,7 +14,7 @@
"clean": "rm -rf dist",
"lint": "github-lint",
"prebuild": "npm run clean && npm run lint",
"build": "tsc",
"build": "tsc --outDir dist/umd --module umd && tsc",
"pretest": "npm run build",
"test": "karma start test/karma.config.js",
"prepublishOnly": "npm run build",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"compilerOptions": {
"module": "esnext",
"target": "es2018",
"target": "es2017",
"lib": ["es2018", "dom"],
"strict": true,
"declaration": true,
"outDir": "dist",
Expand Down