I maintain the following open-source packages. I am really keen to take contributions, or questions. Email me at [email protected]!
Node helper functions. Especially good for fetch requests with bearer tokens and questioning the user.
| '' | |
| '' 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")) |
| { | |
| "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. */, |
| 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", | |
| }, |
| 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" | |
| }, |
I maintain the following open-source packages. I am really keen to take contributions, or questions. Email me at [email protected]!
Node helper functions. Especially good for fetch requests with bearer tokens and questioning the user.
Make sure you use npm link on React to avoid error #321 as per https://reactjs.org/warnings/invalid-hook-call-warning.html
| { | |
| "component": { | |
| "prefix": ["svelte-component"], | |
| "body": [ | |
| "<script lang=\"typescript\">", | |
| "", | |
| "</script>", | |
| "", | |
| "<style lang=\"scss\">", | |
| " .c-${1:Component} {", |
| { | |
| "component": { | |
| "prefix": ["svelte-component"], | |
| "body": [ | |
| "<script lang="typescript">", | |
| "", | |
| "</script>", | |
| "", | |
| "<style lang="scss">", | |
| " .c-${1:Component} {", |
| aws lambda update-function-code --function-name my-function --zip-file fileb://./my-code.zip |
| { | |
| "component": { | |
| "scope": "typescriptreact", | |
| "prefix": ["component", "styled-component"], | |
| "body": [ | |
| "/** @jsx jsx */", | |
| "import { css, jsx } from \"@emotion/core\"", | |
| "import React from \"react\"", | |
| "", | |
| "/**", |