* chore(tests): Upgrade to jest@29 * fix file list snap, snack content lint * chore: replace fetch ponyfill by node fetch * use global fetch by default * fix tests and use setSnackSDKFetch static func * wip! fix fetch tests * keep encoding when using global fetch * fix lint * rever serve node-fetch use * fix lint * fix e2e tests * refactor: upgrade to Node 22 for stable fetch (#655)
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"name": "@expo/snack",
|
|
"private": true,
|
|
"author": "Expo",
|
|
"license": "MIT",
|
|
"volta": {
|
|
"node": "22.21.1"
|
|
},
|
|
"scripts": {
|
|
"start": "turbo build --filter '{./packages/snack-term}...' && yarn --cwd ./packages/snack-term start",
|
|
"lint": "turbo lint --filter './packages/*' --",
|
|
"test": "turbo test --filter './packages/*' --",
|
|
"build": "turbo build --filter './packages/*' --",
|
|
"bootstrap": "yarn install && yarn --cwd ./packages/snack-babel-standalone bootstrap && yarn --cwd ./packages/snack-eslint-standalone bootstrap",
|
|
"postinstall": "turbo build --filter './packages/*' --"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/snack-content",
|
|
"packages/snack-proxies",
|
|
"packages/snack-require-context",
|
|
"packages/snack-sdk",
|
|
"packages/snack-term",
|
|
"website",
|
|
"snackager",
|
|
"snackpub"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"chalet": "^0.9.0",
|
|
"env-cmd": "^10.1.0",
|
|
"turbo": "^1.10.14"
|
|
},
|
|
"resolutions": {
|
|
"@babel/core": "^7.23.6",
|
|
"@babel/plugin-transform-typescript": "^7.23.6",
|
|
"@babel/runtime": "^7.23.6",
|
|
"@babel/types": "^7.23.9"
|
|
}
|
|
}
|