Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(🌱): minor enhancements #74

Open
wants to merge 13 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 0 additions & 63 deletions .eslintrc.cjs

This file was deleted.

31 changes: 31 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
"overrides": [
{
"env": {
"node": true
},
"files": [".eslintrc.{js,cjs}"],
"parserOptions": {
"sourceType": "script"
}
}
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "prettier"],
"ignorePatterns": ["/node_modules/", "**/*.d.ts"],
"rules": {
"prettier/prettier": "error",
"prefer-const": ["error"],
"linebreak-style": ["error", "unix"],
"object-curly-spacing": ["error", "always"]
}
}
18 changes: 6 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
node_modules/*
yarn-error.log
yarn.lock

.idea/*

.cache/*
dist/*
.parcel-cache/*
.proxyrc.js
git
.npmrc
node_modules
dist
.vscode
.idea
.DS_Store
.npmrc

37 changes: 29 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,16 @@
"dist/*"
],
"scripts": {
"dev": "vite --host",
"build": "tsup",
"preview": "vite preview",
"dev": "vite serve public",
"preview": "vite build public vite preview public",
"lint": "eslint --fix . --ignore-path .gitignore --ext .js,.ts src",
"format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\""
"format": "prettier --ignore-path .gitignore --write \"**/*.+(ts|html|css)\""
},
"dependencies": {
"@pixi/layers": "^2.1.0",
"buffer": "^6.0.3",
"gsap": "^3.12.4",
"pixi-stats": "^1.2.2",
"pixi.js": "^7.2.4",
"scuti-bundle": "^1.0.7",
"seedrandom": "^3.0.5"
Expand All @@ -28,6 +27,7 @@
"@types/seedrandom": "^3.0.8",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"pixi-stats": "^1.2.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.1",
Expand Down
Binary file added public/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading