-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ce0dfe3
commit fc41909
Showing
11 changed files
with
6,581 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"presets": [ | ||
"next/babel", | ||
"@zeit/next-typescript/babel" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
build/ | ||
lib/ | ||
bin/ | ||
dist/ | ||
node_modules/ | ||
*.xcodeproj | ||
*.swp | ||
*.pyc | ||
*.VC.db | ||
*.VC.VC.opendb | ||
.vs/ | ||
*.vcxproj | ||
*.vcxproj.user | ||
*.vcxproj.filters | ||
*.sln | ||
*.code-workspace | ||
debug.log | ||
*debug.log | ||
Bundled*.js | ||
.next/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dist/* | ||
build/* | ||
node_modules/* | ||
public/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "all" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"typescript.tsdk": "./node_modules/typescript/lib", | ||
"editor.formatOnSave": true, | ||
"tslint.autoFixOnSave": true, | ||
"eslint.autoFixOnSave": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const withTypescript = require("@zeit/next-typescript") | ||
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin'); | ||
|
||
module.exports = withTypescript({ | ||
webpack(config, options) { | ||
// Do not run type checking twice: | ||
if (options.isServer) config.plugins.push(new ForkTsCheckerWebpackPlugin()) | ||
|
||
return config | ||
} | ||
}) |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"name": "gitcodeshare.com", | ||
"version": "0.1.0", | ||
"description": "https://contributhon.kr/project#gitshare", | ||
"main": "index.js", | ||
"scripts": { | ||
"dev": "next", | ||
"build": "next build", | ||
"start": "next start" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/jsdevkr/gitCodeShare.com.git" | ||
}, | ||
"author": "", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/jsdevkr/gitCodeShare.com/issues" | ||
}, | ||
"homepage": "https://github.com/jsdevkr/gitCodeShare.com#readme", | ||
"dependencies": { | ||
"@types/node": "^10.5.7", | ||
"@types/react": "^16.4.8", | ||
"@types/react-dom": "^16.0.7", | ||
"@zeit/next-typescript": "^1.1.0", | ||
"fork-ts-checker-webpack-plugin": "^0.4.4", | ||
"mobx": "^5.0.3", | ||
"mobx-react": "^5.2.3", | ||
"mobx-state-tree": "^3.0.2", | ||
"next": "^6.1.1", | ||
"prettier": "^1.14.0", | ||
"react": "^16.4.2", | ||
"react-dom": "^16.4.2", | ||
"styled-components": "^3.4.2", | ||
"styled-normalize": "^8.0.0", | ||
"tslint": "^5.11.0", | ||
"tslint-config-prettier": "^1.14.0", | ||
"typescript": "^3.0.1", | ||
"typescript-styled-plugin": "^0.10.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import * as React from 'react'; | ||
|
||
class App extends React.Component<{}> { | ||
render() { | ||
return <div>Welcome to next.js!</div>; | ||
} | ||
} | ||
|
||
export default App; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"compileOnSave": false, | ||
"compilerOptions": { | ||
"target": "esnext", | ||
"module": "esnext", | ||
"jsx": "react", | ||
"allowJs": true, | ||
"moduleResolution": "node", | ||
"allowSyntheticDefaultImports": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"removeComments": false, | ||
"preserveConstEnums": true, | ||
"sourceMap": true, | ||
"skipLibCheck": true, | ||
"baseUrl": ".", | ||
"lib": [ | ||
"dom", "es2016", "es2017", "es2018", "esnext" | ||
], | ||
"plugins": [{ | ||
"name": "typescript-styled-plugin" | ||
}] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"defaultSeverity": "warn", | ||
"extends": ["tslint-react", "tslint-config-prettier"], | ||
"rules": { | ||
"ban": false, | ||
"class-name": true, | ||
"comment-format": [true, "check-space"], | ||
"curly": true, | ||
"eofline": false, | ||
"forin": true, | ||
"interface-name": [true, "always-prefix"], | ||
"jsdoc-format": true, | ||
"jsx-no-lambda": false, | ||
"jsx-no-multiline-js": false, | ||
"label-position": true, | ||
"max-line-length": false, | ||
"member-ordering": [ | ||
true, | ||
"public-before-private", | ||
"static-before-instance", | ||
"variables-before-functions" | ||
], | ||
"no-any": false, | ||
"no-arg": true, | ||
"no-bitwise": true, | ||
"no-console": [true, "error", "debug", "info", "time", "timeEnd", "trace"], | ||
"no-construct": true, | ||
"no-debugger": false, | ||
"no-duplicate-variable": true, | ||
"no-empty": false, | ||
"no-eval": true, | ||
"no-shadowed-variable": true, | ||
"no-string-literal": true, | ||
"no-switch-case-fall-through": true, | ||
"no-trailing-whitespace": false, | ||
"no-unused-expression": false, | ||
"no-unused-variable": false, | ||
"no-use-before-declare": true, | ||
"radix": true, | ||
"semicolon": false, | ||
"switch-default": true, | ||
"trailing-comma": [false], | ||
"triple-equals": [true, "allow-null-check"], | ||
"typedef": [true, "parameter", "property-declaration"], | ||
"variable-name": [ | ||
true, | ||
"ban-keywords", | ||
"check-format", | ||
"allow-leading-underscore", | ||
"allow-pascal-case" | ||
], | ||
"jsx-boolean-value": false | ||
} | ||
} |