Skip to content

Commit

Permalink
Added prettier as dev dependency, improved package scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesús Ángel committed Sep 10, 2018
1 parent 0246504 commit e38e598
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
@@ -0,0 +1,3 @@
node_modules/
public/utils/codemirror/
public/kibana-integrations/
5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -26,8 +26,9 @@
},
"homepage": "https://www.wazuh.com/",
"scripts": {
"pretty": "prettier --single-quote \"{,!(node_modules)/**/}*.js\" --write",
"tslint": "tslint -c .tslint.yml server/**/*.ts server/**/*.tsx public/**/*.ts public/**/*.tsx",
"lint": "eslint server/** server/*.js *.js public/**/*.js public/*.js util/*.js -c .eslintrc.json --color",
"lint": "eslint ./server/ ./public/ ./util/ ./*.js -c .eslintrc.json --color",
"prebuild": "tsc; find . -name \"*.ts*\" -type f -not -path \"./node_modules/*\" -delete",
"build": "plugin-helpers build",
"test": "_mocha test/**/*"
Expand Down Expand Up @@ -56,7 +57,7 @@
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^7.0.1",
"mocha": "^5.2.0",
"chai": "^3.5.0",
"prettier": "^1.14.2",
"tslint": "^5.11.0",
"typescript": "^3.0.1",
"typescript-eslint-parser": "^18.0.0"
Expand Down

0 comments on commit e38e598

Please sign in to comment.