84 lines
2.2 KiB
JSON
84 lines
2.2 KiB
JSON
{
|
|
"name": "file-box",
|
|
"version": "1.4.15",
|
|
"description": "Pack a File into Box for easy move/transfer between servers no matter of where it is.(local path, remote url, or cloud storage)",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/esm/src/mod.js",
|
|
"require": "./dist/cjs/src/mod.js"
|
|
}
|
|
},
|
|
"typings": "./dist/esm/src/mod.d.ts",
|
|
"engines": {
|
|
"node": ">=16",
|
|
"npm": ">=7"
|
|
},
|
|
"scripts": {
|
|
"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\""
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/huan/file-box.git"
|
|
},
|
|
"keywords": [
|
|
"file",
|
|
"virtual",
|
|
"cloud",
|
|
"url",
|
|
"stream",
|
|
"http",
|
|
"api"
|
|
],
|
|
"author": "Huan LI <zixia@zixia.net>",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/huan/file-box/issues"
|
|
},
|
|
"homepage": "https://github.com/huan/file-box#readme",
|
|
"devDependencies": {
|
|
"@chatie/eslint-config": "^1.0.4",
|
|
"@chatie/git-scripts": "^0.6.2",
|
|
"@chatie/semver": "^0.4.7",
|
|
"@chatie/tsconfig": "^4.6.2",
|
|
"@types/isomorphic-fetch": "0.0.35",
|
|
"@types/mime": "^2.0.3",
|
|
"@types/qrcode": "^1.4.1",
|
|
"@types/uuid": "^8.3.3",
|
|
"gts": "^3.1.0",
|
|
"pkg-jq": "^0.2.11",
|
|
"read-pkg-up": "^8.0.0",
|
|
"reflect-metadata": "^0.1.13"
|
|
},
|
|
"dependencies": {
|
|
"brolog": "^1.14.2",
|
|
"clone-class": "^1.0.3",
|
|
"jimp": "^0.16.1",
|
|
"jsqr": "^1.4.0",
|
|
"mime": "^3.0.0",
|
|
"qrcode": "^1.5.0",
|
|
"uuid": "^8.3.2"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"tag": "latest"
|
|
},
|
|
"git": {
|
|
"scripts": {
|
|
"pre-push": "npx git-scripts-pre-push"
|
|
}
|
|
}
|
|
} |