-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 1.05 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"name": "filter-limit",
"version": "1.0.0",
"author": "Yuriy Yakym",
"license": "MIT",
"keywords": [
"filter",
"array",
"limit",
"search",
"dataset",
"utility",
"JavaScript",
"library",
"lightweight",
"dependency-free"
],
"description": "JavaScript library designed for efficiently filtering arrays while limiting the number of results. Ideal for handling large datasets.",
"main": "dist/cjs/index.min.js",
"types": "dist/cjs/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.min.js",
"require": "./dist/cjs/index.min.js"
}
},
"scripts": {
"build:cjs": "npx -p typescript tsc -p tsconfig.json",
"build:esm": "npx -p typescript tsc -p tsconfig.esm.json",
"minify:cjs": "npx esbuild --minify --outfile=dist/cjs/index.min.js dist/cjs/index.js",
"minify:esm": "npx esbuild --minify --outfile=dist/esm/index.min.js dist/esm/index.js",
"build": "npm run build:cjs && npm run build:esm && npm run minify:cjs && npm run minify:esm",
"test": "npx vitest"
}
}