116 lines
15 KiB
JSON
116 lines
15 KiB
JSON
|
{
|
|||
|
"_args": [
|
|||
|
[
|
|||
|
{
|
|||
|
"raw": "babel-plugin-react-transform@^3.0.0",
|
|||
|
"scope": null,
|
|||
|
"escapedName": "babel-plugin-react-transform",
|
|||
|
"name": "babel-plugin-react-transform",
|
|||
|
"rawSpec": "^3.0.0",
|
|||
|
"spec": ">=3.0.0 <4.0.0",
|
|||
|
"type": "range"
|
|||
|
},
|
|||
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-preset-react-native"
|
|||
|
]
|
|||
|
],
|
|||
|
"_from": "babel-plugin-react-transform@>=3.0.0 <4.0.0",
|
|||
|
"_id": "babel-plugin-react-transform@3.0.0",
|
|||
|
"_inCache": true,
|
|||
|
"_location": "/babel-plugin-react-transform",
|
|||
|
"_nodeVersion": "8.2.1",
|
|||
|
"_npmOperationalInternal": {
|
|||
|
"host": "s3://npm-registry-packages",
|
|||
|
"tmp": "tmp/babel-plugin-react-transform-3.0.0.tgz_1505226983613_0.6134067801758647"
|
|||
|
},
|
|||
|
"_npmUser": {
|
|||
|
"name": "gaearon",
|
|||
|
"email": "dan.abramov@gmail.com"
|
|||
|
},
|
|||
|
"_npmVersion": "5.3.0",
|
|||
|
"_phantomChildren": {},
|
|||
|
"_requested": {
|
|||
|
"raw": "babel-plugin-react-transform@^3.0.0",
|
|||
|
"scope": null,
|
|||
|
"escapedName": "babel-plugin-react-transform",
|
|||
|
"name": "babel-plugin-react-transform",
|
|||
|
"rawSpec": "^3.0.0",
|
|||
|
"spec": ">=3.0.0 <4.0.0",
|
|||
|
"type": "range"
|
|||
|
},
|
|||
|
"_requiredBy": [
|
|||
|
"/babel-preset-react-native"
|
|||
|
],
|
|||
|
"_resolved": "https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-3.0.0.tgz",
|
|||
|
"_shasum": "402f25137b7bb66e9b54ead75557dfbc7ecaaa74",
|
|||
|
"_shrinkwrap": null,
|
|||
|
"_spec": "babel-plugin-react-transform@^3.0.0",
|
|||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-preset-react-native",
|
|||
|
"author": {
|
|||
|
"name": "Dan Abramov",
|
|||
|
"email": "dan.abramov@me.com"
|
|||
|
},
|
|||
|
"bugs": {
|
|||
|
"url": "https://github.com/gaearon/babel-plugin-react-transform/issues"
|
|||
|
},
|
|||
|
"dependencies": {
|
|||
|
"lodash": "^4.6.1"
|
|||
|
},
|
|||
|
"description": "Babel plugin to instrument React components with custom transforms",
|
|||
|
"devDependencies": {
|
|||
|
"babel-cli": "^6.2.0",
|
|||
|
"babel-core": "^6.2.1",
|
|||
|
"babel-eslint": "^4.1.6",
|
|||
|
"babel-preset-es2015": "^6.1.18",
|
|||
|
"babel-register": "^6.2.0",
|
|||
|
"eslint": "^1.10.3",
|
|||
|
"eslint-plugin-react": "^3.11.2",
|
|||
|
"mocha": "^2.2.5",
|
|||
|
"rimraf": "^2.4.3"
|
|||
|
},
|
|||
|
"directories": {},
|
|||
|
"dist": {
|
|||
|
"integrity": "sha512-4vJGddwPiHAOgshzZdGwYy4zRjjIr5SMY7gkOaCyIASjgpcsyLTlZNuB5rHOFoaTvGlhfo8/g4pobXPyHqm/3w==",
|
|||
|
"shasum": "402f25137b7bb66e9b54ead75557dfbc7ecaaa74",
|
|||
|
"tarball": "https://registry.npmjs.org/babel-plugin-react-transform/-/babel-plugin-react-transform-3.0.0.tgz"
|
|||
|
},
|
|||
|
"gitHead": "d7069df5c6f36a07857fd108067dc515b3a795ee",
|
|||
|
"homepage": "https://github.com/gaearon/babel-plugin-react-transform#readme",
|
|||
|
"keywords": [
|
|||
|
"babel-plugin",
|
|||
|
"react-transform",
|
|||
|
"instrumentation",
|
|||
|
"dx",
|
|||
|
"react",
|
|||
|
"reactjs",
|
|||
|
"components"
|
|||
|
],
|
|||
|
"license": "MIT",
|
|||
|
"main": "lib/index.js",
|
|||
|
"maintainers": [
|
|||
|
{
|
|||
|
"name": "thejameskyle",
|
|||
|
"email": "me@thejameskyle.com"
|
|||
|
},
|
|||
|
{
|
|||
|
"name": "gaearon",
|
|||
|
"email": "dan.abramov@gmail.com"
|
|||
|
}
|
|||
|
],
|
|||
|
"name": "babel-plugin-react-transform",
|
|||
|
"optionalDependencies": {},
|
|||
|
"readme": ">## This Project Is Deprecated\n\n>React Hot Loader 3 is [on the horizon](https://github.com/gaearon/react-hot-loader/pull/240), and you can try it today ([boilerplate branch](https://github.com/gaearon/react-hot-boilerplate/pull/61), [upgrade example](https://github.com/gaearon/redux-devtools/commit/64f58b7010a1b2a71ad16716eb37ac1031f93915)). It fixes some [long-standing issues](https://twitter.com/dan_abramov/status/722040946075045888) with both React Hot Loader and React Transform, and is intended as a replacement for both. The docs are not there yet, but they will be added before the final release. For now, [this commit](https://github.com/gaearon/redux-devtools/commit/64f58b7010a1b2a71ad16716eb37ac1031f93915) is a good reference.\n\n# babel-plugin-react-transform\n\n[![react-transform channel on discord](https://img.shields.io/badge/discord-react--transform%40reactiflux-61DAFB.svg?style=flat-square)](http://www.reactiflux.com)\n\n:rocket: **Now with [Babel 6](https://github.com/babel/babel) support** (thank you [@thejameskyle](https://github.com/thejameskyle)!)\n\nThis plugin wraps React components with arbitrary transforms. In other words, **it allows you to instrument React components** in any way—limited only by your imagination.\n\n## 🚧🚧🚧🚧🚧\n\nThis is **highly experimental tech**. If you’re enthusiastic about hot reloading, by all means, give it a try, but don’t bet your project on it. Either of the technologies it relies upon may change drastically or get deprecated any day. You’ve been warned 😉 .\n\n**This technology exists to prototype next-generation React developer experience**. Please don’t use it blindly if you don’t know the underlying technologies well. Otherwise you are likely to get disillusioned with JavaScript tooling.\n\n**No effort went into making this user-friendly yet. The goal is to eventually kill this technology** in favor of less hacky technologies baked into React. These projects are not long term.\n\n## Table of Contents\n\n* [Ecosystem](#ecosystem)\n* [Demo Project](#demo-project)\n* [Installation](#installation)\n* [Writing Transforms](#writing-transforms)\n\n## Ecosystem\n\nFor a reference implementation, see [**react-transform-boilerplate**](https://github.com/gaearon/react-transform-boilerplate). \nFor a starter kit to help write your own transforms, see [**react-transform-noop**](https://github.com/pwmckenna/react-transform-noop).\n\n\n#### Transforms\n\n* [**react-transform-hmr**](https://github.com/gaearon/react-transform-hmr) - enables hot reloading using HMR API\n* [**react-transform-catch-errors**](https://github.com/gaearon/react-transform-catch-errors) - catches errors inside `render()`\n* [**react-transform-debug-inspector**](https://github.com/alexkuz/react-transform-debug-inspector) - renders an inline prop inspector\n* [**react-transform-render-visualizer**](https://github.com/spredfast/react-transform-render-visualizer) - highlight components when updated\n* [**react-transform-style**](https://github.com/pwmckenna/react-transform-style) - support `style` and `className` styling for all components\n* [**react-transform-log-render**](https://github.com/rkit/react-transform-log-render) - log component renders with passed props and state\n* [**react-transform-count-renders**](https://github.com/stipsan/react-transform-count-renders) - counts how many times your components render\n\nFeeling inspired? Learn [how to write transforms](#writing-transforms) and send a PR!\n\n## Demo Project\n\nCheck out **[react-transform-boilerplate](https://github.com/gaearon/react-transform-boilerplate)** for a demo showing a combination of transforms.\n\n![](https://cloud.githubusercontent.com/assets/1539088/11611771/ae1a6bd8-9bac-11e5-9206-42447e0fe064.gif)\n\n## Installation\n\nThis plugin is designed to be used with the Babel 6 ecosystem. These instructions assume you have a working project set up. If you do not have Babel set up in your project, [learn how to integrate](https://babeljs.io/docs/setup/) it with your toolkit before installing this
|
|||
|
"readmeFilename": "README.md",
|
|||
|
"repository": {
|
|||
|
"type": "git",
|
|||
|
"url": "git+https://github.com/gaearon/babel-plugin-react-transform.git"
|
|||
|
},
|
|||
|
"scripts": {
|
|||
|
"build": "babel src -d lib",
|
|||
|
"clean": "rimraf lib",
|
|||
|
"prepublish": "npm run clean && npm run build",
|
|||
|
"test": "mocha --compilers js:babel-register",
|
|||
|
"test:watch": "npm run test -- --watch"
|
|||
|
},
|
|||
|
"version": "3.0.0"
|
|||
|
}
|