Skip to content

Commit dbfeed1

Browse files
authored
Merge pull request #289 from jasongrout/newjs
Modernize js output.
2 parents 8276256 + e68229b commit dbfeed1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"lib/**/*.js",
1313
"lib/**/*.d.ts",
1414
"dist/*.js",
15-
"dist/*.d.ts"
15+
"dist/*.d.ts",
16+
"dist/*.map",
17+
"dist/*.LICENSE.txt"
1618
],
1719
"homepage": "https://github.com/martinRenou/ipycanvas",
1820
"bugs": {

tsconfig.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"compilerOptions": {
33
"declaration": true,
44
"esModuleInterop": true,
5-
"lib": ["es2015", "dom"],
6-
"module": "commonjs",
5+
"module": "ES2015",
76
"moduleResolution": "node",
87
"noEmitOnError": true,
98
"noUnusedLocals": true,
@@ -15,7 +14,7 @@
1514
// This allows us to initialize members in the "initialize" method
1615
"strictPropertyInitialization": false,
1716
"strict": true,
18-
"target": "es2015"
17+
"target": "ES2017"
1918
},
2019
"include": ["src/**/*.ts", "src/**/*.tsx"]
2120
}

0 commit comments

Comments
 (0)