timepiece/node_modules/filesize/package.json

59 lines
1.9 KiB
JSON

{
"name": "filesize",
"description": "JavaScript library to generate a human readable String describing the file size",
"version": "10.1.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": [
"dist",
"types"
],
"license": "BSD-3-Clause",
"main": "dist/filesize.cjs",
"module": "dist/filesize.esm.js",
"types": "types/filesize.d.ts",
"type": "module",
"sourceType": "module",
"engines": {
"node": ">= 10.4.0"
},
"scripts": {
"build": "npm run rollup",
"changelog": "auto-changelog -p",
"coverage": "nyc npm run test",
"lint": "eslint *.js src/*.js test/*.js",
"mocha": "nyc mocha test/*.js",
"rollup": "rollup --config",
"test": "npm run lint && npm run mocha",
"test-webpack": "mkdir -p test/webpack && rm -rf test/webpack/* && git clone git@github.com:rabelais88/typescript-webpack.git test/webpack && echo \"import { filesize } from 'filesize';console.log(filesize(1234));\" >> test/webpack/src/index.ts && cd test/webpack && npm install && mkdir -p node_modules/filesize/dist && cp ../../package.json node_modules/filesize/ && cp ../../dist/* node_modules/filesize/dist/ && npm run build",
"types": "npx -p typescript tsc src/*.js --declaration --allowJs --emitDeclarationOnly --outDir types",
"prepare": "husky install"
},
"devDependencies": {
"@rollup/plugin-terser": "^0.4.0",
"auto-changelog": "^2.4.0",
"eslint": "^8.37.0",
"husky": "^8.0.3",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"rollup": "^3.20.2",
"typescript": "^5.0.2"
},
"keywords": [
"file",
"filesize",
"size",
"readable",
"file system",
"bytes",
"diff"
]
}