mirror of
https://github.com/dzeiocom/libs.git
synced 2025-04-22 02:42:13 +00:00
feat(object-util): bump 1.6.0
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
This commit is contained in:
parent
e6ba218e64
commit
4f37026c5b
10340
packages/object-util/package-lock.json
generated
10340
packages/object-util/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@dzeio/object-util",
|
||||
"version": "1.5.0",
|
||||
"version": "1.6.0",
|
||||
"description": "Utility functions to manipulate an object",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -10,9 +10,22 @@
|
||||
"homepage": "https://github.com/dzeiocom/libs/tree/master/packages/object-util",
|
||||
"author": "Aviortheking",
|
||||
"license": "MIT",
|
||||
"main": "./dist/cjs/ObjectUtil.js",
|
||||
"module": "./dist/esm/ObjectUtil.js",
|
||||
"types": "./dist/types/ObjectUtil.d.ts",
|
||||
"main": "./dist/ObjectUtil.js",
|
||||
"module": "./dist/ObjectUtil.mjs",
|
||||
"types": "./dist/ObjectUtil.d.ts",
|
||||
"browser": "./dist/ObjectUtil.global.js",
|
||||
"exports": {
|
||||
".": {
|
||||
"require": {
|
||||
"types": "./dist/ObjectUtil.d.ts",
|
||||
"default": "./dist/ObjectUtil.js"
|
||||
},
|
||||
"import": {
|
||||
"default": "./dist/ObjectUtil.mjs",
|
||||
"types": "./dist/ObjectUtil.d.mts"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sideEffects": false,
|
||||
"devDependencies": {
|
||||
"@types/jest": "^29",
|
||||
@ -24,11 +37,12 @@
|
||||
"jest-sonar-reporter": "^2",
|
||||
"ts-jest": "^29",
|
||||
"ts-node": "^10",
|
||||
"tsup": "^7.1.0",
|
||||
"typescript": "^4"
|
||||
},
|
||||
"scripts": {
|
||||
"prepublishOnly": "npm run build",
|
||||
"build": "esbuild src/index.ts --outfile=dist/browser.js --minify --bundle --target=es6 && tsc && tsc --project tsconfig.esm.json",
|
||||
"build": "tsup ./src/ObjectUtil.ts --format cjs,esm --dts --clean && tsup ./src/ObjectUtil.ts --format iife --global-name ObjectUtil --sourcemap",
|
||||
"test": "jest --coverage",
|
||||
"lint": "eslint src"
|
||||
},
|
||||
|
@ -1,9 +0,0 @@
|
||||
import ObjectUtil from './ObjectUtil'
|
||||
|
||||
ObjectUtil.objectLoop(ObjectUtil, (fn, key) => {
|
||||
// @ts-expect-error
|
||||
window[key as any] = fn
|
||||
})
|
||||
|
||||
// @ts-expect-error
|
||||
window.ObjectUtil = ObjectUtil
|
@ -1,11 +0,0 @@
|
||||
{
|
||||
"extends": "../config/tsconfig.esm.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist/esm",
|
||||
"declaration": false,
|
||||
"declarationDir": null
|
||||
},
|
||||
"files": [
|
||||
"src/ObjectUtil.ts"
|
||||
]
|
||||
}
|
@ -1,10 +1,3 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist/cjs",
|
||||
"declarationDir": "dist/types"
|
||||
},
|
||||
"files": [
|
||||
"src/ObjectUtil.ts"
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user