File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " @github/remote-input-element" ,
3
3
"version" : " 0.2.1" ,
4
4
"description" : " An input element that sends its value to a server endpoint and renders the response body." ,
5
- "main" : " dist/index.js" ,
5
+ "main" : " dist/umd/ index.js" ,
6
6
"module" : " dist/index.js" ,
7
7
"types" : " dist/index.d.ts" ,
8
8
"license" : " MIT" ,
14
14
"clean" : " rm -rf dist" ,
15
15
"lint" : " github-lint" ,
16
16
"prebuild" : " npm run clean && npm run lint" ,
17
- "build" : " tsc" ,
17
+ "build" : " tsc --outDir dist/umd --module umd && tsc " ,
18
18
"pretest" : " npm run build" ,
19
19
"test" : " karma start test/karma.config.js" ,
20
20
"prepublishOnly" : " npm run build" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
3
"module" : " esnext" ,
4
- "target" : " es2018" ,
4
+ "target" : " es2017" ,
5
+ "lib" : [" es2018" , " dom" ],
5
6
"strict" : true ,
6
7
"declaration" : true ,
7
8
"outDir" : " dist" ,
You can’t perform that action at this time.
0 commit comments