Skip to content

Instantly share code, notes, and snippets.

View mannycolon's full-sized avatar
👨‍💻
Coding Remotely

Manny Colon mannycolon

👨‍💻
Coding Remotely
View GitHub Profile
@mannycolon
mannycolon / .hyper.js
Last active March 15, 2022 15:38
Hyper Terminal Configs
"use strict";
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
// default font size in pixels for all tabs
{
"name": "sample-react-component-library",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "styleguidist server",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
export { default } from './MuiButton';
@mannycolon
mannycolon / npm-prerelease.md
Created December 1, 2020 16:02 — forked from schmich/npm-prerelease.md
Publish a prerelease package to NPM
  • Update package.json, set version to a prerelease version, e.g. 2.0.0-rc1, 3.1.5-rc4, ...
  • Run npm pack to create package
  • Run npm publish <package>.tgz --tag next to publish the package under the next tag
  • Run npm install --save package@next to install prerelease package
{
...,
"scripts": {
"start": "styleguidist server",
"build": "styleguidist build",
"prepublishOnly": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline"
},
...,
}
export { default as Button } from './Button';
export { default as MuiButton } from './MuiButton';
{
...
"main": "dist/index.js",
...
}
# MuiButton
A very Basic Material-UI button.
```jsx
import MuiButton from "./MuiButton.js";
<MuiButton text="Hello RCL devs!" />
```