@kitmi/utils
Version:
A JavaScript utility library for both server and browser
72 lines • 1.81 kB
JSON
{
"name": "@kitmi/utils",
"version": "1.3.1",
"description": "A JavaScript utility library for both server and browser",
"main": "cjs/index",
"module": "src/index.js",
"react-native": "src/index.js",
"exports": {
".": {
"import": "./src/index.js",
"require": "./cjs/index.js"
},
"./*": {
"import": "./src/*.js",
"require": "./cjs/*.js"
}
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"author": "Rockie Guo <rockie@kitmi.com.au>",
"repository": {
"type": "git",
"url": "git+https://github.com/kitmi/jacaranda.git"
},
"license": "MIT",
"nyc": {
"exclude": [
".*",
"cjs",
"__test__",
"test"
]
},
"keywords": [
"kit",
"kitmi",
"jacaranda",
"javascript",
"utility",
"lodash"
],
"devDependencies": {
"benchmark": "^2.1.4",
"csv-parse": "^5.0.4",
"mobx": "^6.9.0",
"oxlint": "^0.10.3"
},
"dependencies": {
"lodash": "^4.17.21",
"@kitmi/types": "^1.3.5"
},
"prettier": {
"quoteProps": "consistent",
"printWidth": 120,
"singleQuote": true,
"trailingComma": "es5",
"tabWidth": 4,
"useTabs": false
},
"scripts": {
"test": "mocha --recursive ./__test__/*.spec.js",
"doc": "jsdoc --configure .jsdoc.json --verbose && node ../../scripts/prepack.js",
"cover": "nyc --reporter=html --reporter=text mocha --recursive ./__test__/*.spec.js && open ./coverage/index.html",
"prettier": "prettier --write .",
"lint": "oxlint -c .oxlintrc.json --disable-react-plugin --disable-typescript-plugin ./src",
"lint-fix": "pnpm lint --fix",
"clean": "shx rm -rf cjs coverage .nyc_output",
"build": "pnpm clean && swc ./src -d ./cjs --strip-leading-paths"
}
}