Skip to content

Commit

Permalink
Merge pull request #705 from actnwit/feat/gts
Browse files Browse the repository at this point in the history
Install gts (google TypeScript Style) tools
  • Loading branch information
Yuki Shimada authored Feb 18, 2021
2 parents 9543e9e + 10da1e7 commit 029fcb7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "./node_modules/gts/"
}
3 changes: 3 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
...require('gts/.prettierrc.json')
}
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,20 @@
"doc": "typedoc --exclude '**/*+(test|d).ts' --out ./docs/ ./src/",
"yarn-pack": "yarn pack -f rhodonite-tmp.tgz",
"start": "node server.js",
"create-VERSION-FILE": "npx shx touch VERSION-FILE"
"create-VERSION-FILE": "npx shx touch VERSION-FILE",
"gts-lint": "gts lint",
"gts-clean": "gts clean",
"gts-fix": "gts fix"
},
"devDependencies": {
"@types/jest": "^24.0.13",
"@types/node": "^12.6.2",
"@types/node": "^14.11.2",
"@types/webgl-ext": "^0.0.30",
"@types/webgl2": "^0.0.5",
"@types/webvr-api": "^0.0.35",
"@typescript-eslint/parser": "3.8.0",
"express": "^4.17.1",
"gts": "^3.1.0",
"http-server": "^0.11.1",
"jest": "^24.8.0",
"jest-image-snapshot": "^2.8.2",
Expand All @@ -53,7 +57,7 @@
"ts-jest": "^24.0.2",
"ts-loader": "^6.0.2",
"typedoc": "0.20.19",
"typescript": "^3.7.2",
"typescript": "^4.0.3",
"webpack": "^4.33.0",
"webpack-cli": "^3.3.12",
"webpack-merge": "^4.2.1"
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"extends": "./node_modules/gts/tsconfig-google.json",
"compilerOptions": {
/* Basic Options */
"target": "es2017", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
Expand Down

0 comments on commit 029fcb7

Please sign in to comment.