Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.39 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 2.39 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "cache-compute",
"version": "1.1.0",
"description": "Memorize and re-run a function when its arguments are changed",
"keywords": [
"cache",
"memorize",
"compute",
"size-effect",
"size-effects",
"callback",
"arguments",
"options"
],
"author": {
"name": "Beeno Tung",
"email": "aabbcc1241@yahoo.com.hk",
"url": "https://beeno-tung.surge.sh"
},
"license": "BSD-2-Clause",
"main": "dist/cjs/cache-compute.js",
"types": "dist/cjs/cache-compute.d.ts",
"module": "dist/esm/cache-compute.js",
"sideEffects": false,
"scripts": {
"prepare": "run-p prepare:*",
"prepare:husky": "husky install",
"clean": "rimraf dist",
"format": "run-s format:*",
"format:prettier": "prettier --write .",
"format:json": "format-json-cli",
"format:eslint": "eslint --ext .ts --fix .",
"build": "run-s clean tsc",
"tsc": "run-p tsc:*",
"tsc:cjs": "tsc -p tsconfig.cjs.json",
"tsc:esm": "tsc -p tsconfig.esm.json",
"test": "run-s format tsc mocha",
"mocha": "ts-mocha \"{src,test}/**/*.spec.ts\"",
"coverage": "nyc npm run mocha -- --reporter=progress",
"report:update": "nyc --reporter=lcov npm run mocha -- --reporter=progress",
"report:open": "open-cli coverage/lcov-report/index.html",
"report": "run-s report:update report:open",
"prepublishOnly": "run-s test build"
},
"directories": {
"test": "test"
},
"files": [
"src",
"example/package.json",
"example/*.ts",
"dist"
],
"dependencies": {
"tslib": "^2.3.1"
},
"devDependencies": {
"@types/chai": "^4.2.22",
"@types/mocha": "8",
"@types/node": "*",
"@types/sinon": "^10.0.4",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"chai": "^4.3.4",
"eslint": "^7.32.0",
"format-json-cli": "^1.0.1",
"husky": "^7.0.2",
"mocha": "8",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"open-cli": "^7.0.1",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"sinon": "^11.1.2",
"ts-mocha": "^8.0.0",
"ts-node": "^10.2.1",
"ts-node-dev": "^1.1.8",
"typescript": "^4.4.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/beenotung/cache-compute.git"
},
"bugs": {
"url": "https://github.com/beenotung/cache-compute/issues"
},
"homepage": "https://github.com/beenotung/cache-compute#readme"
}