add prettier

This commit is contained in:
Rinat Arsaev 2018-09-26 22:23:46 +03:00
parent 0cab976154
commit 23c816cba1
2 changed files with 9 additions and 15 deletions

20
package-lock.json generated
View File

@ -42,15 +42,6 @@
"integrity": "sha512-lRnAtKnxMXcYYXqOiotTmJd74uawNWuPnsnPrrO7HiFuE3npE2iQhfABatbYDyxTNqZNuXzcKGhw37R7RjBFLg==",
"dev": true
},
"@types/lodash-es": {
"version": "4.17.1",
"resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.1.tgz",
"integrity": "sha512-3EDZjphPfdjnsWvY11ufYImFMPyQJwIH1eFYRgWQsjOctce06fmNgVf5sfvXBRiaS1o0X50bAln1lfWs8ZO3BA==",
"dev": true,
"requires": {
"@types/lodash": "*"
}
},
"@types/minimatch": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz",
@ -363,11 +354,6 @@
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",
"integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg=="
},
"lodash-es": {
"version": "4.17.11",
"resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.11.tgz",
"integrity": "sha512-DHb1ub+rMjjrxqlB3H56/6MXtm1lSksDp2rA2cNWjG8mlDUYFhUj3Di2Zn5IwSU87xLv8tNIQ7sSwE/YOX/D/Q=="
},
"lodash._baseassign": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz",
@ -651,6 +637,12 @@
"isarray": "0.0.1"
}
},
"prettier": {
"version": "1.14.3",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-1.14.3.tgz",
"integrity": "sha512-qZDVnCrnpsRJJq5nSsiHCE3BYMED2OtsI+cmzIzF1QIfqm5ALf8tEJcO27zV1gKNKRPdhjO0dNWnrzssDQ1tFg==",
"dev": true
},
"require-directory": {
"version": "2.1.1",
"resolved": "http://r.npm.sankuai.com/require-directory/download/require-directory-2.1.1.tgz",

View File

@ -6,7 +6,8 @@
"scripts": {
"build": "tsc",
"test": "tsc test/* --outDir test-tmp && mocha",
"postinstall": "npm run build"
"postinstall": "npm run build",
"prettier": "prettier"
},
"repository": {
"url": "https://github.com/windwhinny/thrift-ts.git",
@ -25,6 +26,7 @@
"chai": "^3.5.0",
"growl": "^1.10.5",
"mocha": "^3.5.3",
"prettier": "^1.14.3",
"sinon": "^4.5.0",
"typescript": "^3.0.3"
},