mirror of
https://github.com/FormidableLabs/react-fast-compare.git
synced 2026-01-25 16:38:34 +00:00
* react-fast-compare README * react-fast-compare package.json * clear out bad fast-deep-equal references * deeply test react elements, just not the _owner field; update tests
64 lines
1.6 KiB
JSON
64 lines
1.6 KiB
JSON
{
|
|
"name": "react-fast-compare",
|
|
"version": "1.0.0",
|
|
"description": "Fastest deep equal comparison for React. Perfect for shouldComponentUpdate. Also really fast general-purpose deep comparison",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"benchmark": "node benchmark",
|
|
"eslint": "eslint *.js benchmark spec",
|
|
"test-spec-watch": "mocha spec/*.spec.js -R spec --watch",
|
|
"test-spec": "mocha spec/*.spec.js -R spec",
|
|
"test-cov": "nyc npm run test-spec",
|
|
"test-ts": "tsc --target ES5 --noImplicitAny index.d.ts",
|
|
"test": "npm run eslint && npm run test-ts && npm run test-cov"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/FormidableLabs/react-fast-compare.git"
|
|
},
|
|
"keywords": [
|
|
"fast",
|
|
"equal",
|
|
"react",
|
|
"compare",
|
|
"shouldComponentUpdate",
|
|
"deep-equal"
|
|
],
|
|
"author": "Chris Bolin",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/FormidableLabs/react-fast-compare/issues"
|
|
},
|
|
"homepage": "https://github.com/FormidableLabs/react-fast-compare",
|
|
"devDependencies": {
|
|
"benchmark": "^2.1.4",
|
|
"coveralls": "^2.13.1",
|
|
"eslint": "^4.0.0",
|
|
"fast-deep-equal": "^1.1.0",
|
|
"lodash": "^4.17.4",
|
|
"mocha": "^3.4.2",
|
|
"nano-equal": "^1.0.1",
|
|
"nyc": "^11.0.2",
|
|
"react": "^16.3.1",
|
|
"react-test-renderer": "^16.3.1",
|
|
"shallow-equal-fuzzy": "0.0.2",
|
|
"sinon": "^4.5.0",
|
|
"typescript": "^2.6.1"
|
|
},
|
|
"nyc": {
|
|
"exclude": [
|
|
"**/spec/**",
|
|
"node_modules"
|
|
],
|
|
"reporter": [
|
|
"lcov",
|
|
"text-summary"
|
|
]
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"index.d.ts"
|
|
],
|
|
"types": "index.d.ts"
|
|
}
|