forked from pksilen/memory-cache-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 2.2 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "memory-cache-node",
"version": "1.4.1",
"description": "Fast, modern and event loop non-blocking memory cache for Node.js and browse",
"author": {
"name": "Petri Silen",
"email": "[email protected]"
},
"engines": {
"node": ">= 12.19"
},
"license": "MIT",
"main": "lib/MemoryCache.js",
"module": "lib/MemoryCache.esm.js",
"type": "module",
"types": "lib/MemoryCache.d.js",
"files": [
"./lib/**/*.js",
"./lib/**/*.d.ts",
"package.json",
"LICENSE.MD",
"README.md"
],
"exports": {
".": {
"types": "./lib/MemoryCache.d.ts",
"require": "./lib/MemoryCache.js",
"import": "./lib/MemoryCache.esm.js"
},
"./lib/*": "./lib/*"
},
"repository": {
"type": "git",
"url": "https://github.com/pksilen/memory-cache-node.git"
},
"bugs": {
"url": "https://github.com/pksilen/memory-cache-node/issues"
},
"keywords": [
"cache",
"memory",
"fast"
],
"scripts": {
"prebuild": "rimraf lib",
"lint": "eslint ./src --cache --fix --ext .ts",
"format": "prettier --write \"src/**/*.ts\"",
"build": "rollup --config rollup.config.ts --configPlugin typescript",
"test": "jest",
"test:coverage": "jest --coverage",
"prepublishOnly": "npm run build && npm test",
"prepare": "husky install"
},
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.2",
"@types/jest": "^27.5.2",
"@types/node": "^16.7.13",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2",
"husky": "^7.0.2",
"jest": "^27.1.1",
"lint-staged": "^11.1.2",
"prettier": "^2.3.2",
"rollup": "^3.26.1",
"rollup-plugin-dts": "^5.3.0",
"ts-jest": "^27.0.5",
"typescript": "^4.4.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"lint-staged": {
"*.ts": [
"npm run lint",
"npm run format"
]
}
}