-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.88 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 1.88 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
{
"name": "@github/memoize",
"version": "0.0.0-dev",
"description": "A simple Memoize helper, with TypeScript decorator support!",
"repository": {
"type": "git",
"url": "git+https://github.com/github/memoize"
},
"license": "MIT",
"author": "GitHub Inc. (https://github.com)",
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"exports": {
".": {
"module": "./dist/esm/index.js",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/esm/index.d.ts"
},
"./decorator": {
"module": "./dist/esm/decorator.js",
"import": "./dist/esm/decorator.js",
"require": "./dist/cjs/decorator.js",
"types": "./dist/esm/decorator.d.ts"
}
},
"types": "./dist/esm/index.d.ts",
"files": [
"dist",
"decorator"
],
"scripts": {
"prebuild": "npm run clean && npm run lint && mkdir dist",
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
"clean": "rm -rf dist",
"lint": "eslint --report-unused-disable-directives . --color --ext .js,.ts,.tsx && tsc --noEmit",
"lint:fix": "eslint --report-unused-disable-directives . --color --ext .js,.ts,.tsx --fix",
"prepublishOnly": "npm run build",
"test": "vitest run"
},
"prettier": "@github/prettier-config",
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.37.0",
"@github/prettier-config": "0.0.6",
"@types/node": "^22.18.8",
"@typescript-eslint/parser": "^8.46.0",
"eslint": "^9.37.0",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-compat": "^6.0.2",
"eslint-plugin-escompat": "^3.1.0",
"eslint-plugin-github": "^5.1.8",
"typescript": "^5.9.3",
"vitest": "^3.2.4"
}
}