-
Notifications
You must be signed in to change notification settings - Fork 79
/
package.json
105 lines (105 loc) · 3.18 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
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "memoize-one",
"version": "6.0.0",
"description": "A memoization library which only remembers the latest invocation",
"author": "Alex Reardon <[email protected]>",
"license": "MIT",
"keywords": [
"memoize",
"memoization",
"cache",
"performance"
],
"repository": {
"type": "git",
"url": "https://github.com/alexreardon/memoize-one.git"
},
"bugs": {
"url": "https://github.com/alexreardon/memoize-one/issues"
},
"main": "dist/memoize-one.cjs.js",
"types": "dist/memoize-one.d.ts",
"module": "dist/memoize-one.esm.js",
"sideEffects": false,
"files": [
"/dist",
"/src"
],
"size-limit": [
{
"path": "dist/memoize-one.min.js",
"limit": "234B"
},
{
"path": "dist/memoize-one.js",
"limit": "234B"
},
{
"path": "dist/memoize-one.cjs.js",
"limit": "230B"
},
{
"path": "dist/memoize-one.esm.js",
"limit": "246B"
}
],
"dependencies": {},
"devDependencies": {
"@rollup/plugin-replace": "^3.0.0",
"@rollup/plugin-typescript": "^8.3.0",
"@size-limit/preset-small-lib": "^5.0.4",
"@types/benchmark": "^2.1.1",
"@types/jest": "^27.0.2",
"@types/lodash.isequal": "^4.5.5",
"@types/lodash.memoize": "^4.1.6",
"@types/node": "^16.10.1",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"benchmark": "^2.1.4",
"cross-env": "^7.0.3",
"eslint": "7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^24.4.2",
"eslint-plugin-prettier": "^4.0.0",
"expect-type": "^0.12.0",
"fast-memoize": "^2.5.2",
"jest": "^27.2.2",
"lodash.isequal": "^4.5.0",
"lodash.memoize": "^4.1.2",
"markdown-table": "^3.0.1",
"mem": "^9.0.1",
"memoizee": "^0.4.15",
"moize": "^6.1.0",
"nanocolors": "^0.2.9",
"ora": "^6.0.1",
"prettier": "2.4.1",
"rimraf": "3.0.2",
"rollup": "^2.57.0",
"rollup-plugin-terser": "^7.0.2",
"size-limit": "^5.0.4",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"tslib": "^2.3.1",
"typescript": "^4.4.3"
},
"config": {
"prettier_target": "src/**/*.{ts,js,jsx,md,json} test/**/*.{ts,js,jsx,md,json}"
},
"scripts": {
"validate": "yarn prettier:check && yarn eslint:check && yarn typescript:check",
"test": "yarn jest",
"test:size": "yarn build && yarn size-limit",
"typescript:check": "yarn tsc --noEmit",
"prettier:check": "yarn prettier --debug-check $npm_package_config_prettier_target",
"prettier:write": "yarn prettier --write $npm_package_config_prettier_target",
"eslint:check": "eslint $npm_package_config_prettier_target",
"build": "yarn build:clean && yarn build:dist && yarn build:typescript && yarn build:flow",
"build:clean": "yarn rimraf dist",
"build:dist": "yarn rollup -c",
"build:typescript": "yarn tsc ./src/memoize-one.ts --emitDeclarationOnly --declaration --outDir ./dist",
"build:flow": "cp src/memoize-one.js.flow dist/memoize-one.cjs.js.flow",
"perf": "yarn ts-node ./benchmarks/shallow-equal.ts",
"perf:library-comparison": "yarn build && node ./benchmarks/library-comparison.js",
"prepublishOnly": "yarn build"
}
}