file-box

v1.4.13
Pack a File into Box for easy move/transfer between servers no matter of where it is.(local path, remote url, or cloud storage)
file virtual cloud url stream http api

clean

shx rm -fr dist/*

dist

npm-run-all clean build dist:commonjs

build

tsc && tsc -p tsconfig.cjs.json

dist:commonjs

jq -n "{ type: \"commonjs\" }" > dist/cjs/package.json

lint

npm-run-all lint:es lint:ts

lint:ts

tsc --isolatedModules --noEmit

test

npm-run-all lint test:unit

test:unit

cross-env NODE_OPTIONS="--no-warnings --loader=ts-node/esm" tap "src/**/*.spec.ts" "tests/*.spec.ts"

test:pack

bash -x scripts/npm-pack-testing.sh

lint:es

eslint --ignore-pattern fixtures/ "src/**/*.ts" "tests/**/*.ts"

Metadata

Downloads

Maintainers