- Added OwenSystemFactory for creating the animation system. - Introduced OwenAnimationContext to manage animations and states. - Created AnimationLoader and GLTFAnimationLoader for loading animations. - Developed state handlers: WaitStateHandler, ReactStateHandler, TypeStateHandler, SleepStateHandler. - Implemented StateFactory for managing state handlers. - Defined constants for clip types, states, and emotions. - Added type definitions for TypeScript support. - Configured Vite for building and serving the project. - Added licenses (dual) to project.
71 lines
963 B
JSON
71 lines
963 B
JSON
{
|
|
"extends": [
|
|
"eslint:recommended"
|
|
],
|
|
"env": {
|
|
"browser": true,
|
|
"es2022": true,
|
|
"node": true
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 2022,
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"indent": [
|
|
"error",
|
|
2
|
|
],
|
|
"linebreak-style": [
|
|
"error",
|
|
"unix"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"no-unused-vars": [
|
|
"warn",
|
|
{
|
|
"argsIgnorePattern": "^_"
|
|
}
|
|
],
|
|
"no-console": [
|
|
"warn"
|
|
],
|
|
"max-len": [
|
|
"warn",
|
|
{
|
|
"code": 120
|
|
}
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"examples/**/*.js"
|
|
],
|
|
"rules": {
|
|
"no-console": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"src/**/*.js"
|
|
],
|
|
"rules": {
|
|
"no-console": "off"
|
|
}
|
|
}
|
|
],
|
|
"ignorePatterns": [
|
|
"node_modules/",
|
|
"dist/",
|
|
"docs/"
|
|
]
|
|
}
|