yarn add fs-extra googleapis@33 mime-types shelljs
'use strict';
const { resolve } = require('path');
<input type="number" pattern="[0-9]*" data-numeric-input> |
Module | Definition | Download |
---|---|---|
@nx-js/observer-util_v4.x.x | v0.104.x-: ❌; v0.25.x-v0.103.x: ❌ | |
@turf/distance_v4.x.x | v0.25.x-v0.103.x: ❌ | |
alasql_v0.3.x | v0.25.x-v0.103.x: ❌ |
(async () => { | |
const ONE_OUR = 3.6e6; | |
const ONE_DAY = ONE_OUR * 24; | |
const ONE_WEEK = ONE_DAY * 7; | |
const ONE_MONTH = ONE_DAY * 30; | |
const MY_ACC = '450630799713370122'; | |
const AUTH_HEADERS = { | |
authorization: | |
'NDUwNjMwNzk5NzEzMzcwMTIy.D1nm-A.-Y4FVlVUPvpa5iOhFPcV8wHezn4', | |
'x-fingerprint': '550955708544319502._NRVO3hY6wEg0MGkbkaV_blfirs', |
const axios = require('axios'); | |
const a= axios.create() | |
a.interceptors.request.use( | |
(v) => (console.log('request 1 start'),v), | |
(v) => (console.log('request 1 end '),v) | |
) |
#!/bin/bash | |
BIN=./node_modules/babel-plugin-fbt/bin | |
TMP_ROOT=./.i18n-cache | |
SRC_ROOT=./src | |
SRC_MANIFEST=${TMP_ROOT}/src-manifest.json | |
ENUM_MANIFEST=${TMP_ROOT}/enum-manifest.json | |
SOURCE_STRINGS=${TMP_ROOT}/source-strings.json |
In file node_modules/@babel/plugin-transform-typescript/lib/index.js
For a function isImportTypeOnly
add code:
function isImportTypeOnly({
binding,
programPath,
jsxPragma
}) {
/// <reference types="react" /> | |
declare namespace FBT { | |
type $Values<T> = T[keyof T]; | |
// https://github.com/facebookincubator/fbt/blob/e9c591f451dbfc91852e316869ae39ad41848c55/runtime/nonfb/GenderConst.js#L9-L23 | |
interface GenderConst { | |
NOT_A_PERSON: 0; | |
FEMALE_SINGULAR: 1; | |
MALE_SINGULAR: 2; |
declare module 'react-native-branch' { | |
// https://github.com/BranchMetrics/react-native-branch-deep-linking-attribution#content-schema | |
export type ContentSchema = | |
| 'COMMERCE_AUCTION' | |
| 'COMMERCE_BUSINESS' | |
| 'COMMERCE_OTHER' | |
| 'COMMERCE_PRODUCT' | |
| 'COMMERCE_RESTAURANT' | |
| 'COMMERCE_SERVICE' | |
| 'COMMERCE_TRAVEL_FLIGHT' |