turbo-map
Version:
High-performance, type-safe Map implementation supporting complex nested objects as keys, fully compatible with ES Map API
142 lines (141 loc) • 4.17 kB
JSON
{
"name": "turbo-map",
"version": "1.0.10",
"type": "module",
"description": "High-performance, type-safe Map implementation supporting complex nested objects as keys, fully compatible with ES Map API",
"icon": "assets/logo.svg",
"keywords": [
"map",
"object-key",
"performance",
"typescript",
"cache",
"lru",
"turbo",
"high-performance",
"deep-object",
"serialization"
],
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.js",
"require": "./dist/index.js",
"default": "./dist/index.esm.js"
},
"./umd": {
"import": "./dist/index.umd.js",
"require": "./dist/index.umd.js"
},
"./umd.min": {
"import": "./dist/index.umd.min.js",
"require": "./dist/index.umd.min.js"
}
},
"files": [
"dist",
"assets",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"scripts": {
"build": "rollup -c",
"build:prod": "cross-env NODE_ENV=production rollup -c",
"build:analyze": "npm run build:prod && npx rollup-plugin-visualizer dist/stats.html",
"dev": "rollup -c -w",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"test:ci": "jest --ci --coverage --watchAll=false",
"test:perf": "jest --testNamePattern=\"performance|benchmark\"",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"type-check": "tsc --noEmit",
"type-check:watch": "tsc --noEmit --watch",
"prepublishOnly": "npm run build:prod && npm run test:ci && npm run type-check",
"prepare": "npm run build",
"clean": "rimraf dist coverage .tsbuildinfo",
"prebuild": "npm run clean",
"size-check": "size-limit",
"precommit": "npm run lint:fix && npm run type-check && npm run test",
"release": "node scripts/release.js",
"release:patch": "node scripts/release.js patch",
"release:minor": "node scripts/release.js minor",
"release:major": "node scripts/release.js major",
"ci:status": "node scripts/ci-status.js",
"ci:test": "node scripts/test-ci.js",
"config:validate": "node scripts/config-manager.js validate",
"config:show": "node scripts/config-manager.js show",
"config:generate-env": "node scripts/config-manager.js generate-env",
"security:check": "node scripts/security-check.js",
"setup:github-pages": "node scripts/setup-github-pages.js",
"badges:check": "node scripts/check-dynamic-badges.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/chenfangyin/turbo-map.git"
},
"bugs": {
"url": "https://github.com/chenfangyin/turbo-map/issues"
},
"homepage": "https://chenfangyin.github.io/turbo-map",
"author": "Ivan Chen <fangyin.chen@gmail.com>",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.0.0",
"@size-limit/preset-small-lib": "^11.0.2",
"@types/jest": "^30.0.0",
"@typescript-eslint/eslint-plugin": "^8.38.0",
"@typescript-eslint/parser": "^8.38.0",
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"eslint": "^9.32.0",
"husky": "^9.0.11",
"jest": "^30.0.5",
"js-yaml": "^4.1.0",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"rollup": "^4.24.0",
"rollup-plugin-visualizer": "^5.12.0",
"size-limit": "^11.0.2",
"ts-jest": "^29.4.0",
"tslib": "^2.8.1",
"typescript": "^5.6.3"
},
"engines": {
"node": ">=18.0.0"
},
"publishConfig": {
"access": "public"
},
"size-limit": [
{
"name": "ES Module (ESM)",
"path": "dist/index.esm.js",
"limit": "50 KB"
},
{
"name": "UMD Minified",
"path": "dist/index.umd.min.js",
"limit": "40 KB",
"gzip": true
}
],
"lint-staged": {
"*.{ts,js}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
}
}