keyspy 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keyspy",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "A cross-platform global keyboard and mouse listener for Node.js",
5
5
  "types": "build/index.d.ts",
6
6
  "main": "build/index.js",
@@ -18,7 +18,7 @@
18
18
  "dev": "tsc --watch",
19
19
  "build": "tsc",
20
20
  "postinstall": "node scripts/download-binaries.js",
21
- "build:swift": "mkdir -p bin && swiftc -target arm64-apple-macos10.14 src/bin/MacKeyServer/main.swift -o bin/MacKeyServer-arm64 && swiftc -target x86_64-apple-macos10.14 src/bin/MacKeyServer/main.swift -o bin/MacKeyServer-x86_64 && lipo -create bin/MacKeyServer-arm64 bin/MacKeyServer-x86_64 -output bin/MacKeyServer && rm bin/MacKeyServer-arm64 bin/MacKeyServer-x86_64",
21
+ "build:swift": "scripts/compile-swift.sh",
22
22
  "build:mac": "mkdir -p bin && swiftc src/bin/MacKeyServer/main.swift -o bin/MacKeyServer",
23
23
  "build:win": ".\\scripts\\compile-win.bat",
24
24
  "build:x11": "scripts/compile-x11.sh",