Update path for prettier

This commit is contained in:
Igor Gassmann 2017-12-12 08:46:08 -03:00
parent 0b8d9ac1b7
commit 8efd95de04

View file

@ -2,11 +2,18 @@
"name": "LBRY", "name": "LBRY",
"version": "0.19.0", "version": "0.19.0",
"description": "A browser for the LBRY network, a digital marketplace controlled by its users.", "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": { "author": {
"name": "LBRY Inc.", "name": "LBRY Inc.",
"email": "hello@lbry.io" "email": "hello@lbry.io"
}, },
"homepage": "https://lbry.io/",
"scripts": { "scripts": {
"extract-langs": "node src/renderer/extractLocals.js", "extract-langs": "node src/renderer/extractLocals.js",
"dev": "electron-webpack dev", "dev": "electron-webpack dev",
@ -15,16 +22,9 @@
"dist:dir": "yarn dist -- --dir -c.compression=store -c.mac.identity=null", "dist:dir": "yarn dist -- --dir -c.compression=store -c.mac.identity=null",
"postinstall": "electron-builder install-app-deps", "postinstall": "electron-builder install-app-deps",
"precommit": "lint-staged", "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", "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": [ "keywords": [
"lbry" "lbry"
], ],
@ -100,7 +100,7 @@
}, },
"license": "MIT", "license": "MIT",
"lint-staged": { "lint-staged": {
"src/renderer/js/**/*.{jsx,js}": [ "src/renderer/**/*.{jsx,js}": [
"prettier --trailing-comma es5 --write", "prettier --trailing-comma es5 --write",
"git add" "git add"
] ]