UNPKG

common-function-utils

Version:
84 lines (83 loc) 2.69 kB
{ "name": "common-function-utils", "version": "0.0.28", "description": "web和node开发中常用的函数工具。", "main": "./dist/index.cjs.js", "module": "dist/index.esm.js", "browser": "dist/index.umd.js", "types": "types", "files": [ "dist", "types" ], "scripts": { "prepare": "husky install", "prestart": "npm i && npm run doc", "anywhere": "npx anywhere -p 8888 -d ./docs -l", "start": "npm run anywhere & rollup -c -w & npx nodemon node_modules/.bin/typedoc --tsconfig ./tsconfig.json", "test": "jest --watchAll --no-cache -e", "doc": "rm -rf docs && typedoc --tsconfig ./tsconfig.json", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", "types": "rm -rf types && tsc -d --emitDeclarationOnly --declarationDir ./types", "build": "rm -rf dist && rollup -c --silent && npm run types", "version": "npm run build && git add -A", "prerelease": "npm version patch", "release": "npm publish", "postrelease": "npm run changelog && sh release.sh" }, "homepage": "https://robint-liu.github.io/common-function-utils", "bugs": { "url": "https://github.com/robint-liu/common-function-utils/issues", "email": "liuyang9301@sina.cn" }, "repository": { "type": "git", "url": "https://github.com/robint-liu/common-function-utils" }, "keywords": [ "tools", "util", "function-utils", "stdlib", "typeScript", "typedoc", "rollup", "jest" ], "author": "比诺", "license": "MIT", "devDependencies": { "@babel/plugin-proposal-class-properties": "7.10.4", "@babel/plugin-proposal-decorators": "7.10.5", "@babel/plugin-proposal-object-rest-spread": "7.11.0", "@babel/plugin-syntax-dynamic-import": "7.8.3", "@babel/plugin-transform-regenerator": "7.10.4", "@babel/plugin-transform-runtime": "7.11.0", "@babel/preset-env": "7.11.0", "@babel/preset-typescript": "7.10.4", "@commitlint/cli": "13.2.0", "@commitlint/config-conventional": "13.2.0", "@rollup/plugin-alias": "3.1.1", "@rollup/plugin-babel": "5.2.0", "@rollup/plugin-commonjs": "15.0.0", "@rollup/plugin-json": "4.1.0", "@rollup/plugin-node-resolve": "9.0.0", "@types/node": "14.6.0", "conventional-changelog-cli": "2.1.1", "gh-pages": "^3.2.3", "husky": "^7.0.2", "jest": "26.4.1", "jsdom": "16.4.0", "path": "0.12.7", "rollup": "2.26.5", "rollup-plugin-node-polyfills": "0.2.1", "rollup-plugin-terser": "7.0.0", "ts-node": "9.0.0", "typedoc": "0.19.2", "typescript": "4.0.2" }, "dependencies": { "ua-parser-js": "0.7.28", "url-parse": "1.5.3" } }