Skip to content

Commit 0d0eb55

Browse files
committed
chore: improve output & documetation
1 parent ee58975 commit 0d0eb55

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

packages/legacy/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ For more details about the about the available properties, see:
3535
- [Initialization property](./src/index.ts?plain=1#L14)
3636
- [`@quick-threejs/legacy` class](./src/index.ts?plain=1#L97)
3737

38-
> See the [Example folder](./example/).
38+
**See the complete [Example folder](../../samples/basic/).**

packages/legacy/eslint.config.mjs

+3
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,8 @@ export default [
3131
...globals.browser
3232
}
3333
}
34+
},
35+
{
36+
ignores: ["*.config.mjs", "*.config.ts"]
3437
}
3538
];

packages/legacy/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@
2323
},
2424
"homepage": "https://github.com/Neosoulink/quick-threejs#readme",
2525
"scripts": {
26-
"test": "jest --passWithNoTests",
2726
"build": "tsc",
27+
"dev": "tsc --watch",
2828
"format": "prettier --write \"src/**/*.ts\"",
2929
"lint": "eslint --max-warnings=0",
30-
"prepare": "npm run build"
30+
"prepare": "npm run build",
31+
"test": "jest --passWithNoTests"
3132
},
3233
"dependencies": {
3334
"three": "^0.166.1"

packages/legacy/tsconfig.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"extends": "@quick-threejs/config/typescript.json",
33
"compilerOptions": {
4+
"baseUrl": "./src",
45
"outDir": "./dist",
56

67
"paths": {
78
"@/*": ["./src/*"]
89
}
910
},
10-
"include": ["src", "*.config.mjs"]
11+
"include": ["src"],
12+
"exclude": ["*.config.mjs", "*.config.ts"]
1113
}

0 commit comments

Comments
 (0)