diff --git a/publicodes/core/package.json b/publicodes/core/package.json index 9894aef3d..5cc6b4297 100644 --- a/publicodes/core/package.json +++ b/publicodes/core/package.json @@ -37,7 +37,7 @@ "prepublishOnly": "yarn test && yarn run build", "clean": "rimraf dist node_modules", "prepare": "yarn run rimraf dist && yarn run build", - "build": "yarn run webpack --config webpack.config.js", + "build": "yarn run webpack --config webpack.config.js && yarn run tsc", "test:file": "yarn mocha-webpack --webpack-config ./webpack.test.js --include test/setupIntl.js", "test": "yarn test:file \"./{,!(node_modules)/**/}!(webpack).test.js\"" },