mirror of https://github.com/grpc/grpc-node.git
Merge pull request #2 from nicolasnoble/google-ts-style
Running google-ts-style init.
This commit is contained in:
commit
2510b86baa
21
package.json
21
package.json
|
@ -9,7 +9,9 @@
|
|||
"node": ">=8.3"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "Google Inc.",
|
||||
"author": {
|
||||
"name": "Google Inc."
|
||||
},
|
||||
"license": "Apache-2.0",
|
||||
"devDependencies": {
|
||||
"@types/node": "^8.0.17",
|
||||
|
@ -19,6 +21,21 @@
|
|||
"gulp-tslint": "^8.1.1",
|
||||
"gulp-typescript": "^3.2.1",
|
||||
"merge2": "^1.1.0",
|
||||
"typescript": "^2.4.2"
|
||||
"typescript": "^2.4.1",
|
||||
"google-ts-style": "latest",
|
||||
"tslint": "^5.5.0"
|
||||
},
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Google Inc."
|
||||
}
|
||||
],
|
||||
"_id": "grpc-js@0.1.0",
|
||||
"scripts": {
|
||||
"build": "npm run compile",
|
||||
"clean": "rm -rf ./build/",
|
||||
"compile": "tsc -p . --rootDir . --outDir build/",
|
||||
"format": "clang-format -i -style=\"{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}\" src/*.ts test/*.ts",
|
||||
"lint": "tslint -c node_modules/google-ts-style/tslint.json -p . -t codeFrame --type-check"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"extends": "node_modules/google-ts-style/tsconfig-google.json",
|
||||
"include": [
|
||||
"src/*.ts",
|
||||
"src/**/*.ts",
|
||||
"test/*.ts",
|
||||
"test/**/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue