Make sure you use npm link on React to avoid error #321 as per https://reactjs.org/warnings/invalid-hook-call-warning.html
This file contains hidden or 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
Show hidden characters
| { | |
| "component": { | |
| "scope": "typescriptreact", | |
| "prefix": ["component", "styled-component"], | |
| "body": [ | |
| "/** @jsx jsx */", | |
| "import { css, jsx } from \"@emotion/core\"", | |
| "import React from \"react\"", | |
| "", | |
| "/**", |
This file contains hidden or 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
| aws lambda update-function-code --function-name my-function --zip-file fileb://./my-code.zip |
This file contains hidden or 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
| { | |
| "component": { | |
| "prefix": ["svelte-component"], | |
| "body": [ | |
| "<script lang="typescript">", | |
| "", | |
| "</script>", | |
| "", | |
| "<style lang="scss">", | |
| " .c-${1:Component} {", |
This file contains hidden or 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
| { | |
| "component": { | |
| "prefix": ["svelte-component"], | |
| "body": [ | |
| "<script lang=\"typescript\">", | |
| "", | |
| "</script>", | |
| "", | |
| "<style lang=\"scss\">", | |
| " .c-${1:Component} {", |
I maintain the following open-source packages. I am really keen to take contributions, or questions. Email me at robbie@robbie.pw!
Node helper functions. Especially good for fetch requests with bearer tokens and questioning the user.
This file contains hidden or 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
| const nodeExternals = require("webpack-node-externals"); | |
| const path = require("path"); | |
| module.exports = { | |
| entry: path.resolve(__dirname, "./src/index.ts"), | |
| output: { | |
| path: path.resolve(__dirname, "./dist"), | |
| filename: "index.js", | |
| libraryTarget: "commonjs2" | |
| }, |
This file contains hidden or 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
| const path = require("path"); | |
| module.exports = { | |
| entry: path.resolve(__dirname, "./src/index.ts"), | |
| output: { | |
| path: path.resolve(__dirname, "./umd"), | |
| filename: "index.js", | |
| libraryTarget: "umd", | |
| library: "MyPackageName", | |
| }, |
This file contains hidden or 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
| { | |
| "compilerOptions": { | |
| /* Visit https://aka.ms/tsconfig.json to read more about this file */ | |
| /* Basic Options */ | |
| // "incremental": true, /* Enable incremental compilation */ | |
| "target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */, | |
| "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */, | |
| // "lib": [], /* Specify library files to be included in the compilation. */ | |
| "allowJs": true /* Allow javascript files to be compiled. */, |
This file contains hidden or 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
| '' | |
| '' sketchy-outline theme based off of the bootstrap theme of the same name | |
| '' https://bootswatch.com/sketchy/ | |
| '' | |
| '' Author = "Brett Schwarz | |
| '' Copyright (c) 2020 by Brett Schwarz | |
| !$THEME = "sketchy-outline" | |
| !if %not(%variable_exists("$BGCOLOR")) |
OlderNewer