-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
136 lines (136 loc) · 4.67 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "react-memoise",
"description": "A component to declaratively memoise a computation within a React component.",
"scripts": {
"postinstall": "check-node-version --package --print",
"develop": "jest --projects .jestrc.*.json --watch",
"lint": "jest --config .jestrc.lint.json",
"flow": "flow",
"format": "npm run format:md && npm run format:js",
"format:md": "prettier --parser markdown --write '*.md'",
"format:js": "prettier --write '**/modules/**/*.js' '**/demo/**/*.js'",
"format:ts": "prettier --parser typescript --write '*.ts'",
"fix:eslint": "eslint --fix --format=node_modules/eslint-formatter-pretty",
"test": "cross-env NODE_ENV=test jest --config .jestrc.test.json",
"test:ci": "cross-env NODE_ENV=test npm test -- --no-watchman",
"test:ci:coverage": "cross-env NODE_ENV=test npm test -- --no-watchman --coverage && codecov",
"test:watch": "cross-env NODE_ENV=test npm test -- --watch",
"test:coverage": "cross-env NODE_ENV=test npm test -- --coverage",
"preversion": "npm run build",
"prebuild": "rimraf dist/**",
"build": "cross-env npm run build:es && npm run build:cjs && npm run build:umd",
"build:watch": "cross-env npm run build:es -- -w",
"build:umd": "cross-env NODE_ENV=development rollup -c rollup.config.js -f umd -i modules/index.js -o dist/react-memoise.umd.js",
"build:umd:min": "cross-env NODE_ENV=production rollup -c rollup.config.js -f umd -i modules/index.js -o dist/react-memoise.umd.min.js",
"build:es": "cross-env NODE_ENV=development rollup -c rollup.config.js -f es -i modules/index.js -o dist/react-memoise.es.js",
"build:cjs": "cross-env NODE_ENV=development rollup -c rollup.config.js -f cjs -i modules/index.js -o dist/react-memoise.cjs.js",
"commitmsg": "commitlint -e $GIT_PARAMS",
"precommit": "lint-staged"
},
"files": [
"readme.md",
"dist/**"
],
"main": "dist/react-memoise.cjs.js",
"module": "dist/react-memoise.es.js",
"browser": "dist/react-memoise.umd.js",
"repository": {
"type": "git",
"url": "git+https://github.com/tdeekens/react-memoise.git"
},
"author": "Tobias Deekens <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=6",
"npm": ">=3"
},
"bugs": {
"url": "https://github.com/tdeekens/react-memoise/issues"
},
"homepage": "https://github.com/tdeekens/react-memoise#readme",
"devDependencies": {
"@commitlint/cli": "6.1.0",
"@commitlint/config-conventional": "6.1.0",
"@commercetools/jest-enzyme-matchers": "1.1.2",
"enzyme": "3.3.0",
"enzyme-adapter-react-16": "1.1.1",
"enzyme-to-json": "3.3.1",
"react": "16.2.0",
"react-dom": "16.2.0",
"react-test-renderer": "16.2.0",
"babel-core": "6.26.0",
"babel-eslint": "8.2.1",
"babel-jest": "22.2.2",
"babel-plugin-external-helpers": "6.22.0",
"babel-polyfill": "6.26.0",
"babel-preset-env": "1.6.1",
"babel-preset-react": "6.24.1",
"babel-preset-stage-0": "6.24.1",
"babel-preset-flow": "6.23.0",
"check-node-version": "3.2.0",
"codecov": "3.0.0",
"cross-env": "5.1.3",
"enzyme-matchers": "4.2.0",
"eslint": "4.18.0",
"eslint-config-prettier": "2.9.0",
"eslint-config-xo": "0.20.1",
"eslint-config-xo-react": "0.16.0",
"eslint-formatter-pretty": "1.3.0",
"eslint-plugin-jest": "21.12.2",
"eslint-plugin-prettier": "2.6.0",
"eslint-plugin-react": "7.6.1",
"eslint-plugin-flowtype-errors": "3.3.7",
"flow-bin": "0.66.0",
"husky": "0.14.3",
"jest": "22.3.0",
"jest-enzyme": "4.2.0",
"jest-runner-eslint": "0.4.0",
"lint-staged": "6.1.1",
"prettier": "1.10.2",
"raf": "3.4.0",
"rimraf": "2.6.2",
"rollup": "0.56.1",
"rollup-plugin-babel": "3.0.3",
"rollup-plugin-commonjs": "8.2.3",
"rollup-plugin-filesize": "1.5.0",
"rollup-plugin-includepaths": "0.2.2",
"rollup-plugin-json": "2.3.0",
"rollup-plugin-node-builtins": "2.1.2",
"rollup-plugin-node-globals": "1.1.0",
"rollup-plugin-node-resolve": "3.0.3",
"rollup-plugin-replace": "2.0.0",
"rollup-plugin-uglify": "3.0.0",
"rollup-plugin-flow": "1.1.1",
"rollup-watch": "4.3.1"
},
"peerDependencies": {
"react": "^15.6.0 || ^16.0.0",
"react-dom": "^15.6.0 || ^16.0.0"
},
"dependencies": {
"warning": "^3.0.0",
"fast-equals": "^1.0.6"
},
"keywords": [
"react",
"memoize",
"memoise",
"performance"
],
"lint-staged": {
"modules/**/*.js": [
"npm run fix:eslint",
"npm run format:js",
"git add"
],
"modules/**/*.ts": [
"npm run format:ts",
"git add"
],
"*.md": [
"npm run format:md",
"git add"
]
},
"version": "1.0.2"
}