limit-once
Advanced tools
Comparing version 0.6.0 to 0.7.0
@@ -13,3 +13,3 @@ { | ||
"license": "MIT", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"private": false, | ||
@@ -20,20 +20,8 @@ "repository": { | ||
}, | ||
"sideEffects": false, | ||
"type": "module", | ||
"sideEffects": false, | ||
"scripts": { | ||
"prepublishOnly": "bun build:all", | ||
"build:all": "bun build:clean && bun build:dist:esm && bun build:dist:cjs && bun build:types", | ||
"build:clean": "rimraf dist", | ||
"build:dist:esm": "esbuild ./src/* --outdir=./dist/esm --format=esm", | ||
"build:dist:cjs": "esbuild ./src/* --outdir=./dist/cjs --format=cjs", | ||
"build:types": "tsc ./src/* --outDir ./dist/esm --declaration --emitDeclarationOnly --skipLibCheck", | ||
"check:all": "bun check:prettier && bun check:typescript", | ||
"check:prettier": "prettier --debug-check src/**/*.ts test/**/*.ts", | ||
"check:typescript": "tsc" | ||
}, | ||
"main": "./dist/cjs/index.js", | ||
"module": "./dist/esm/index.js", | ||
"types": "./dist/esm/index.d.ts", | ||
"exports": { | ||
".": "./dist/esm/index.js" | ||
"import": "./dist/esm/index.js", | ||
"require": "./dist/cjs/index.cjs", | ||
"types": "./dist/esm/index.d.ts" | ||
}, | ||
@@ -59,3 +47,14 @@ "files": [ | ||
"typescript": "^5.4.5" | ||
}, | ||
"scripts": { | ||
"prepublishOnly": "bun build:all", | ||
"build:all": "bun build:clean && bun build:dist:esm && bun build:dist:cjs && bun build:types", | ||
"build:clean": "rimraf dist", | ||
"build:dist:esm": "esbuild ./src/* --outdir=./dist/esm --format=esm", | ||
"build:dist:cjs": "esbuild ./src/* --outdir=./dist/cjs --format=cjs --out-extension:.js=.cjs", | ||
"build:types": "tsc ./src/* --outDir ./dist/esm --declaration --emitDeclarationOnly --skipLibCheck", | ||
"check:all": "bun check:prettier && bun check:typescript", | ||
"check:prettier": "prettier --debug-check src/**/*.ts test/**/*.ts", | ||
"check:typescript": "tsc" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18100