-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 3.44 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 3.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "@beeper/platform-imessage",
"version": "0.23.9",
"main": "dist/index.js",
"type": "module",
"exports": {
"./*": "./dist/*.js",
"./auth": "./dist/auth/index.js",
"./info": "./dist/info.js",
"./capabilities": "./dist/capabilities.js",
".": "./dist/index.js"
},
"files": [
"dist/**/*",
"binaries/**/*"
],
"scripts": {
"dev": "concurrently -P 'yarn build:scss --watch' 'yarn build:typescript --watch' 'yarn build:swift --debug --watch {@}'",
"prepack": "yarn build",
"lint": "yarn lint:swift && yarn lint:js",
"lint:swift": "swiftlint --fix --format src",
"lint:js": "yarn eslint src --ext ts,tsx,js,jsx --cache",
"cli:js": "env NODE_OPTIONS=\"--force-node-api-uncaught-exceptions-policy=true\" electron cli.compiled.mjs",
"cli": "swift run imessage-cli",
"swift-mapper-parity": "yarn build:swift-mapper-parity && env NODE_OPTIONS=\"--force-node-api-uncaught-exceptions-policy=true\" electron .parity/check-swift-mapper-parity.compiled.mjs",
"build:cli:release": "sh -c 'swift build -c release --product imessage-cli >/dev/null && bin_path=$(swift build -c release --product imessage-cli --show-bin-path) && printf \"%s/imessage-cli\\n\" \"$bin_path\"'",
"build:cli:js": "bun build src/cli/index.ts --target=node --format=esm --external electron --external @textshq/platform-test-lib --outfile=cli.compiled.mjs",
"build:swift-mapper-parity": "bun build .parity/check-swift-mapper-parity.mjs --target=node --format=esm --external electron --external @textshq/platform-test-lib --outfile .parity/check-swift-mapper-parity.compiled.mjs",
"build": "turbo run build:swift build:typescript build:scss",
"build:scss": "sass -s compressed --no-source-map src/auth/auth.scss binaries/imessage-auth.css",
"build:typescript": "tsc",
"build:swift": "node --loader ts-node/esm src/IMessage/build-swift.ts",
"test": "yarn test:swift && yarn test:js",
"test:js": "jest",
"test:swift": "swift test",
"cli:release": "swift run -c release imessage-cli",
"typecheck": "tsc --noEmit",
"hackily-install-binaries": "mv /Applications/Texts.app/Contents/Resources/app/build/platform-imessage{,-old}; ln -fs ${PWD}/binaries /Applications/Texts.app/Contents/Resources/app/build/platform-imessage"
},
"dependencies": {
"@textshq/platform-sdk": "https://github.com/TextsHQ/platform-sdk#eed22bde2bcd2bd8dcb6312b553c6b1581091c83",
"clsx": "^1.2.1",
"concurrently": "^9.1.2"
},
"devDependencies": {
"@sentry/cli": "^2.50.2",
"@textshq/eslint-config": "https://github.com/TextsHQ/eslint-config#main",
"@textshq/platform-test-lib": "https://github.com/TextsHQ/platform-test-lib#main",
"@types/jest": "^28.1.6",
"@types/node": "20.17.19",
"@types/react": "^17.0.38",
"electron": "^41.2.1",
"eslint": "^8.30.0",
"jest": "^28.1.3",
"node-swift": "patch:node-swift@https%3A//github.com/kabiroberai/node-swift.git%23commit=2c1db896c643f2a9e6bebd9a45d2703ae5f69b71#~/.yarn/patches/node-swift-https-7ac8c38191.patch",
"prettier": "^3.8.3",
"react": "^18",
"sass": "^1.76.0",
"ts-jest": "^28.0.7",
"ts-node": "^10.9.2",
"turbo": "2.5.8",
"typescript": "^5.8.3"
},
"os": [
"darwin"
],
"resolutions": {
"@textshq/platform-sdk": "https://github.com/TextsHQ/platform-sdk#eed22bde2bcd2bd8dcb6312b553c6b1581091c83",
"node-gyp": "^10.0.1"
},
"peerDependencies": {
"react": "*"
},
"packageManager": "yarn@4.14.1"
}