-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.66 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
{
"name": "memoize-one",
"version": "3.1.1",
"description": "A memoization library which only remembers the latest invocation",
"main": "lib/index.js",
"module": "esm/index.js",
"sideEffects": false,
"author": "Alex Reardon <alexreardon@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/alexreardon/memoize-one.git"
},
"files": [
"/lib",
"/esm",
"/src"
],
"keywords": [
"memoize",
"memoization",
"cache",
"performance"
],
"dependencies": {},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-eslint": "8.2.2",
"babel-plugin-transform-flow-strip-types": "6.22.0",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-flow": "^6.23.0",
"chai": "4.1.2",
"cross-env": "^5.1.4",
"eslint": "4.19.0",
"eslint-plugin-flowtype": "^2.46.1",
"eslint-plugin-jest": "^21.15.0",
"flow-bin": "0.68.0",
"flow-copy-source": "1.3.0",
"jest": "^22.4.2",
"rimraf": "2.6.2"
},
"scripts": {
"validate": "yarn run lint && yarn run typecheck",
"test": "cross-env NODE_ENV=test jest",
"typecheck": "flow check",
"lint": "eslint src test -",
"lint:fix": "yarn run lint --fix",
"build": "yarn run build:clean && yarn run build:lib && yarn run build:esm && yarn run build:flow",
"build:clean": "rimraf lib esm",
"build:lib": "cross-env NODE_ENV=cjs babel src -d lib",
"build:esm": "babel src --out-dir esm",
"build:flow": "flow-copy-source --verbose src lib && flow-copy-source --verbose src esm",
"prepublish": "yarn run build"
}
}