-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 1.71 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 1.71 KB
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
{
"name": "@criipto/cache",
"version": "1.1.2",
"description": "Cache implementations for Node.js/TypeScript",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"require": {
"types": "./dist/types/index.d.ts",
"default": "./dist/cjs/index.js"
},
"import": {
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.js"
}
}
},
"files": [
"dist",
"!dist/**/__tests__",
"!dist/tsconfig.tsbuildinfo"
],
"scripts": {
"test": "npm run build && ava",
"check": "tsc --noEmit",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build": "npm run build:cjs && npm run build:esm",
"clean": "rimraf dist",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/criipto/node-cache.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/criipto/node-cache/issues"
},
"homepage": "https://github.com/criipto/node-cache#readme",
"engines": {
"node": ">=20.0.0"
},
"devDependencies": {
"@ava/typescript": "^5.0.0",
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.17.16",
"@types/sinon": "^17.0.3",
"ava": "^6.2.0",
"husky": "^9.1.7",
"prettier": "^3.4.2",
"pretty-quick": "^4.0.0",
"rimraf": "^6.0.1",
"sinon": "^19.0.2",
"typescript": "^5.7.3"
},
"ava": {
"files": [
"src/**/*.test.ts"
],
"typescript": {
"rewritePaths": {
"src/": "dist/esm/"
},
"compile": false
}
},
"dependencies": {
"ts-pattern": "^5.6.2"
}
}