Skip to content

Commit 85b311f

Browse files
authored
Merge pull request #57 from Diokuz/es2020
feat: es2020, no ts
2 parents 35c9d9c + 759d0e8 commit 85b311f

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
.PHONY: ts
22
ts:
33
rm -r dist || true
4-
cp -r src dist
5-
yarn pnpify tsc
4+
yarn tsc
65

76
.PHONY: pretty-write
87
pretty-write:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "teremock",
3-
"version": "1.10.8",
3+
"version": "1.10.9",
44
"description": "Easy to use test request mocker for puppeteer / playwright / karma",
55
"main": "dist",
66
"repository": {

tsconfig.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"compilerOptions": {
33
"allowSyntheticDefaultImports": true,
44
"esModuleInterop": true,
5-
"target": "ES2018",
6-
"lib": ["es2015", "es2016", "dom"],
5+
"target": "ES2020",
6+
"lib": ["es2020", "dom"],
77
"outDir": "./dist",
88
"rootDir": "src",
99
"moduleResolution": "node",
10-
"module": "CommonJS",
10+
"module": "ES2020",
1111
"noUnusedLocals": true,
1212
"noUnusedParameters": true,
1313
"sourceMap": false,
14-
"declaration": false,
14+
"declaration": true,
1515
"resolveJsonModule": true,
1616
"importsNotUsedAsValues": "error",
1717
"strict": true,

0 commit comments

Comments
 (0)