UNPKG

yhtml5-test

Version:

A test framework for front-end projects

166 lines (165 loc) 5.99 kB
{ "_args": [ [ "enzyme@2.9.1", "/Users/yhtml5/projects/gitlab/2dfire-scripts/packages/2dfire-test/demo" ] ], "_from": "enzyme@2.9.1", "_id": "enzyme@2.9.1", "_inBundle": false, "_integrity": "sha1-B9XOaRJBJA+4F78sSxjW5TAkDfY=", "_location": "/enzyme", "_phantomChildren": { "css-select": "1.2.0", "dom-serializer": "0.1.0", "entities": "1.1.1", "htmlparser2": "3.9.2", "lodash.assignin": "4.2.0", "lodash.bind": "4.2.1", "lodash.defaults": "4.2.0", "lodash.filter": "4.6.0", "lodash.flatten": "4.4.0", "lodash.foreach": "4.5.0", "lodash.map": "4.6.0", "lodash.merge": "4.6.0", "lodash.pick": "4.4.0", "lodash.reduce": "4.6.0", "lodash.reject": "4.6.0", "lodash.some": "4.6.0" }, "_requested": { "type": "version", "registry": true, "raw": "enzyme@2.9.1", "name": "enzyme", "escapedName": "enzyme", "rawSpec": "2.9.1", "saveSpec": null, "fetchSpec": "2.9.1" }, "_requiredBy": [ "/" ], "_resolved": "https://registry.npmjs.org/enzyme/-/enzyme-2.9.1.tgz", "_spec": "2.9.1", "_where": "/Users/yhtml5/projects/gitlab/2dfire-scripts/packages/2dfire-test/demo", "author": { "name": "Leland Richardson", "email": "leland.richardson@airbnb.com" }, "bugs": { "url": "https://github.com/airbnb/enzyme/issues" }, "dependencies": { "cheerio": "^0.22.0", "function.prototype.name": "^1.0.0", "is-subset": "^0.1.1", "lodash": "^4.17.4", "object-is": "^1.0.1", "object.assign": "^4.0.4", "object.entries": "^1.0.4", "object.values": "^1.0.4", "prop-types": "^15.5.10", "uuid": "^3.0.1" }, "description": "JavaScript Testing utilities for React", "devDependencies": { "babel-cli": "^6.24.1", "babel-core": "^6.25.0", "babel-eslint": "^7.2.3", "babel-loader": "^6.4.1", "babel-plugin-transform-replace-object-assign": "^0.2.1", "babel-preset-airbnb": "^2.3.3", "babel-register": "^6.24.1", "chai": "^4.0.2", "coveralls": "^2.13.1", "create-react-class": "^15.6.0", "enzyme-example-jest": "^0.1.0", "enzyme-example-karma": "^0.1.1", "enzyme-example-karma-webpack": "^0.1.4", "enzyme-example-mocha": "^0.1.0", "enzyme-example-react-native": "^0.1.0", "eslint": "^3.19.0", "eslint-config-airbnb": "^15.0.1", "eslint-plugin-import": "^2.6.0", "eslint-plugin-jsx-a11y": "^5.0.3", "eslint-plugin-markdown": "^1.0.0-beta.6", "eslint-plugin-react": "^7.1.0", "gitbook-cli": "^1.0.1", "in-publish": "^2.0.0", "istanbul": "^1.0.0-alpha.2", "jsdom": "^6.1.0", "json-loader": "^0.5.4", "karma": "^1.3.0", "karma-chrome-launcher": "^1.0.1", "karma-firefox-launcher": "^1.0.1", "karma-mocha": "^1.3.0", "karma-sourcemap-loader": "^0.3.7", "karma-webpack": "^1.8.1", "mocha": "^3.4.2", "react": "0.13.x || 0.14.x || ^15.0.0-0 || 15.x", "rimraf": "^2.6.1", "safe-publish-latest": "^1.1.1", "sinon": "^2.3.5", "webpack": "^1.13.3" }, "homepage": "http://airbnb.io/enzyme/", "keywords": [ "javascript", "shallow rendering", "shallowRender", "test", "reactjs", "react", "flux", "testing", "test utils", "assertion helpers", "tdd", "mocha" ], "license": "MIT", "main": "build", "name": "enzyme", "peerDependencies": { "react": "0.13.x || 0.14.x || ^15.0.0-0 || 15.x" }, "repository": { "type": "git", "url": "git+https://github.com/airbnb/enzyme.git" }, "scripts": { "build": "babel src --out-dir build", "check": "npm run lint && npm run test:all", "clean": "rimraf build", "clean-local-npm": "rimraf node_modules/.bin/npm node_modules/.bin/npm.cmd", "docs:build": "npm run docs:prepare && gitbook build", "docs:clean": "rimraf _book", "docs:lint": "eslint --ext md --config .eslintrc-markdown .", "docs:prepare": "gitbook install", "docs:publish": "npm run docs:clean && npm run docs:build && cd _book && git init && git commit --allow-empty -m 'update book' && git fetch git@github.com:airbnb/enzyme.git gh-pages && git checkout -b gh-pages && git add . && git commit -am 'update book' && git push git@github.com:airbnb/enzyme.git gh-pages --force", "docs:watch": "npm run docs:prepare && gitbook serve", "lint": "eslint --ext js,jsx src test", "postversion": "git push && git push --tags && npm run clean && npm run docs:publish", "prelint": "npm run docs:lint", "prepublish": "not-in-publish || (npm run clean && npm run build && safe-publish-latest)", "pretest": "npm run lint", "preversion": "npm run clean && npm run check", "react:13": "npm run react:clean && npm install && npm i --no-save react@0.13", "react:14": "npm run react:clean && npm install && npm i --no-save react@0.14 react-dom@0.14 react-addons-test-utils@0.14", "react:15": "npm run react:clean && npm install && npm i --no-save react@15 react-dom@15 create-react-class@15 react-test-renderer@^15.5.4", "react:15.4": "npm run react:clean && npm install && npm i --no-save react@15.4 react-dom@15.4 react-addons-test-utils@15.4", "react:clean": "npm run clean-local-npm && rimraf node_modules/react node_modules/react-dom node_modules/react-addons-test-utils node_modules/react-test-renderer && npm prune", "test": "npm run clean && npm run build && npm run test:only", "test:all": "npm run react:13 && npm run test:only && npm run react:14 && npm run test:only && npm run react:15.4 && npm run test:only && npm run react:15 && npm run test:only", "test:env": "sh ./example-test.sh", "test:karma": "karma start", "test:only": "mocha --recursive test", "test:single": "mocha --watch", "test:watch": "mocha --recursive --watch test", "travis": "babel-node \"$(which istanbul)\" cover --report html _mocha -- test --recursive", "version": "npm run build" }, "version": "2.9.1" }