Skip to content

Commit

Permalink
Refactor to typescript (#40)
Browse files Browse the repository at this point in the history
* refactor to shared, rename lib to src

* update to settings

* renamed spec files

* update to deps

* 4.6.1
  • Loading branch information
duluca committed Dec 21, 2019
1 parent abba121 commit b34c9ff
Show file tree
Hide file tree
Showing 26 changed files with 826 additions and 139 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ jspm_packages
declarations
.DS_Store
!specs.js
test_results
test_results
.env
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
lib/
src/
tests/
tsconfig.json
jasmine.json
1 change: 0 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"amatiasq.sort-imports",
"esbenp.prettier-vscode",
"DSKWRK.vscode-generate-getter-setter",
"esbenp.prettier-vscode",
"WallabyJs.quokka-vscode",
"ms-vscode.vscode-typescript-tslint-plugin"
]
Expand Down
4 changes: 3 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/jasmine/bin/jasmine.js",
"args": ["tests/${fileBasenameNoExtension}.js"],
"args": [
"tests/${fileBasenameNoExtension}.js"
],
"env": {
"NODE_PATH": "."
},
Expand Down
25 changes: 12 additions & 13 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
{
"debug.openExplorerOnEnd": true,

"editor.tabSize": 2,
"editor.rulers": [90],
"editor.autoIndent": true,
"editor.rulers": [
90
],
"editor.autoIndent": "full",
"editor.cursorBlinking": "solid",
"editor.formatOnType": false,
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.minimap.enabled": false,
"editor.codeActionsOnSave": {
"source.organizeImports": false,
"source.fixAll.tslint": true,
"source.fixAll.tslint": true
},

"explorer.openEditors.visible": 0,

"files.trimTrailingWhitespace": true,
"files.autoSave": "onFocusChange",
"files.exclude": {
Expand All @@ -28,16 +27,11 @@
"when": "$(basename)"
}
},

"git.confirmSync": false,
"git.enableSmartCommit": true,

"npm.enableScriptExplorer": true,

"typescript.tsdk": "node_modules/typescript/lib",

"workbench.iconTheme": "material-icon-theme",

"workbench.colorCustomizations": {
"activityBar.background": "#3566a7",
"activityBar.activeBorder": "#611f3b",
Expand All @@ -54,8 +48,13 @@
"statusBar.foreground": "#e7e7e7"
},
"peacock.color": "#294E80",

"gitlens.menus": {
"editorGroup": false
}
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[html]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"auto-close-tag.SublimeText3Mode": true,
"html.autoClosingTags": false
}
3 changes: 3 additions & 0 deletions example.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Document required environment variables for .env file here
# Execute npm run init:env to generate a .env file from example
MY_VAR=defaultValue
Loading

0 comments on commit b34c9ff

Please sign in to comment.