Update path for prettier
This commit is contained in:
parent
0b8d9ac1b7
commit
8efd95de04
1 changed files with 10 additions and 10 deletions
20
package.json
20
package.json
|
@ -2,11 +2,18 @@
|
|||
"name": "LBRY",
|
||||
"version": "0.19.0",
|
||||
"description": "A browser for the LBRY network, a digital marketplace controlled by its users.",
|
||||
"homepage": "https://lbry.io/",
|
||||
"bugs": {
|
||||
"url": "https://github.com/lbryio/lbry-app/issues"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/lbryio/lbry-app"
|
||||
},
|
||||
"author": {
|
||||
"name": "LBRY Inc.",
|
||||
"email": "hello@lbry.io"
|
||||
},
|
||||
"homepage": "https://lbry.io/",
|
||||
"scripts": {
|
||||
"extract-langs": "node src/renderer/extractLocals.js",
|
||||
"dev": "electron-webpack dev",
|
||||
|
@ -15,16 +22,9 @@
|
|||
"dist:dir": "yarn dist -- --dir -c.compression=store -c.mac.identity=null",
|
||||
"postinstall": "electron-builder install-app-deps",
|
||||
"precommit": "lint-staged",
|
||||
"prettier": "prettier --trailing-comma es5 --write js/**/*.{js,jsx}"
|
||||
"prettier": "prettier --trailing-comma es5 --write src/renderer/**/*.{js,jsx}"
|
||||
},
|
||||
"main": "src/main/main.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/lbryio/lbry-app"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/lbryio/lbry-app/issues"
|
||||
},
|
||||
"keywords": [
|
||||
"lbry"
|
||||
],
|
||||
|
@ -100,7 +100,7 @@
|
|||
},
|
||||
"license": "MIT",
|
||||
"lint-staged": {
|
||||
"src/renderer/js/**/*.{jsx,js}": [
|
||||
"src/renderer/**/*.{jsx,js}": [
|
||||
"prettier --trailing-comma es5 --write",
|
||||
"git add"
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue