UNPKG

2.19 kBJSONView Raw
1{
2 "name": "enzyme",
3 "version": "3.11.0",
4 "description": "JavaScript Testing utilities for React",
5 "homepage": "https://airbnb.io/enzyme/",
6 "main": "build",
7 "scripts": {
8 "clean": "rimraf build",
9 "lint": "eslint --ext js,jsx .",
10 "pretest": "npm run lint",
11 "prebuild": "npm run clean",
12 "build": "babel --source-maps=both src --out-dir build",
13 "watch": "npm run build -- -w",
14 "prepublish": "npm run build && safe-publish-latest && (not-in-publish || cp ../../{LICENSE,README}.md ./)"
15 },
16 "repository": {
17 "type": "git",
18 "url": "https://github.com/airbnb/enzyme.git",
19 "directory": "packages/enzyme"
20 },
21 "keywords": [
22 "javascript",
23 "shallow rendering",
24 "shallowRender",
25 "test",
26 "reactjs",
27 "react",
28 "flux",
29 "testing",
30 "test utils",
31 "assertion helpers",
32 "tdd",
33 "mocha"
34 ],
35 "author": "Leland Richardson <leland.richardson@airbnb.com>",
36 "funding": {
37 "url": "https://github.com/sponsors/ljharb"
38 },
39 "license": "MIT",
40 "dependencies": {
41 "array.prototype.flat": "^1.2.3",
42 "cheerio": "^1.0.0-rc.3",
43 "enzyme-shallow-equal": "^1.0.1",
44 "function.prototype.name": "^1.1.2",
45 "has": "^1.0.3",
46 "html-element-map": "^1.2.0",
47 "is-boolean-object": "^1.0.1",
48 "is-callable": "^1.1.5",
49 "is-number-object": "^1.0.4",
50 "is-regex": "^1.0.5",
51 "is-string": "^1.0.5",
52 "is-subset": "^0.1.1",
53 "lodash.escape": "^4.0.1",
54 "lodash.isequal": "^4.5.0",
55 "object-inspect": "^1.7.0",
56 "object-is": "^1.0.2",
57 "object.assign": "^4.1.0",
58 "object.entries": "^1.1.1",
59 "object.values": "^1.1.1",
60 "raf": "^3.4.1",
61 "rst-selector-parser": "^2.2.3",
62 "string.prototype.trim": "^1.2.1"
63 },
64 "devDependencies": {
65 "babel-cli": "^6.26.0",
66 "babel-plugin-transform-replace-object-assign": "^1.0.0",
67 "babel-preset-airbnb": "^2.6.0",
68 "eslint": "^6.7.2",
69 "eslint-config-airbnb": "^18.0.1",
70 "eslint-plugin-import": "^2.19.1",
71 "eslint-plugin-jsx-a11y": "^6.2.3",
72 "eslint-plugin-react": "^7.17.0",
73 "in-publish": "^2.0.0",
74 "jsdom": "^6.5.1",
75 "rimraf": "^2.7.1",
76 "safe-publish-latest": "^1.1.4"
77 }
78}