-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add initial project structure and configs
- Loading branch information
Showing
19 changed files
with
42,842 additions
and
1 deletion.
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,6 @@ | ||
{ | ||
"presets": [ | ||
"@babel/preset-env", | ||
"@babel/preset-typescript" | ||
] | ||
} |
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,12 @@ | ||
# This file is for unifying the coding style for different editors and IDEs. | ||
# More information at http://EditorConfig.org | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[{*.json,bower.json,.travis.yml}] |
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,8 @@ | ||
/docs/** | ||
**/dist/** | ||
**/lib/** | ||
**/types/** | ||
temp | ||
docs | ||
dist | ||
node_modules |
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,27 @@ | ||
{ | ||
"root": true, | ||
"extends": "eslint:recommended", | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"sourceType": "module", | ||
"project": "tsconfig.json" | ||
}, | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"jest": true, | ||
"node": true | ||
}, | ||
"globals": { | ||
"process": true | ||
}, | ||
"rules": { | ||
"no-constant-condition": "warn", | ||
"no-dupe-class-members": "off", | ||
"no-unused-vars": "off", | ||
"no-var": "error", | ||
"prefer-const": "off", | ||
"require-atomic-updates": "warn", | ||
"eqeqeq": ["error", "always", { "null": "ignore" }] | ||
} | ||
} |
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,7 @@ | ||
|
||
*.js text eol=lf | ||
*.ts text eol=lf | ||
*.json text eol=lf | ||
*.yml text eol=lf | ||
*.md text eol=lf | ||
*.txt text eol=lf |
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 @@ | ||
* @Zyie @GoodBoyDigital @cyberdex |
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,34 @@ | ||
--- | ||
name: Bug Report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
<!-- | ||
Thank you for reporting an issue! | ||
Before opening an issue _please_ check if a similar issue exists by | ||
searching existing issues. | ||
If possible, please provide code that demonstrates the problem. | ||
Links to a running example of the problem are best! | ||
--> | ||
|
||
<!-- Bug Report (delete if not applicable) --> | ||
### Expected Behavior | ||
|
||
### Current Behavior | ||
|
||
### Possible Solution | ||
|
||
### Steps to Reproduce | ||
|
||
### Environment | ||
|
||
- **version**: _e.g. 8.0.0_ | ||
- **Browser & Version**: _e.g. Chrome 67_ | ||
- **OS & Version**: _e.g. Ubuntu 18.04_ | ||
- **Running Example**: _url_ |
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,18 @@ | ||
--- | ||
name: Feature Request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Please Describe The Problem To Be Solved** | ||
<!-- | ||
(Please present a concise description of the problem to be addressed by this feature request.) | ||
--> | ||
|
||
**(Optional): Suggest A Solution** | ||
<!-- | ||
(Please describe your preferred solution to the problem. Include an example of the public facing API so it can be discussed) | ||
--> |
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,40 @@ | ||
# sublime text files | ||
*.sublime* | ||
*.vscode* | ||
*.*~*.TMP | ||
test/lib | ||
|
||
|
||
# temp files | ||
.DS_Store | ||
Thumbs.db | ||
Desktop.ini | ||
npm-debug.log | ||
|
||
# project files | ||
.project | ||
|
||
# vim swap files | ||
*.sw* | ||
|
||
# emacs temp files | ||
*~ | ||
\#*# | ||
|
||
# project ignores | ||
!.gitkeep | ||
*__temp | ||
node_modules | ||
# docs/ | ||
bin/ | ||
lib/ | ||
dist/ | ||
coverage/ | ||
temp | ||
types | ||
yarn.lock | ||
pnpm-lock.yaml | ||
|
||
# jetBrains IDE ignores | ||
.idea | ||
.vs-code |
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,10 @@ | ||
.cache/* | ||
.vscode/* | ||
.history/* | ||
.github/* | ||
/docs/** | ||
build/* | ||
|
||
.eslintrc.js | ||
.prettierignore | ||
package-lock.json |
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,6 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"tabWidth": 4, | ||
"useTabs": true | ||
} |
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,24 @@ | ||
module.exports = { | ||
stories: ['../src/stories/**/*.stories.@(ts|tsx|js|jsx|mdx)'], | ||
staticDirs: ['../src/stories/assets'], | ||
output: '../docs/', | ||
logLevel: 'debug', | ||
addons: [ | ||
'@storybook/addon-actions', | ||
'@storybook/addon-backgrounds', | ||
'@storybook/addon-controls', | ||
'@storybook/addon-viewport', | ||
'@storybook/addon-links', | ||
'@storybook/addon-highlight', | ||
'@storybook/addon-storysource', | ||
], | ||
core: { | ||
channelOptions: { allowFunction: false, maxDepth: 10 }, | ||
disableTelemetry: true, | ||
}, | ||
features: { | ||
buildStoriesJson: true, | ||
breakingChangesV7: true, | ||
}, | ||
framework: '@pixi/storybook-webpack5', | ||
}; |
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,23 @@ | ||
export const parameters = { | ||
layout: 'fullscreen', | ||
pixi: { | ||
applicationOptions: { | ||
transparent: true, | ||
resolution: 1, | ||
antialias: true, | ||
}, | ||
}, | ||
backgrounds: { | ||
default: 'Dark', | ||
values: [ | ||
{ | ||
name: 'Dark', | ||
value: '#1b1c1d', | ||
}, | ||
{ | ||
name: 'Light', | ||
value: '#dddddd', | ||
}, | ||
], | ||
}, | ||
}; |
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 |
---|---|---|
@@ -1 +1,22 @@ | ||
# layout | ||
<div align="center"> | ||
<h1>PIXI-LAYOUT</h1> | ||
<h3>It is a library a library for arranging pixi elements and make the arrangement basing on their size</h3> | ||
</div> | ||
|
||
Here are some useful resources: | ||
|
||
- [Full docs](https://pixijs.io/layout/) | ||
- [Github Repo](https://github.com/pixijs/layout) | ||
- [Storybook](https://pixijs.io/ui/layout/) | ||
|
||
## Install | ||
|
||
```sh | ||
npm install @pixijs/layout | ||
``` | ||
|
||
There is no default export. The correct way to import pixi-layout is: | ||
|
||
```js | ||
import { Layout } from '@pixijs/layout'; | ||
``` |
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,22 @@ | ||
<div align="center"> | ||
<h1>PIXI-LAYOUT</h1> | ||
<h3>It is a library a library for arranging pixi elements</h3> | ||
</div> | ||
|
||
Here are some useful resources: | ||
|
||
- [Full docs](https://pixijs.io/layout/) | ||
- [Github Repo](https://github.com/pixijs/layout) | ||
- [Storybook](https://pixijs.io/ui/layout/) | ||
|
||
## Install | ||
|
||
```sh | ||
npm install @pixijs/layout | ||
``` | ||
|
||
There is no default export. The correct way to import pixi-layout is: | ||
|
||
```js | ||
import { Layout } from '@pixijs/layout'; | ||
``` |
Oops, something went wrong.