Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c077931399 |
6
package-lock.json
generated
6
package-lock.json
generated
@@ -787,6 +787,12 @@
|
|||||||
"integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
|
"integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"prettier": {
|
||||||
|
"version": "1.14.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/prettier/-/prettier-1.14.2.tgz",
|
||||||
|
"integrity": "sha512-McHPg0n1pIke+A/4VcaS2en+pTNjy4xF+Uuq86u/5dyDO59/TtFZtQ708QIRkEZ3qwKz3GVkVa6mpxK/CpB8Rg==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"progress": {
|
"progress": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.0.tgz",
|
||||||
|
|||||||
@@ -4,12 +4,14 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint src"
|
"lint": "eslint src",
|
||||||
|
"format": "prettier --write \"**/*.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx)\""
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)",
|
"author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^5.5.0"
|
"eslint": "^5.5.0",
|
||||||
|
"prettier": "^1.14.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
const name = 'Freddy'
|
const name = "Freddy";
|
||||||
typeof name === 'string'
|
typeof name === "string";
|
||||||
|
|
||||||
if (!('serviceWorker' in navigator)) {
|
if (!("serviceWorker" in navigator)) {
|
||||||
// you have an old browser :-(
|
// you have an old browser :-(
|
||||||
}
|
}
|
||||||
|
|
||||||
const greeting = 'hello'
|
const greeting = "hello";
|
||||||
console.log(`${greeting} world!`)
|
console.log(`${greeting} world!`);
|
||||||
|
|
||||||
;[(1, 2, 3)].forEach(x => console.log(x))
|
[(1, 2, 3)].forEach(x => console.log(x));
|
||||||
|
|||||||
Reference in New Issue
Block a user