- build 스크립트를 ait build에서 직접 granite CLI 호출로 변경 (ait build가 --no-cache 옵션을 granite에 전달하나 미지원 버그) - typescript, @types/react, @types/react-dom, @types/webpack-env 설치 - @toss/tds-react-native 누락 peer dependency 설치 - tsconfig.json: ignoreDeprecations 및 webpack-env 타입 설정 추가 - require.context.ts: webpack/granite-js RequireContext 타입 호환 수정 - global.d.ts: 전역 타입 선언 파일 추가 Co-Authored-By: Paperclip <noreply@paperclip.ing>
30 lines
903 B
JSON
30 lines
903 B
JSON
{
|
|
"name": "archetype-firstspark",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "chcp 65001 >nul 2>&1 && node node_modules/@granite-js/react-native/bin/cli.js dev",
|
|
"build": "chcp 65001 >nul 2>&1 && node node_modules/@granite-js/react-native/bin/cli.js build",
|
|
"deploy": "chcp 65001 >nul 2>&1 && ait deploy"
|
|
},
|
|
"dependencies": {
|
|
"@apps-in-toss/analytics": "^2.3.0",
|
|
"@apps-in-toss/web-framework": "^2.3.0",
|
|
"@emotion/react": "^11.14.0",
|
|
"@toss/tds-colors": "^0.1.0",
|
|
"@toss/tds-mobile": "^2.3.0",
|
|
"@toss/tds-mobile-ait": "^2.3.0",
|
|
"@toss/tds-react-native": "^2.0.2",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-native": "^0.84.1",
|
|
"zustand": "^5.0.12"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@types/webpack-env": "^1.18.8",
|
|
"typescript": "^6.0.2"
|
|
}
|
|
}
|