mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: setup project reference
This commit is contained in:
1 parent
1531846482
commit
30aefb47f9
9 files changed
+81
-44
No files matched your search
+3
-2
@@ -5,11 +5,11 @@
|
||||
"type": "commonjs",
|
||||
"scripts": {
|
||||
"start": "node dist/index.js",
|
||||
"dev": "nodemon",
|
||||
"dev": "concurrently \"yarn build -w\" \"nodemon\"",
|
||||
"test": "yarn node --experimental-vm-modules $(yarn bin jest)",
|
||||
"setup": "node dist/cli/setup.js",
|
||||
"clean": "node dist/cli/clean.js",
|
||||
"build": "tsc",
|
||||
"build": "tsc --build",
|
||||
"build:quests": "node src/cli/build.js"
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -43,6 +43,7 @@
|
||||
"devDependencies": {
|
||||
"@types/express": "^4.17.21",
|
||||
"@types/express-session": "^1.17.10",
|
||||
"concurrently": "^8.2.2",
|
||||
"jest": "^29.6.1",
|
||||
"nodemon": "^3.0.1",
|
||||
"typescript": "^5.3.3"
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"target": "ES5",
|
||||
"module": "CommonJS",
|
||||
"moduleResolution": "Node",
|
||||
"strict": true,
|
||||
"esModuleInterop": true,
|
||||
"outDir": "./dist",
|
||||
"declaration": true,
|
||||
"allowJs": true
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../packages/models" },
|
||||
{ "path": "../packages/utils" },
|
||||
{ "path": "../packages/constants" },
|
||||
{ "path": "../packages/file-graph" }
|
||||
],
|
||||
"include": ["src"],
|
||||
"exclude": ["node_modules", "src/*.test.js", "dist"]
|
||||
}
|
||||
Reference in new issue
Block a user