mirror of
https://github.com/bendtherules/some-hooks.git
synced 2026-08-18 13:52:05 +00:00
prettier - Add prettier devdep and prettier task
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
"npm": ">=5"
|
||||
},
|
||||
"scripts": {
|
||||
"format": "prettier --write \"{src,example}/**/*.{ts,js}*\"",
|
||||
"test": "cross-env CI=1 react-scripts test --env=jsdom",
|
||||
"test:watch": "react-scripts test --env=jsdom",
|
||||
"build": "rollup -c",
|
||||
@@ -32,6 +33,7 @@
|
||||
"@types/react": "^16.7.22",
|
||||
"cross-env": "^5.2.0",
|
||||
"gh-pages": "^2.0.1",
|
||||
"prettier": "^1.19.1",
|
||||
"react": "^16.8.6",
|
||||
"react-scripts": "^3.0.1",
|
||||
"rollup": "^1.1.2",
|
||||
|
||||
Reference in New Issue
Block a user