forked from brianreavis/sifter.js
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
81 lines (81 loc) · 2.24 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "@orchidjs/sifter",
"keywords": [
"search",
"filter",
"sift",
"data",
"results",
"match",
"sort",
"autocomplete"
],
"description": "A library for textually searching arrays and hashes of objects by property (or multiple properties). Designed specifically for autocomplete.",
"version": "1.1.0",
"license": "Apache-2.0",
"author": "Brian Reavis <brian@thirdroute.com>",
"type": "module",
"main": "dist/cjs/sifter.js",
"module": "dist/esm/sifter.js",
"browser": "dist/umd/sifter.js",
"exports": {
".": {
"import": "./dist/esm/sifter.js",
"require": "./dist/cjs/sifter.js"
},
"./types/*": "./dist/types/*",
"./dist/*": "./dist/*",
"./package.json": "./package.json"
},
"repository": {
"type": "git",
"url": "https://github.com/orchidjs/sifter.js.git"
},
"scripts": {
"test": "jest --coverage",
"test:types": "attw --pack .",
"pretest": "npm run build",
"benchmark": "npm run build && node --expose-gc benchmark/index.js",
"build": "rm -rf dist && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:types",
"build:esm": "tsc -p .config/tsconfig.esm.json",
"build:cjs": "tsc -p .config/tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json",
"build:umd": "npx rollup -c .config/rollup.config.mjs && echo '{\"type\":\"commonjs\"}' > ./dist/umd/package.json",
"build:types": "tsc -p .config/tsconfig.types.json"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.0",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"humanize": "^0.0.9",
"jest": "^29.7.0",
"rollup": "^4.26.0",
"typescript": "^5.7.1-rc"
},
"browserslist": [
">= 0.5%",
"not dead",
"Chrome >= 60",
"Firefox >= 60",
"Edge >= 17",
"iOS >= 10",
"Safari >= 10",
"not Explorer <= 11"
],
"jest": {
"verbose": true,
"testMatch": [
"**/test/**/*.js"
]
},
"files": [
"/dist",
"/lib"
],
"dependencies": {
"@orchidjs/unicode-variants": "^1.1.2"
}
}