Skip to content

Commit ece0a46

Browse files
committed
ci: use test.mjs
1 parent 30e3f35 commit ece0a46

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
package-lock.json
22
node_modules
3-
dist/
4-
test.js
3+
dist/

.npmignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
**/*.ts
21
LICENSE
32
dist/*.d.ts
4-
test.js
3+
src/
4+
test.mjs
55
tsconfig.json
66
.editorconfig
77
.github/

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "dist/index.js",
66
"typings": "typings.d.ts",
77
"scripts": {
8-
"test": "npx tsc && npx tsc test.ts -t esnext -m esnext --lib esnext,dom --removeComments --strict && node test.js"
8+
"test": "npx tsc && node test.mjs"
99
},
1010
"repository": {
1111
"type": "git",

test.ts renamed to test.mjs

File renamed without changes.

0 commit comments

Comments
 (0)