Skip to content

Commit

Permalink
build: fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
noomorph committed Aug 9, 2023
1 parent 812679f commit 4673be4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@
"jest": {
"transform": {
"\\.ts$": "ts-jest"
}
},
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
]
},
"browserslist": [
"node 16"
Expand Down
2 changes: 1 addition & 1 deletion src/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { parseMSKLC } from './index';
import parseMSKLC from './index';

describe('parseMSKLC', () => {
it('should parse a layout', () => {
Expand Down
4 changes: 1 addition & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Layout, reset, handle } from './handlers';

export function parseMSKLC(layout: string) {
export default function parseMSKLC(layout: string) {
reset();

const result: Partial<Layout> = {};
Expand All @@ -11,5 +11,3 @@ export function parseMSKLC(layout: string) {

return result;
}

export default parseMSKLC;
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"rootDir": "src",
"outDir": "dist",
"target": "es2022",
"module": "es2020",
"module": "commonjs",
"moduleResolution": "node16",
"importHelpers": true,
"downlevelIteration": true,
Expand Down

0 comments on commit 4673be4

Please sign in to comment.