chore: 프로젝트 설정 파일 추가 (.gitignore, tsconfig, granite.config 등)
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
13
.gitignore
vendored
Normal file
13
.gitignore
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# 빌드 산출물
|
||||
node_modules/
|
||||
.granite/
|
||||
dist/
|
||||
build/
|
||||
|
||||
# 환경 설정
|
||||
.env
|
||||
.env.*
|
||||
|
||||
# OS 파일
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
3
.npmrc
Normal file
3
.npmrc
Normal file
@@ -0,0 +1,3 @@
|
||||
# Windows 환경에서 한글(UTF-8) 출력이 깨지지 않도록 스크립트 실행 전 chcp 65001 적용
|
||||
# script-shell은 npm 실행 시 cmd.exe를 명시적으로 사용하도록 설정 (Windows 전용)
|
||||
script-shell=cmd.exe
|
||||
17
granite.config.ts
Normal file
17
granite.config.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { appsInToss } from '@apps-in-toss/framework/plugins';
|
||||
import { defineConfig } from '@granite-js/react-native/config';
|
||||
|
||||
export default defineConfig({
|
||||
scheme: 'intoss',
|
||||
appName: 'archetype-firstspark',
|
||||
plugins: [
|
||||
appsInToss({
|
||||
brand: {
|
||||
displayName: '아키타입: 첫 번째 불꽃',
|
||||
primaryColor: '#FF6B35',
|
||||
icon: './app-icon.png',
|
||||
},
|
||||
permissions: [],
|
||||
}),
|
||||
],
|
||||
});
|
||||
22329
package-lock.json
generated
Normal file
22329
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
1
require.context.ts
Normal file
1
require.context.ts
Normal file
@@ -0,0 +1 @@
|
||||
export const context = require.context('./pages', false, /\.(tsx|ts)$/);
|
||||
21
tsconfig.json
Normal file
21
tsconfig.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ESNext",
|
||||
"lib": ["ESNext", "DOM"],
|
||||
"jsx": "react-jsx",
|
||||
"jsxImportSource": "@emotion/react",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "bundler",
|
||||
"resolveJsonModule": true,
|
||||
"allowImportingTsExtensions": true,
|
||||
"noEmit": true,
|
||||
"strict": true,
|
||||
"skipLibCheck": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
Reference in New Issue
Block a user