Files
Nick Novitski ea2006c958 Build as ES module
Jest's support for ESM is lacking, so for simplicity this also changes
the test suite to use Node's built-in test runner and typescript
support, and jest's `expect` package.
2025-11-17 14:45:26 -08:00

58 lines
1.4 KiB
JSON

{
"name": "expo-server-sdk",
"version": "4.0.0",
"description": "Server-side library for working with Expo using Node.js",
"type": "module",
"main": "build/ExpoClient.js",
"types": "build/ExpoClient.d.ts",
"files": [
"build"
],
"engines": {
"node": ">=20.19.0"
},
"scripts": {
"build": "yarn prepack",
"lint": "eslint",
"prepack": "tsc --project tsconfig.build.json",
"test": "node --test --experimental-test-coverage --env-file .env",
"tsc": "tsc",
"watch": "tsc --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/expo/expo-server-sdk-node.git"
},
"keywords": [
"expo",
"push-notifications"
],
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/expo/expo-server-sdk-node/issues"
},
"homepage": "https://github.com/expo/expo-server-sdk-node#readme",
"dependencies": {
"node-fetch": "^2.6.0",
"promise-limit": "^2.7.0",
"promise-retry": "^2.0.1"
},
"devDependencies": {
"@tsconfig/node-ts": "23.6.2",
"@tsconfig/node20": "20.1.6",
"@tsconfig/strictest": "2.0.5",
"@types/node": "22.17.2",
"@types/node-fetch": "2.6.12",
"@types/promise-retry": "1.1.6",
"eslint": "9.33.0",
"eslint-config-universe": "15.0.3",
"expect": "30.2.0",
"jiti": "2.4.2",
"msw": "2.10.5",
"prettier": "3.6.2",
"typescript": "5.9.2"
},
"packageManager": "[email protected]"
}