mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-23 08:50:20 -05:00
reporter: apply browserify transforms to since browserify will only apply them to relative packages
This commit is contained in:
@@ -12,6 +12,12 @@
|
||||
"clean-deps": "rm -rf node_modules",
|
||||
"test": "node ./scripts/test.js"
|
||||
},
|
||||
"browserify": {
|
||||
"transform": [["babelify", {
|
||||
"presets": ["es2015", "react", "stage-1"],
|
||||
"plugins": ["add-module-exports", "transform-decorators-legacy"] }
|
||||
]]
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/cypress-io/cypress-core-reporter.git"
|
||||
|
||||
@@ -6,7 +6,7 @@ import { observer } from 'mobx-react'
|
||||
import PropTypes from 'prop-types'
|
||||
import React, { Component } from 'react'
|
||||
import { findDOMNode } from 'react-dom'
|
||||
import { Reporter } from '../../../reporter'
|
||||
import { Reporter } from '@packages/reporter'
|
||||
|
||||
import errorMessages from '../errors/error-messages'
|
||||
import windowUtil from '../lib/window-util'
|
||||
|
||||
@@ -2,7 +2,7 @@ import React from 'react'
|
||||
import { shallow } from 'enzyme'
|
||||
import sinon from 'sinon'
|
||||
|
||||
import reporter from '../../../reporter'
|
||||
import reporter from '@packages/reporter'
|
||||
import Message from '../message/message'
|
||||
import State from '../lib/state'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user