{ "name": "@beenotung/tslib", "version": "24.27.1", "description": "utils library in Typescript", "keywords": [ "Typescript", "Library", "Utility" ], "author": { "name": "Beeno Tung", "email": "aabbcc1241@yahoo.com.hk", "url": "https://beeno-tung.surge.sh" }, "license": "BSD-2-Clause", "repository": { "type": "git", "url": "git+https://github.com/beenotung/tslib.git" }, "homepage": "https://github.com/beenotung/tslib#readme", "bugs": { "url": "https://github.com/beenotung/tslib/issues" }, "scripts": { "web": "esbuild --watch --bundle test/web/index.ts --outfile=test/web/bundle.js", "clean": "rimraf dist", "expand-macro": "tsc-macro", "gen-index": "gen-index && sed -i '/xlsx/d' src/index.ts", "tsc": "tsc -p tsconfig.build.json", "build": "run-s clean expand-macro gen-index tsc clean-build", "clean-build": "rimraf src/index.ts dist/**/*.macro.*", "lint": "eslint . --ext .ts", "dev": "run-p watch:*", "watch:build": "tsc -p . --watch", "watch:lint": "chokidar src/**/*.ts -c \"npm run lint\" --initial --verbose", "format": "run-s format:*", "format:prettier": "prettier --write .", "format:json": "format-json-cli", "format:eslint": "eslint . --ext .ts --fix", "test": "run-s build mocha test:ts", "test:ts": "ts-node test/index.ts", "mocha": "NODE_OPTIONS=\"${NODE_OPTIONS:+$NODE_OPTIONS }--no-experimental-strip-types\" ts-mocha \"{src,test}/**/*.spec.ts\"", "commit": "run-s format test git:commit", "git:commit": "git commit $@", "prepublishOnly": "npm run build", "coverage": "nyc npm run mocha -- --reporter=progress", "report:update": "nyc --reporter=lcov npm run mocha -- --reporter=progress", "report:open": "open-cli coverage/lcov-report/index.html", "report": "run-s report:update report:open" }, "dependencies": { "node-localstorage": "^3.0.5", "timezone-date.ts": "^2.1.0", "tslib": "^2.8.1" }, "optionalDependencies": { "@e965/xlsx": "^0.20.3", "heic2any": "^0.0.4" }, "devDependencies": { "@beenotung/gen-index": "^1.2.1", "@e965/xlsx": "^0.20.3", "@types/chai": "^4.3.20", "@types/cli-progress": "^3.11.6", "@types/mocha": "^10.0.10", "@types/node": "^24.10.9", "@types/sinon": "^21.0.0", "@types/tape": "^5.8.1", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", "chai": "^4.5.0", "chokidar": "^3.6.0", "chokidar-cli": "^3.0.0", "cli-progress": "^3.12.0", "esbuild": "^0.27.2", "eslint": "^8.57.1", "format-json-cli": "^1.1.0", "heic2any": "^0.0.4", "mocha": "^10.8.2", "npm-run-all": "^4.1.5", "nyc": "^17.1.0", "open-cli": "^8.0.0", "prettier": "^3.8.1", "rimraf": "^6.1.2", "sinon": "^21.0.1", "tape": "^5.9.0", "ts-mocha": "^10.1.0", "ts-node": "^10.9.2", "tsc-macro": "^1.0.2", "typescript": "^5.9.3" } }