You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

130 lines
4.7 KiB

{
"author": "planttheidea",
"browser": "dist/moize.js",
"browserslist": [
"defaults",
"Explorer >= 9",
"Safari >= 6",
"Opera >= 15",
"iOS >= 8",
"Android >= 4"
],
"bugs": {
"url": "https://github.com/planttheidea/moize/issues"
},
"dependencies": {
"fast-equals": "^3.0.1",
"micro-memoize": "^4.0.9"
},
"description": "Blazing fast memoization based on all parameters passed",
"devDependencies": {
"@babel/cli": "7.17.6",
"@babel/core": "7.17.9",
"@babel/plugin-proposal-class-properties": "7.16.7",
"@babel/preset-env": "7.16.11",
"@babel/preset-react": "7.16.7",
"@babel/preset-typescript": "7.16.7",
"@rollup/plugin-babel": "5.3.1",
"@rollup/plugin-commonjs": "21.1.0",
"@rollup/plugin-node-resolve": "13.2.1",
"@types/bluebird": "3.5.36",
"@types/eslint": "^8.4.1",
"@types/jest": "27.4.1",
"@types/lodash": "4.14.182",
"@types/memoizee": "0.4.7",
"@types/react": "18.0.6",
"@types/react-dom": "18.0.2",
"@typescript-eslint/eslint-plugin": "5.20.0",
"@typescript-eslint/parser": "5.20.0",
"babel-jest": "27.5.1",
"babel-loader": "8.2.5",
"benchmark": "2.1.4",
"bluebird": "3.7.2",
"cli-table2": "0.2.0",
"core-js": "3.22.2",
"eslint": "8.14.0",
"eslint-friendly-formatter": "4.0.1",
"eslint-plugin-react": "7.29.4",
"eslint-webpack-plugin": "^3.1.1",
"fast-memoize": "2.5.2",
"html-webpack-plugin": "5.5.0",
"in-publish": "2.0.1",
"ink-docstrap": "1.3.2",
"jest": "27.5.1",
"jsdoc": "3.6.10",
"jsdoc-babel": "0.5.0",
"lodash": "4.17.21",
"lru-memoize": "1.1.0",
"mem": "9.0.2",
"memoizee": "0.4.15",
"memoizerific": "1.11.3",
"ora": "6.1.0",
"prop-types": "15.8.1",
"q": "1.5.1",
"ramda": "0.28.0",
"react": "18.0.0",
"react-dom": "18.0.0",
"regenerator-runtime": "0.13.9",
"release-it": "^14.14.2",
"rimraf": "3.0.2",
"rollup": "2.70.2",
"rollup-plugin-terser": "7.0.2",
"tslib": "2.4.0",
"typedoc": "0.22.15",
"typescript": "4.6.3",
"underscore": "1.13.3",
"webpack": "5.72.0",
"webpack-cli": "4.9.2",
"webpack-dev-server": "4.8.1"
},
"homepage": "https://github.com/planttheidea/moize#readme",
"keywords": [
"cache",
"expire",
"lru",
"memoize",
"memoization",
"optimize",
"performance",
"promise",
"ttl"
],
"license": "MIT",
"main": "dist/moize.cjs.js",
"module": "dist/moize.esm.js",
"name": "moize",
"repository": {
"type": "git",
"url": "git+https://github.com/planttheidea/moize.git"
},
"scripts": {
"benchmark": "npm run dist && node benchmark/index.js",
"benchmark:alternative": "npm run transpile:lib -- --no-comments && BENCHMARK_SUITE=alternative node benchmark/index.js",
"benchmark:array": "npm run transpile:lib -- --no-comments && BENCHMARK_SUITE=array node benchmark/index.js",
"benchmark:object": "npm run transpile:lib -- --no-comments && BENCHMARK_SUITE=object node benchmark/index.js",
"benchmark:primitive": "npm run transpile:lib -- --no-comments && BENCHMARK_SUITE=primitive node benchmark/index.js",
"benchmark:react": "npm run transpile:lib -- --no-comments && BENCHMARK_SUITE=react node benchmark/index.js",
"build": "NODE_ENV=production rollup -c",
"clean:dist": "rimraf dist",
"clean:docs": "rimraf docs",
"clean:mjs": "rimraf mjs",
"copy:mjs": "npm run clean:mjs && node ./es-to-mjs.js",
"copy:types": "cp src/types.ts index.d.ts",
"dev": "NODE_ENV=development webpack serve --progress --config=webpack/webpack.config.js",
"dist": "npm run clean:dist && npm run build",
"docs": "npm run clean:docs && typedoc",
"lint": "NODE_ENV=test eslint src/*.ts",
"lint:fix": "npm run lint -- --fix",
"release": "release-it",
"release:beta": "release-it --config=.release-it.beta.json",
"release:scripts": "npm run lint && npm run typecheck && npm run test:coverage && npm run dist && npm run copy:mjs",
"start": "npm run dev",
"test": "NODE_ENV=test NODE_PATH=. jest",
"test:coverage": "npm test -- --coverage",
"test:watch": "npm test -- --watch",
"typecheck": "tsc --noEmit"
},
"sideEffects": false,
"types": "./index.d.ts",
"version": "6.1.1"
}