UNPKG

always-helper

Version:

前端项目开发中,经常会用到一些工具函数的合集。

85 lines (84 loc) 2.68 kB
{ "name": "always-helper", "version": "0.0.11", "description": "前端项目开发中,经常会用到一些工具函数的合集。", "main": "./lib/index.js", "types": "./types/index.d.ts", "files": [ "lib", "types" ], "scripts": { "api": "api-extractor run", "build": "rollup -c && yarn build:types", "prettier": "prettier --write src/*", "test": "jest", "lint": "eslint", "type-check": "tsc --noEmit", "type-check:watch": "yarn type-check -- --watch", "build:types": "tsc --emitDeclarationOnly", "commit-msg": "commitlint -e $GIT_PARAMS", "commit-name": "node .gitauthor.js", "pre-push": "npx branch-name-lint", "contributors:add": "all-contributors add", "contributors:generate": "all-contributors generate", "docs": "docsify serve docs" }, "repository": { "type": "git", "url": "git+https://github.com/Rabbitzzc/always.git" }, "keywords": [ "always", "utils", "业务", "业务函数", "工具" ], "author": "Rabbitzzc", "license": "MIT", "bugs": { "url": "https://github.com/Rabbitzzc/always/issues" }, "homepage": "https://github.com/Rabbitzzc/always#readme", "engines": { "node": ">=10.0.0" }, "devDependencies": { "@babel/core": "^7.11.6", "@babel/plugin-transform-runtime": "^7.11.5", "@babel/preset-env": "^7.11.5", "@babel/preset-typescript": "7.10.4", "@commitlint/cli": "11.0.0", "@commitlint/config-conventional": "11.0.0", "@microsoft/api-extractor": "7.9.22", "@types/jest": "26.0.14", "@typescript-eslint/eslint-plugin": "4.1.1", "@typescript-eslint/parser": "4.1.1", "all-contributors-cli": "6.17.2", "babel-eslint": "^10.1.0", "branch-name-lint": "^1.4.0", "dayjs": "1.8.36", "dom-to-image": "2.6.0", "eslint": "7.9.0", "eslint-config-alloy": "^3.8.0", "glob": "7.1.6", "husky": "^4.2.5", "jest": "26.4.2", "js-cookie": "2.2.1", "prettier": "2.1.1", "rollup": "^2.26.11", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-clear": "2.0.7", "rollup-plugin-filesize": "9.0.2", "rollup-plugin-multi-input": "1.1.1", "rollup-plugin-node-resolve": "5.2.0", "rollup-plugin-terser": "^7.0.2", "ts-jest": "26.4.0", "ts-node": "9.0.0", "typescript": "4.0.3" }, "dependencies": { "lodash.sample": "4.2.1" } }