123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- {
- "name": "filesize",
- "description": "JavaScript library to generate a human readable String describing the file size",
- "version": "7.0.0",
- "homepage": "https://filesizejs.com",
- "author": "Jason Mulligan <jason.mulligan@avoidwork.com>",
- "repository": {
- "type": "git",
- "url": "git://github.com/avoidwork/filesize.js.git"
- },
- "bugs": {
- "url": "https://github.com/avoidwork/filesize.js/issues"
- },
- "files": [
- "lib",
- "*.d.ts"
- ],
- "license": "BSD-3-Clause",
- "browser": "lib/filesize.min.js",
- "main": "lib/filesize.js",
- "module": "lib/filesize.esm.js",
- "types": "filesize.d.ts",
- "engines": {
- "node": ">= 0.4.0"
- },
- "scripts": {
- "build": "rollup -c",
- "watch": "rollup -c -w",
- "changelog": "auto-changelog -p",
- "test": "npm run build && npm run lint && npm run test:unit",
- "test:unit": "nodeunit test/*.js",
- "lint": "eslint test/*.js src/*.js",
- "types": "npx typescript src/filesize.js --declaration --allowJs --emitDeclarationOnly --outDir ./"
- },
- "devDependencies": {
- "@babel/core": "^7.14.6",
- "@babel/preset-env": "^7.14.7",
- "auto-changelog": "^2.3.0",
- "eslint": "^7.30.0",
- "nodeunit-x": "^0.14.0",
- "rollup": "^2.53.1",
- "rollup-plugin-babel": "^4.4.0",
- "rollup-plugin-terser": "^7.0.2"
- },
- "keywords": [
- "file",
- "filesize",
- "size",
- "readable",
- "file system",
- "bytes",
- "diff"
- ]
- }
|