Skip to content

Commit

Permalink
Clean
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Feb 20, 2024
1 parent 87597ca commit 2e51857
Show file tree
Hide file tree
Showing 8 changed files with 68 additions and 119 deletions.
15 changes: 0 additions & 15 deletions package/.editorconfig

This file was deleted.

19 changes: 19 additions & 0 deletions package/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
root: true,
extends: [
"@react-native",
"prettier"
],
rules: {
"prettier/prettier": [
"error",
{
quoteProps: "consistent",
singleQuote: true,
tabWidth: 2,
trailingComma: "es5",
useTabs: false
}
]
}
}
10 changes: 10 additions & 0 deletions package/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
bracketSpacing: true,
bracketSameLine: true,
singleQuote: true,
trailingComma: 'all',
semi: false,
tabWidth: 2,
useTabs: false,
printWidth: 140
}
10 changes: 0 additions & 10 deletions package/.yarnrc.yml

This file was deleted.

89 changes: 34 additions & 55 deletions package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,21 @@
"!**/.*"
],
"scripts": {
"test": "jest",
"typecheck": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
"clean": "rm -rf android/build example/android/build example/android/app/build example/ios/build lib",
"prepare": "bob build",
"release": "release-it"
},
"keywords": [
"react-native",
"filament",
"3d",
"rendering",
"engine",
"gltf",
"model",
"threejs",
"ios",
"android"
],
Expand All @@ -59,22 +65,17 @@
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@evilmartians/lefthook": "^1.5.0",
"@react-native/eslint-config": "^0.73.1",
"@release-it/conventional-changelog": "^5.0.0",
"@types/jest": "^29.5.5",
"@types/react": "^18.2.44",
"del-cli": "^5.1.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"react": "18.2.0",
"react-native": "0.73.4",
"react-native-builder-bob": "^0.20.0",
"release-it": "^15.0.0",
"turbo": "^1.10.7",
"typescript": "^5.2.2"
},
"resolutions": {
Expand All @@ -84,22 +85,6 @@
"react": "*",
"react-native": "*"
},
"workspaces": [
"example"
],
"packageManager": "[email protected]",
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
Expand All @@ -113,40 +98,34 @@
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
}
}
},
"eslintConfig": {
"root": true,
"extends": [
"@react-native",
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "feat",
"section": "✨ Features"
},
{
"type": "perf",
"section": "💨 Performance Improvements"
},
{
"type": "fix",
"section": "🐛 Bug Fixes"
},
{
"type": "chore(deps)",
"section": "🛠️ Dependency Upgrades"
},
{
"type": "docs",
"section": "📚 Documentation"
}
]
}
]
}
}
},
"eslintIgnore": [
"node_modules/",
"lib/"
],
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
Expand All @@ -156,7 +135,7 @@
[
"typescript",
{
"project": "tsconfig.build.json"
"project": "tsconfig.json"
}
]
]
Expand Down
6 changes: 5 additions & 1 deletion package/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@
"strict": true,
"target": "esnext",
"verbatimModuleSyntax": true
}
},
"exclude": [
"example",
"node_modules"
]
}
34 changes: 0 additions & 34 deletions package/turbo.json

This file was deleted.

4 changes: 0 additions & 4 deletions tsconfig.build.json

This file was deleted.

0 comments on commit 2e51857

Please sign in to comment.