Skip to content

Commit

Permalink
added all scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabowskiM committed Apr 11, 2022
1 parent 28ef113 commit e255f9d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "eslint-config-ibexa"
"extends": "eslint-config-ibexa/eslint"
}
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@
"description": "Ibexa Matrix Fieldtype",
"repository": "https://github.com/ezsystems/ezplatform-matrix-fieldtype.git",
"private": true,
"prettier": "eslint-config-ibexa/prettier",
"dependencies": {},
"devDependencies": {
"eslint-config-ibexa": "https://github.com/ibexa/eslint-config-ibexa.git"
"eslint-config-ibexa": "https://github.com/ibexa/eslint-config-ibexa.git#v1.0.0"
},
"scripts": {
"test": "yarn eslint-test",
"eslint-test": "eslint \"./src/bundle/**/*.js\""
"test": "yarn prettier-test && yarn eslint-test",
"fix": "yarn prettier-test --write && yarn eslint-test --fix",
"eslint-test": "eslint \"./src/bundle/Resources/**/*.js\"",
"prettier-test": "yarn prettier \"./src/bundle/Resources/public\" --check"
}
}

0 comments on commit e255f9d

Please sign in to comment.