xxm-test-js
Version:
xxm-js通用js工具(utils)库
105 lines (104 loc) • 2.48 kB
JSON
{
"name": "xxm-test-js",
"version": "1.2.30",
"description": "xxm-js通用js工具(utils)库",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/XuXiaoMao123/xxm-test-js"
},
"keywords": [
"xxm",
"typescript",
"javascript",
"utils",
"toolkit",
"helpers",
"debounce",
"throttle",
"deepCopy",
"deepMerge",
"flattenArray",
"flattenTree",
"filterObject",
"formatThousands",
"getQueryObject",
"getWeek",
"handelTime",
"isType",
"copyTextToClipboard",
"sortArray",
"cleanArray",
"convertToTree",
"arrayToString",
"stringToArray",
"categorizeBy",
"formatDuration",
"groupBy",
"lookupDictLabel",
"createExistenceChecker",
"customSortMethod",
"enterFullscreen",
"exitFullscreen",
"getFullscreenElement",
"observeElementResize",
"findPathInTree",
"getRandomInt",
"htmlEscape",
"htmlUnescape",
"cssEscape",
"jsEscape",
"workEvent",
"TimeThread",
"getRelativeTime",
"scrollToTop",
"scrollToBottom",
"ScrollDirectionChecker",
"FormValidator",
"uniqueArray",
"WebSocketClient",
"Watermark"
],
"author": "xxm",
"files": [
"dist"
],
"license": "ISC",
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
},
"scripts": {
"build": "npx tsc -p .",
"test": "jest",
"test:coverage": "jest --coverage",
"type-check": "tsc --noEmit",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write \"src/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\"",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
"docs:deploy": "npm run docs:build && gh-pages -d docs/.vuepress/dist",
"prepare": "husky install",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^8.46.1",
"@typescript-eslint/parser": "^8.46.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^4.2.1",
"gh-pages": "^6.2.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^13.3.0",
"prettier": "^2.8.8",
"typescript": "^5.6.3",
"vuepress": "^1.9.10"
}
}