haw-utils
Version:
一个基于业务场景的工具方法库
80 lines (79 loc) • 2.31 kB
JSON
{
"name": "haw-utils",
"version": "3.1.4",
"description": "一个基于业务场景的工具方法库",
"main": "lib/index.js",
"scripts": {
"test": "mocha --require @babel/register --recursive",
"test:date": "mocha --require @babel/register --recursive test/date",
"test:math": "mocha --require @babel/register --recursive test/math",
"test:type": "mocha --require @babel/register --recursive test/type",
"test:validator": "mocha --require @babel/register --recursive test/validator",
"test:processor": "mocha --require @babel/register --recursive test/processor",
"build": "npm run build:lib && rm -rf dist && npm run build:dist && npm run build:dist-development",
"build:lib": "rm -rf lib && babel src --out-dir lib",
"build:dist": "webpack --mode=production",
"build:dist-development": "webpack --mode=development",
"build:lib-development": "rm -rf lib && babel src --out-dir lib --source-maps inline",
"doc": "jsdoc -c conf.json",
"pub": "npm run build && npm publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zhaoxiaobao/haw-utils.git"
},
"keywords": [
"util",
"haw-utils",
"haw-cli"
],
"author": "zhaoyuan <weixin:loveforhy email:1044523901@qq.com>",
"bugs": {
"url": "https://github.com/zhaoxiaobao/haw-utils/issues"
},
"homepage": "http://fe.hawjs.cn/haw-utils/index.html",
"dependencies": {
"moment": "^2.27.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/plugin-transform-modules-umd": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@babel/register": "^7.9.0",
"babel-loader": "^8.1.0",
"chai": "^4.2.0",
"docdash": "^1.2.0",
"jsdoc": "^3.6.3",
"minimist": "^1.2.5",
"mocha": "^6.2.2",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.11"
},
"babel": {
"presets": [
[
"@babel/env",
{
"targets": [
"> 1%",
"last 4 versions",
"Firefox ESR",
"not ie < 9"
]
}
]
],
"plugins": [
[
"@babel/transform-modules-umd",
{
"globals": {
"index": "hawUtils"
},
"exactGlobals": true
}
]
]
}
}