Skip to content

Commit 9e49cde

Browse files
fix: package build
1 parent 3fab7b7 commit 9e49cde

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"types": "dist/index.d.ts",
99
"scripts": {
1010
"tsc": "node node_modules/typescript/bin/tsc",
11+
"test": "jest --config=./jest.config.json",
1112
"build:package": "yarn tsc --declaration --project tsconfig.build.json",
1213
"build:replace-tspaths": "yarn tscpaths -p tsconfig.build.json -s ./src -o ./dist",
1314
"build": "rimraf dist && yarn build:package && yarn build:replace-tspaths",
14-
"test": "jest --config=./jest.config.json",
1515
"generate:random-data": "yarn ts-node ./src/test/scripts/generate-random-data.ts"
1616
},
1717
"keywords": [
@@ -64,4 +64,4 @@
6464
"publishConfig": {
6565
"@propertyguru:registry": "https://npm.pkg.github.com/propertyguru"
6666
}
67-
}
67+
}

tsconfig.build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
}
1010
},
1111
"include": ["src"],
12-
"exclude": ["node_modules", "examples", "*.spec.ts"]
12+
"exclude": ["node_modules", "examples", "**/test", "**/*.spec.ts"]
1313
}

0 commit comments

Comments
 (0)