Lucas Klaassen lucasklaassen
-
WineDirect
- Vancouver BC
- https://www.lucasklaassen.com
View keybindings.json
[ | |
{ | |
"key": "ctrl+space", | |
"command": "workbench.action.terminal.toggleTerminal" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "workbench.action.terminal.focus", | |
"when": "!terminalFocus" | |
}, |
View encryption.js
// You must create a folder in your root directory named environments/ | |
// Add the following lines to your .gitignore | |
// /src/environments/environment.ts | |
// /src/environments/*.development.ts | |
// /src/environments/*.production.ts | |
// /src/environments/*.staging.ts | |
// Under src/environments add your environment.ts files like you normally do. |
View fetch.js
'use strict'; | |
import ExampleObject from './../objects/ExampleObject'; | |
const schema = { | |
"properties": { | |
"primaryID": { | |
"type": "string", | |
"format": "uuid" | |
} |
View handler.js
'use strict'; | |
import utilities from './../lib/utilities'; | |
import ExampleObject from './../objects/ExampleObject'; | |
import Ajv from 'ajv'; | |
const schema = { | |
"properties": { | |
"primaryID": { | |
"type": "string", |
View launch.json
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Serverless", | |
"program": "${workspaceFolder}/node_modules/.bin/sls", | |
"cwd": "${workspaceFolder}", | |
"args": [ |
View webpack.config.js
const nodeExternals = require('webpack-node-externals'); | |
const path = require('path'); | |
const slsw = require('serverless-webpack'); | |
module.exports = { | |
devtool: 'source-map', | |
entry: slsw.lib.entries, | |
target: 'node', | |
externals: [nodeExternals()], | |
output: { |