-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
237 changed files
with
28,094 additions
and
11,560 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
module.exports = { | ||
extends: ['@pixi/eslint-config', 'plugin:prettier/recommended'], | ||
rules: { | ||
'prettier/prettier': [ | ||
'warn', | ||
{ | ||
semi: true, | ||
trailingComma: 'es5', | ||
singleQuote: true, | ||
printWidth: 180, | ||
tabWidth: 4, | ||
useTabs: false, | ||
}, | ||
], | ||
|
||
// special rules because most of this code is lifted from spine | ||
// I would love to not have to do this, but I don't have the time nor the energy to fix the entire lib. Milton - 2023 | ||
|
||
eqeqeq: 0, | ||
'@typescript-eslint/no-unused-vars': 0, | ||
'@typescript-eslint/no-empty-function': 0, | ||
'no-console': 0, | ||
'@typescript-eslint/no-use-before-define': 0, | ||
radix: 0, | ||
'no-eq-null': 0, | ||
'no-constant-condition': 0, | ||
'no-prototype-builtins': 0, | ||
camelcase: 0, | ||
'@typescript-eslint/ban-ts-comment': 0, | ||
'no-case-declarations': 0, | ||
'@typescript-eslint/no-useless-constructor': 0, | ||
'consistent-return': 0, | ||
'no-loop-func': 0, | ||
'@typescript-eslint/ban-types': 0, | ||
'@typescript-eslint/no-empty-interface': 0, | ||
'@typescript-eslint/adjacent-overload-signatures': 0, | ||
'no-fallthrough': 0, | ||
'@typescript-eslint/no-unused-expressions': 0, | ||
'max-params': 0, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,3 +37,6 @@ lib | |
dist | ||
bundles/*/index.d.ts | ||
packages/*/index.d.ts | ||
|
||
# ignore the npmrc | ||
.npmrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,20 +2,50 @@ | |
"name": "@pixi-spine/all-3.8", | ||
"version": "3.1.2", | ||
"description": "Pixi integration with EsotericSoftware Spine, big, contains runtime for 3.8", | ||
"main": "lib/all-3.8.js", | ||
"module": "lib/all-3.8.es.js", | ||
"bundle": "dist/pixi-spine-3.8.umd.js", | ||
"main": "lib/index.js", | ||
"module": "lib/index.mjs", | ||
"types": "./index.d.ts", | ||
"namespace": "PIXI.spine", | ||
"exports": { | ||
".": { | ||
"import": "./lib/index.mjs", | ||
"require": "./lib/index.js", | ||
"types": "./index.d.ts" | ||
} | ||
}, | ||
"extensionConfig": { | ||
"namespace": "PIXI.spine", | ||
"bundle": "dist/pixi-spine-3.8.js", | ||
"bundleModule": "dist/pixi-spine-3.8.mjs", | ||
"globals": { | ||
"@pixi-spine/base": "PIXI.spine", | ||
"@pixi-spine/loader-3.8": "PIXI.spine", | ||
"@pixi-spine/loader-base": "PIXI.spine", | ||
"@pixi-spine/runtime-3.8": "PIXI.spine38" | ||
} | ||
}, | ||
"dependencies": { | ||
"@pixi-spine/base": "~3.1.2", | ||
"@pixi-spine/loader-3.8": "~3.1.2", | ||
"@pixi-spine/loader-base": "~3.1.2", | ||
"@pixi-spine/runtime-3.8": "~3.1.2" | ||
"@pixi-spine/base": "*", | ||
"@pixi-spine/loader-3.8": "*", | ||
"@pixi-spine/loader-base": "*", | ||
"@pixi-spine/runtime-3.8": "*" | ||
}, | ||
"peerDependencies": { | ||
"@pixi/constants": "^7.0.0", | ||
"@pixi/core": "^7.0.0", | ||
"@pixi/display": "^7.0.0", | ||
"@pixi/graphics": "^7.0.0", | ||
"@pixi/math": "^7.0.0", | ||
"@pixi/mesh": "^7.0.0", | ||
"@pixi/mesh-extras": "^7.0.0", | ||
"@pixi/sprite": "^7.0.0", | ||
"@pixi/utils": "^7.0.0" | ||
}, | ||
"scripts": { | ||
"build": "rollup -c rollup.config.js --silent", | ||
"build:types": "rimraf compile && tsc -p tsconfig-api.json && api-extractor run" | ||
"build": "run-p build:*", | ||
"build:rollup": "rollup -c rollup.config.mjs --silent", | ||
"build:types": "rimraf compile && tsc -p tsconfig-api.json && api-extractor run", | ||
"lint": "eslint src/**/*.ts", | ||
"lint:fix": "eslint src/**/*.ts --fix" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
|
@@ -39,22 +69,15 @@ | |
"Chad Engler <[email protected]>", | ||
"Richard Davey <[email protected]>", | ||
"Shukant K. Pal <[email protected]>", | ||
"Yevhenii Huselietov <[email protected]>" | ||
"Yevhenii Huselietov <[email protected]>", | ||
"Milton Candelero <[email protected]>" | ||
], | ||
"bugs": { | ||
"url": "https://github.com/pixijs/pixi-spine/issues" | ||
}, | ||
"license": "SEE SPINE-LICENSE", | ||
"homepage": "https://github.com/pixijs/pixi-spine/#readme", | ||
"devDependencies": { | ||
"@pixi-spine/eslint-config": "~1.0.0", | ||
"@pixi-spine/rollup-config": "~1.0.0", | ||
"chai": "~4.2.0", | ||
"eslint": "~7.13.0", | ||
"prepend": "=1.0.2", | ||
"rimraf": "3.0.2", | ||
"rollup": "^2.53.3", | ||
"tslib": "~2.2.0", | ||
"typescript": "~4.3.0" | ||
"@pixi-spine/rollup-config": "*" | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import configBuilder from '@pixi-spine/rollup-config'; | ||
import pkg from './package.json' assert { type: 'json' }; | ||
|
||
export default configBuilder(pkg.extensionConfig, pkg); |
Oops, something went wrong.