Skip to content

Commit

Permalink
config refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
austintoddj committed Dec 21, 2022
1 parent 829ec57 commit cf9cdf2
Show file tree
Hide file tree
Showing 36 changed files with 4,670 additions and 46,160 deletions.
19 changes: 19 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"root": true,
"env": {
"node": true
},
"extends": [
"eslint:recommended",
"plugin:vue/vue3-recommended",
"prettier"
],
"rules": {
"vue/multi-word-component-names": [
"error",
{
"ignores": ["Dashboard", "Settings"]
}
]
}
}
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/.github export-ignore
/tests export-ignore
.editorconfig export-ignore
.eslintrc.js export-ignore
.eslintrc.json export-ignore
.gitattributes export-ignore
.gitpod.yml export-ignore
.gitignore export-ignore
Expand Down
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
semi: false
singleQuote: true
printWidth: 80
trailingComma: 'none'
arrowParens: 'avoid'
114 changes: 57 additions & 57 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
{
"name": "austintoddj/canvas",
"description": "A Laravel publishing platform",
"keywords": [
"blog",
"canvas",
"laravel",
"publishing",
"platform"
],
"license": "MIT",
"homepage": "https://trycanvas.app",
"support": {
"issues": "https://github.com/austintoddj/canvas/issues",
"source": "https://github.com/austintoddj/canvas"
},
"authors": [
{
"name": "Todd Austin",
"email": "[email protected]"
}
],
"require": {
"php": "^8.0",
"ext-json": "*",
"laravel/framework": "^9.0"
},
"require-dev": {
"mockery/mockery": "^1.4",
"orchestra/testbench": "^7.0",
"phpunit/phpunit": "^9.3"
},
"autoload": {
"psr-4": {
"Canvas\\": "src/",
"Canvas\\Database\\Factories\\": "database/factories/"
}
},
"autoload-dev": {
"psr-4": {
"Canvas\\Tests\\": "tests/"
}
},
"scripts": {
"test": "vendor/bin/phpunit"
},
"extra": {
"laravel": {
"providers": [
"Canvas\\CanvasServiceProvider"
]
}
},
"config": {
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true
"name": "austintoddj/canvas",
"description": "A Laravel publishing platform",
"keywords": [
"blog",
"canvas",
"laravel",
"publishing",
"platform"
],
"license": "MIT",
"homepage": "https://trycanvas.app",
"support": {
"issues": "https://github.com/austintoddj/canvas/issues",
"source": "https://github.com/austintoddj/canvas"
},
"authors": [
{
"name": "Todd Austin",
"email": "[email protected]"
}
],
"require": {
"php": "^8.0",
"ext-json": "*",
"laravel/framework": "^9.0"
},
"require-dev": {
"mockery/mockery": "^1.4",
"orchestra/testbench": "^7.0",
"phpunit/phpunit": "^9.3"
},
"autoload": {
"psr-4": {
"Canvas\\": "src/",
"Canvas\\Database\\Factories\\": "database/factories/"
}
},
"autoload-dev": {
"psr-4": {
"Canvas\\Tests\\": "tests/"
}
},
"scripts": {
"test": "vendor/bin/phpunit"
},
"extra": {
"laravel": {
"providers": [
"Canvas\\CanvasServiceProvider"
]
}
},
"config": {
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true
}
89 changes: 30 additions & 59 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,63 +1,34 @@
{
"private": true,
"scripts": {
"dev": "mix",
"prod": "mix --production",
"watch": "mix watch",
"format": "prettier --write resources \"**/*.{css,scss,js,json,vue}\"",
"lint": "eslint --ext .js,.vue --fix resources/js"
},
"dependencies": {
"@headlessui/vue": "^1.7",
"@heroicons/vue": "^2.0",
"@tailwindcss/aspect-ratio": "^0.4",
"@tailwindcss/forms": "^0.5",
"@tailwindcss/line-clamp": "^0.4",
"@tailwindcss/typography": "^0.5",
"@vue/compiler-sfc": "^3.2",
"axios": "^1.2",
"dayjs": "^1.11",
"eslint": "^8.29",
"eslint-config-prettier": "^8.5",
"eslint-plugin-vue": "^9.8",
"laravel-mix": "^6.0",
"postcss": "^8.4",
"prettier": "^2.8",
"tailwindcss": "^3.2",
"vue": "^3.2",
"vue-loader": "^17.0",
"vue-router": "^4.1",
"vue-template-compiler": "^2.7",
"vuex": "^4.1",
"webpack-bundle-analyzer": "^4.4"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
"private": true,
"scripts": {
"dev": "mix",
"prod": "mix --production",
"watch": "mix watch",
"format": "prettier --write resources \"**/*.{css,scss,js,json,vue}\"",
"lint": "eslint --ext .js,.vue --fix resources/js"
},
"extends": [
"eslint:recommended",
"plugin:vue/vue3-recommended",
"prettier"
],
"rules": {
"vue/multi-word-component-names": [
"error",
{
"ignores": [
"Dashboard",
"Settings"
]
}
]
"devDependencies": {
"@headlessui/vue": "^1.7",
"@heroicons/vue": "^2.0",
"@tailwindcss/aspect-ratio": "^0.4",
"@tailwindcss/forms": "^0.5",
"@tailwindcss/line-clamp": "^0.4",
"@tailwindcss/typography": "^0.5",
"@vue/compiler-sfc": "^3.2",
"axios": "^1.2",
"dayjs": "^1.11",
"eslint": "^8.29",
"eslint-config-prettier": "^8.5",
"eslint-plugin-vue": "^9.8",
"laravel-mix": "^6.0",
"postcss": "^8.4",
"prettier": "^2.8",
"tailwindcss": "^3.2",
"vue": "^3.2",
"vue-loader": "^17.0",
"vue-router": "^4.1",
"vue-template-compiler": "^2.7",
"vuex": "^4.1",
"webpack-bundle-analyzer": "^4.4"
}
},
"prettier": {
"semi": false,
"printWidth": 80,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5"
}
}
Loading

0 comments on commit cf9cdf2

Please sign in to comment.