Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deployment #43

Merged
merged 2 commits into from
Nov 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ pnpm-debug.log*
lerna-debug.log*
.elasticbeanstalk/
node_modules
dist
dist-ssr
build
build-ssr
*.local
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
"pre-commit": "lint-staged",
"test": "jest --coverage",
"copy-assets": "copyfiles --all --up 1 --exclude \"./**/*.{ts,tsx}\" \"./src/**/*\" ./build/src/",
"compile": "rimraf dist && npx tsc",
"predev": "npm run dist",
"dev": "concurrently \"npm run docs:build\" \"npx tsc --watch\" \"nodemon -q dist/src/index.js\"",
"build": "npm run docs:build && npm run compile && npm run copy-assets",
"start": "node dist/src/index.js",
"compile": "rimraf build && npx tsc",
"predev": "npm run build",
"dev": "concurrently \"npm run docs:build\" \"npx tsc --watch\" \"nodemon -q build/src/index.js\"",
"build": "npm run docs:build && npm run compile",
"start": "node build/src/index.js",
"prepare": "husky install",
"docs:preview": "vitepress preview docs"
},
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

/* Bundler mode*/
"resolveJsonModule": true,
"outDir": "./dist",
"outDir": "./build",
"allowJs": true,
"rootDir": ".",
"baseUrl": ".",
Expand All @@ -22,5 +22,5 @@
"forceConsistentCasingInFileNames": true
},
"include": ["src/**/*", "src/__test__"],
"exclude": ["node_modules", "./coverage", "./dist", "__tests__", "jest.config.js"]
"exclude": ["node_modules", "./coverage", "./build", "__tests__", "jest.config.js"]
}