UNPKG

@orchidjs/unicode-variants

Version:
83 lines (82 loc) 2.15 kB
{ "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/" } }