-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
82 lines (82 loc) · 2.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "lazy-get-decorator",
"version": "3.0.0",
"description": "Lazily evaluates a getter on an object and caches the returned value",
"main": "cjs/index.js",
"module": "es/index.js",
"types": "index.d.ts",
"exports": {
"./package.json": {
"default": "./package.json"
},
".": {
"types": "./index.d.ts",
"esm": "./es/index.js",
"module": "./es/index.js",
"import": "./es/index.js",
"node": "./cjs/index.js",
"default": "./cjs/index.js"
}
},
"scripts": {
"clean": "rm -rfv dist && mkdir dist",
"build": "concurrently npm:build:*",
"build:es": "tsc --outDir dist/es",
"build:cjs": "tsc --outDir dist/cjs --module commonjs",
"build:dts": "tsc --outDir dist --declaration --emitDeclarationOnly",
"build:cp": "cp -v LICENSE README.md package.json .npmrc dist/",
"watch": "npm --scripts-prepend-node-path=auto run clean && tsc --watch",
"prewatch": "npm --scripts-prepend-node-path=auto run clean",
"prebuild": "npm --scripts-prepend-node-path=auto run clean",
"doctoc": "doctoc --github README.md",
"test:es2022": "TS_NODE_PROJECT=tsconfig.test.json nyc --report-dir coverage/es2022 mocha src/test.ts",
"test:es2017": "TS_NODE_COMPILER_OPTIONS=\"{\\\"target\\\":\\\"ES2017\\\"}\" TS_NODE_PROJECT=tsconfig.test.json nyc --report-dir coverage/es2017 mocha src/test.ts",
"test:watch": "npm --scripts-prepend-node-path=auto run test:es2022 -- --watch",
"lint": "eslint src --ext .ts",
"lint:fix": "npm --scripts-prepend-node-path=auto run lint -- --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Alorel/typescript-lazy-get-decorator.git"
},
"keywords": [
"typescript",
"lazy get",
"lazy getter",
"lazy",
"get",
"getter",
"cache",
"memoise",
"memoize",
"decorator"
],
"author": {
"name": "Artūras Molčanovas",
"url": "https://alorel.github.io",
"email": "[email protected]"
},
"license": "LGPL-3.0-only",
"bugs": {
"url": "https://github.com/Alorel/typescript-lazy-get-decorator/issues"
},
"homepage": "https://github.com/Alorel/typescript-lazy-get-decorator",
"devDependencies": {
"@alorel/eslint-config-base": "^1.0.18",
"@alorel/eslint-config-typescript": "^1.0.17",
"@types/chai": "^4.3.8",
"@types/mocha": "^10.0.2",
"@types/node": "^20.8.5",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"chai": "^4.3.10",
"concurrently": "^8.2.1",
"doctoc": "^2.2.1",
"eslint": "^8.51.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
}
}