-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💩🔧 Until next.js suports ts-loaders natively, we comile typescript wi…
…th concurrently. vercel/next.js#2391
- Loading branch information
Showing
4 changed files
with
3,621 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,18 @@ | ||
// Gitmoji specific .vscode settings. | ||
// Hiding generated .js from .ts(x) files until next.js has a propper typescript | ||
// load workflow. | ||
{ | ||
"files.exclude": { | ||
"**/.git": true, | ||
"**/.svn": true, | ||
"**/.hg": true, | ||
"**/CVS": true, | ||
"**/.DS_Store": true, | ||
"**/*.js": { | ||
"when": "$(basename).ts" | ||
}, | ||
"**/**.js": { | ||
"when": "$(basename).tsx" | ||
} | ||
} | ||
} |
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 @@ | ||
{ | ||
"name": "gitmoji.com", | ||
"version": "1.0.1", | ||
"description": "Gitmoji Triangle — More than a Github Emoji Cheat Sheet!", | ||
"repository": "shoplinksys/gitmoji", | ||
"bugs": "https://github.com/shoplinksys/gitmoji/issues", | ||
"homepage": "http://gitmoji.com", | ||
"scripts": { | ||
"dev": "concurrently \"tsc --watch\" next", | ||
"build": "next build && next export -o docs && echo 'gitmoji.com' > ./docs/CNAME", | ||
"start": "next start" | ||
}, | ||
"dependencies": { | ||
"next": "beta", | ||
"react": "^15.6.1", | ||
"react-dom": "^15.6.1" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^8.0.17", | ||
"@types/react": "^15.6.0", | ||
"concurrently": "^3.5.0", | ||
"typescript": "^2.4.2" | ||
} | ||
} |
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,13 @@ | ||
{ | ||
"compilerOptions": { | ||
"module": "es2015", | ||
"target": "es2017", | ||
"jsx": "react-native", | ||
"moduleResolution": "node", | ||
"removeComments": false, | ||
"lib": [ | ||
"dom", | ||
"es2017" | ||
] | ||
} | ||
} |
Oops, something went wrong.