-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 1.68 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
{
"name": "memoize-utils",
"version": "1.0.1",
"type": "module",
"description": "Memoization function and decorator.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./*": {
"import": "./dist/esm/*.js",
"require": "./dist/cjs/*.js"
}
},
"scripts": {
"clean": "rm -r ./dist",
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc -p tsconfig-cjs.json && echo '{\"type\": \"commonjs\"}' > ./dist/cjs/package.json",
"lint": "eslint ./src",
"format": "prettier --write ./src",
"pretest": "npm run build",
"test": "NODE_OPTIONS=--experimental-vm-modules jest --rootDir dist",
"test:coverage": "npm run test -- --coverage"
},
"devDependencies": {
"@types/jest": "^28.1.3",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"eslint": "^8.18.0",
"eslint-config-prettier": "^8.5.0",
"jest": "^28.1.1",
"prettier": "2.7.1",
"typescript": "^4.7.4"
},
"license": "MIT",
"author": {
"name": "Pierre Mdawar",
"email": "[email protected]",
"url": "https://mdawar.dev"
},
"repository": {
"type": "git",
"url": "https://github.com/mdawar/memoize-utils.git"
},
"bugs": {
"url": "https://github.com/mdawar/memoize-utils/issues"
},
"files": [
"dist/cjs/*",
"!dist/cjs/*.test.*",
"dist/esm/*",
"!dist/esm/*.test.*"
],
"keywords": [
"memoize",
"cache",
"memoize decorator",
"TypeScript decorator",
"async memoize",
"function caching",
"promise"
]
}