import { AppsInToss } from '@apps-in-toss/framework';
import { PropsWithChildren } from 'react';
import { InitialProps } from '@granite-js/react-native';
import { context } from '../require.context';
function AppContainer({ children }: PropsWithChildren<InitialProps>) {
return <>{children}</>;
}
export default AppsInToss.registerApp(AppContainer, { context });
{
"name": "maeum",
"private": true,
"scripts": {
"dev": "bedrock dev",
"build": "bedrock build",
"test": "jest --passWithNoTests",
"typecheck": "tsc --noEmit",
"lint": "eslint ."
},
"dependencies": {
"@apps-in-toss/framework": "^1.1.1",
"@emotion/react": "^11.14.0",
"@granite-js/native": "^0.1.23",
"@granite-js/react-native": "^0.1.23",
"@react-native-bedrock/native": "^0.0.25",
"@toss-design-system/mobile": "^2.1.0",
"@toss-design-system/mobile-ait": "^2.1.0",
"@toss-design-system/react-native": "^1.1.1",
"react": "18.2.0",
"react-dom": "^19.1.1",
"react-native": "0.72.6",
"react-native-bedrock": "^0.0.25"
},
"devDependencies": {
"@babel/core": "7.23.9",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
"@babel/plugin-proposal-numeric-separator": "^7.16.7",
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-proposal-private-property-in-object": "^7.18.6",
"@babel/plugin-transform-flow-strip-types": "^7.19.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@babel/runtime": "7.18.9",
"@eslint/js": "^9.17.0",
"@testing-library/react-native": "^12.9.0",
"@types/babel__core": "^7.20.5",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.2",
"@types/react": "18.3.3",
"eslint": "^9.17.0",
"eslint-plugin-react": "^7.37.2",
"jest": "^29.7.0",
"prettier": "3.4.2",
"react-test-renderer": "18.2.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.31.0"
}
}
_app.tsx 와 package.json 입니다~