|
1 | 1 | {
|
2 | 2 | "name": "@ekwoka/weak-lru-cache",
|
3 |
| - "version": "0.0.1", |
4 |
| - "private": true, |
5 |
| - "description": "", |
6 |
| - "main": "index.js", |
| 3 | + "version": "0.0.0", |
| 4 | + "description": "A simple weak referenced Least Recently Used cache", |
| 5 | + "author": { |
| 6 | + "name": "Eric Kwoka", |
| 7 | + |
| 8 | + "url": "https://thekwoka.net/" |
| 9 | + }, |
| 10 | + "repository": "github:ekwoka/weak-lru-cache", |
| 11 | + "license": "ISC", |
| 12 | + "keywords": [ |
| 13 | + "weakmap", |
| 14 | + "weakref", |
| 15 | + "cache", |
| 16 | + "lru", |
| 17 | + "least recently used" |
| 18 | + ], |
| 19 | + "type": "module", |
| 20 | + "sideEffects": false, |
| 21 | + "main": "dist/index.js", |
| 22 | + "module": "dist/index.mjs", |
| 23 | + "types": "dist/index.d.ts", |
| 24 | + "exports": { |
| 25 | + ".": { |
| 26 | + "import": "./dist/index.mjs", |
| 27 | + "require": "./dist/index.js" |
| 28 | + }, |
| 29 | + "./package.json": "./package.json" |
| 30 | + }, |
| 31 | + "files": [ |
| 32 | + "dist" |
| 33 | + ], |
7 | 34 | "scripts": {
|
| 35 | + "build": "vite build", |
| 36 | + "coverage": "vitest run --coverage", |
| 37 | + "lint": "eslint --fix ./src; prettier --write ./src --loglevel error", |
| 38 | + "lint:check": "eslint --max-warnings 10 ./src && prettier --check ./src", |
| 39 | + "prepare": "husky install", |
| 40 | + "size": "node scripts/esbuild.js", |
8 | 41 | "test": "vitest"
|
9 | 42 | },
|
10 |
| - "keywords": [], |
11 |
| - "author": "Eric Kwoka", |
12 |
| - "license": "ISC", |
13 | 43 | "devDependencies": {
|
| 44 | + "@typescript-eslint/eslint-plugin": "^5.50.0", |
| 45 | + "@typescript-eslint/parser": "^5.50.0", |
| 46 | + "@vitest/coverage-c8": "^0.28.4", |
| 47 | + "esbuild": "^0.17.5", |
14 | 48 | "eslint": "^8.33.0",
|
| 49 | + "gzip-size": "^7.0.0", |
15 | 50 | "husky": "^8.0.3",
|
16 | 51 | "lint-staged": "^13.1.0",
|
17 | 52 | "prettier": "^2.8.3",
|
| 53 | + "pretty-bytes": "^6.1.0", |
18 | 54 | "typescript": "^4.9.5",
|
19 | 55 | "vite": "^4.1.1",
|
| 56 | + "vite-plugin-dts": "^1.7.2", |
20 | 57 | "vitest": "^0.28.4"
|
| 58 | + }, |
| 59 | + "prettier": { |
| 60 | + "singleQuote": true, |
| 61 | + "bracketSameLine": true |
| 62 | + }, |
| 63 | + "lint-staged": { |
| 64 | + "*.{js,ts,mjs}": [ |
| 65 | + "eslint --fix", |
| 66 | + "prettier --write" |
| 67 | + ], |
| 68 | + "*.{json,md,mdx,html,css,scss,less,graphql,yml,yaml}": [ |
| 69 | + "prettier --write" |
| 70 | + ] |
21 | 71 | }
|
22 | 72 | }
|
0 commit comments