The prepublish
hook will ensure dist files are created before publishing. This
way you don't need to commit them in your repository.
# Bump the version first
# It'll also commit it and create a tag
npm version patch -m 'MESSAGE'
{ | |
"title": "Coronavirus Dashboard", | |
"blocks": [ | |
{ | |
"type": "multi", | |
"batches": [ | |
{ | |
"blocks": [ | |
{ | |
"type": "init" |
import * as stringify from 'json-stringify-safe'; | |
const format = 'json'; | |
const outputData = stringify(this.model); | |
const mimeTypes = { | |
'json': 'application/json', | |
'csv': 'text/csv', | |
'xml': 'text/xml', | |
'txt': 'text/plain' |
Adding params for face detection:
&auto=format&fit=facearea&h=256&w=256&q=80&facepad=2
export interface ZipEntry { | |
version: number; | |
bitFlag: number; | |
compressionMethod: number; | |
lastModDateRaw: number; | |
lastModDate: string; | |
crc32: number; | |
compressedSize: number; | |
uncompressedSize: number; | |
filenameLength: number; |
{ | |
"adapterName": "mccs", | |
"label": "MCCS", | |
"description": null, | |
"infoUrl": null, | |
"supportUrl": null, | |
"maintainer": null, | |
"version": "0.1.0", | |
"tags": [], | |
"name": "mccs", |
Front-matter parser https://github.com/jonschlinkert/gray-matter
Image resizing, in the browser, with high-speed and high-quality: https://github.com/nodeca/pica
human friendly i18n for JS http://nodeca.github.io/babelfish/
{ | |
"adapterName": "dropbox", | |
"label": "Dropbox", | |
"description": null, | |
"infoUrl": null, | |
"supportUrl": null, | |
"maintainer": null, | |
"version": "0.0.0", | |
"tags": [], | |
"name": "dropbox", |