View updateNpm.bat
@echo off | |
SETLOCAL EnableDelayedExpansion | |
if [%1] == ["latest"] ( | |
echo Pass in the version you would like to install, or "latest" to install the latest npm version. | |
) else ( | |
set wanted_version="latest" | |
if "!wanted_version!" == "latest" ( | |
for /f %%i in ('npm show npm version') do set wanted_version=%%i |
View VSCODE_USER_SETTINGS.json
{ | |
"editor.renderIndentGuides": false, | |
"editor.tabSize": 2, | |
"editor.fontSize": 15.5, | |
"workbench.colorTheme": "NeonGlow", | |
"editor.snippetSuggestions": "top", | |
"editor.formatOnSave": true, | |
"window.zoomLevel": 0, | |
"workbench.iconTheme": "vscode-icons", | |
"emmet.triggerExpansionOnTab": true, |
View package.json
{ | |
"name": "future-project", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"start": "run-script-os", | |
"start:win32": | |
"browser-sync start --server --files '**/*.css, **/*.html, **/*.js, !node_modules/**/*' --directory --port 7777 --browser \"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe\"", | |
"start:darwin:linux": |
View package.json
{ | |
"name": "test-project", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"start": "run-script-os", | |
"start:win32": "browser-sync start --server --files '**/*.css, **/*.html, **/*.js, !node_modules/**/*' --directory --port 7777 --browser \"C:\\Program Files\\Firefox Developer Edition\\firefox.exe\"", | |
"//": "Hello! If you are having trouble running this command. Try changing Firefox Developer Edition to FirefoxDeveloperEdition", | |
"start:darwin:linux": "browser-sync start --server --files '**/*.css, **/*.html, **/*.js, !node_modules/**/*' --directory --port 7777 --browser 'Firefox Developer Edition'" |
View .babelrc
{ | |
"plugins": [ | |
"syntax-dynamic-import" | |
], | |
"presets": [ | |
[ | |
"env", | |
{ | |
"targets": { | |
"browsers": ["IE 8"] |
View .gitignore
# See http://help.github.com/ignore-files/ for more about ignoring files. | |
# dependencies | |
node_modules | |
npm-debug.log | |
# testing | |
coverage | |
# production |
View .babelrc
{ | |
"presets": [ | |
[ | |
"env", | |
{ | |
"targets": { | |
"browsers": ["IE 8"] | |
} | |
} | |
], |
View .editorconfig
# EditorConfig is awesome: http://EditorConfig.org | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
indent_style = space | |
indent_size = 2 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true |
View nodemon.json
{ | |
"restartable": "rs", | |
"ignore": [ | |
".git", | |
"node_modules/**/node_modules" | |
], | |
"verbose": true, | |
"events": { | |
"restart": "osascript -e 'display notification \"App restarted due to:\n'$FILENAME'\" with title \"nodemon\"'" | |
}, |
View .eslintrc.js
{ | |
"env": { | |
"browser": true, | |
"node": true, | |
"es6": true | |
}, | |
"plugins": ["react"], | |
"ecmaFeatures": { |
NewerOlder