-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
82 lines (82 loc) · 2.1 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
82
{
"name": "@orchidjs/unicode-variants",
"version": "1.1.2",
"description": "Unicode variant string matching",
"repository": {
"type": "git",
"url": "https://github.com/orchidjs/unicode-variants.git"
},
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"browser": "dist/umd/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./types/*": "./dist/types/*",
"./dist/*": "./dist/*",
"./package.json": "./package.json"
},
"scripts": {
"pretest": "npm run build",
"test": "jest --coverage",
"test:types": "attw --pack .",
"bench": "npx 0x -- node --zero-fill-buffers bench.mjs",
"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/cjs/package.json",
"build:types": "tsc -p .config/tsconfig.types.json"
},
"keywords": [
"unicode",
"diacritic",
"diacritics",
"matching",
"search",
"find",
"string",
"text"
],
"author": "",
"license": "Apache-2.0",
"files": [
"/dist",
"/lib"
],
"browserslist": [
">= 0.5%",
"not dead",
"Chrome >= 60",
"Firefox >= 60",
"Firefox ESR",
"Edge >= 17",
"iOS >= 12",
"Safari >= 12",
"not Explorer <= 11"
],
"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-terser": "^0.4.4",
"0x": "^5.7.0",
"jest": "^29.7.0",
"rollup": "^4.26.0",
"typescript": "^5.7.1-rc"
},
"jest": {
"verbose": true,
"testMatch": [
"**/test/**/*.js"
]
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}