diff --git a/.npmignore b/.npmignore index b726568..d77b9b1 100644 --- a/.npmignore +++ b/.npmignore @@ -1 +1,2 @@ -examples \ No newline at end of file +examples +heartbeat \ No newline at end of file diff --git a/package.json b/package.json index f3eb4c2..64b9bb6 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "clean": "rm -rf ./publish", "clean2": "rm -rf ./publish/**/*", "index": "node node_modules/@amjs/create-index ./src", - "prepublishOnly": "npm run tsc", + "prepublishOnly": "npm run compile", "build-heartbeat": "cd ./heartbeat && pwd && ./build.sh", "copy-declaration": "cp ./src/heartbeat/index.d.ts ./publish/src/heartbeat/index.d.ts", "compile": "npm run build-heartbeat && npm run tsc && npm run copy-declaration" diff --git a/publish/package.json b/publish/package.json index 02c77bc..3a9aa7f 100644 --- a/publish/package.json +++ b/publish/package.json @@ -28,7 +28,7 @@ "clean": "rm -rf ./publish", "clean2": "rm -rf ./publish/**/*", "index": "node node_modules/@amjs/create-index ./src", - "prepublishOnly": "npm run tsc", + "prepublishOnly": "npm run compile", "build-heartbeat": "cd ./heartbeat && pwd && ./build.sh", "copy-declaration": "cp ./src/heartbeat/index.d.ts ./publish/src/heartbeat/index.d.ts", "compile": "npm run build-heartbeat && npm run tsc && npm run copy-declaration"