Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
84b7082
Creation of `master-flower-platform`:
cristian-spiescu Mar 9, 2022
0812760
onInteraction is optional. Removed some PropTypes.required
cristian-spiescu Mar 11, 2022
88d9de7
Merge remote-tracking branch
cristian-spiescu Mar 11, 2022
6e18ca9
Merge remote-tracking branch
cristian-spiescu Mar 11, 2022
854d3b3
Added some doc in storybook for "useMoment"
cristian-spiescu Mar 11, 2022
c4e104e
Merge branch 'added-some-doc-in-storybook-for-use-moment' into
cristian-spiescu Mar 11, 2022
35abde3
Update README.md
cristian-spiescu Mar 22, 2022
f038895
Update README.md
cristian-spiescu Mar 22, 2022
f1def67
Merge remote-tracking branch 'upstream/master' into
eliza-marcu Aug 25, 2022
909d5ce
Merge remote-tracking branch 'upstream/master' into
eliza-marcu Sep 7, 2022
ea8857a
migrate to babel 7
eliza-marcu Sep 7, 2022
c4fe5ce
readme.md
cristian-spiescu Sep 15, 2022
67a63a2
readme.md
cristian-spiescu Sep 15, 2022
22bbd5a
Update README.md
cristian-spiescu Sep 15, 2022
46aff62
Merge pull request #14 from flower-platform/migrate-to-babel7
eliza-marcu Sep 16, 2022
02ce60c
Prototype of Storybook structure
eliza-marcu Oct 17, 2022
0ba9b3d
Wrote doc for "basic".
cristian-spiescu Oct 18, 2022
e005eab
Item renderer
eliza-marcu Nov 9, 2022
cdb6ffc
Merge pull request #17 from flower-platform/default-item-renderer-2
eliza-marcu Nov 9, 2022
a6bb813
#29957 - create .d.ts (#16)
eliza-marcu Nov 16, 2022
519e8c9
CHANGELOG.md, package.json
cristian-spiescu Nov 16, 2022
264d914
#29957 - export components in index.js (#18)
eliza-marcu Nov 17, 2022
2fbe4cc
Added types.js, needed because we have types.d.ts
cristian-spiescu Nov 17, 2022
e98dd56
v2.0.1
cristian-spiescu Nov 21, 2022
2b3be6e
Upgraded color lib and code updated
eliza-marcu Nov 25, 2022
6461699
Update CHANGELOG.md
cristian-spiescu Nov 25, 2022
6a5b113
Update CHANGELOG.md
cristian-spiescu Nov 25, 2022
584e062
v2.0.2
eliza-marcu Nov 25, 2022
d2eeeb7
#27751 - background layer (#19)
eliza-marcu Mar 9, 2023
0b905f5
#27551 - background layer (#21)
eliza-marcu Mar 16, 2023
a8d8a7b
Added TAD.
cristian-spiescu Mar 17, 2023
4e7c6b6
Merge branch 'master-flower-platform' of https://github.com/flower-pl…
cristian-spiescu Mar 17, 2023
2f6dde7
#30925 - fix scrollbar appear/disappear in infinite loop (#27)
eliza-marcu Mar 22, 2023
ade02bf
v2.1.1
cristian-spiescu Mar 22, 2023
88b86b2
Removed mocha v5. Because mocha v10 comes from TAD.
cristian-spiescu Mar 28, 2023
55eef0f
#29168 - group click handler (#11)
eliza-marcu Mar 29, 2023
afc802f
#29632 - #29632 - changes observed when we integrated the component i…
eliza-marcu Mar 29, 2023
a030362
Update CHANGELOG.md
cristian-spiescu Mar 29, 2023
87afe8d
make group handlers not mandatory (#30)
valeriu-vi Mar 29, 2023
72ba380
Published v2.2.0-SNAPSHOT1
cristian-spiescu Mar 31, 2023
3c2ae89
Published v2.2.0-SNAPSHOT2
eliza-marcu Mar 31, 2023
76968d4
fix for highlight weekends
eliza-marcu Mar 31, 2023
1fb32cb
Published v2.2.0-SNAPSHOT3
eliza-marcu Mar 31, 2023
f3e9985
Add tad for drag to create (#25)
valeriu-vi Apr 3, 2023
549335b
Published v2.2.0-SNAPSHOT4
eliza-marcu Apr 3, 2023
fa5c7ca
Remove margin and border of selection box (#31)
valeriu-vi Apr 3, 2023
6fc84d5
Published v2.2.0-SNAPSHOT6
eliza-marcu Apr 3, 2023
27ebdef
#31301 - fixed issue on drag to create mode (#32)
CosminZe May 10, 2023
1b259e0
Published v2.2.0-SNAPSHOT7
eliza-marcu May 10, 2023
070e0a1
fix few problems (#35)
daniela-mateescu Jun 23, 2023
76e8d31
Updated dep tad.
cristian-spiescu Jun 23, 2023
bef0249
fix compilation error
valeriu-vi Jul 11, 2023
d195cd6
update package.json
valeriu-vi Jul 13, 2023
30ef08d
On complex item render the item click dont work (#41)
valeriu-vi Jul 14, 2023
26161b1
Updated CHANGELOG.md
cristian-spiescu Jul 14, 2023
37ab793
Merge pull request #42 from flower-platform/valeriu-fix-compilation-e…
daniela-mateescu Jul 21, 2023
3cbb0f5
Dana rm31455 skeleton for actions and context menu (#37)
daniela-mateescu Jul 21, 2023
3a40b51
Published v2.2.0; updated CHANGELOG.md.
cristian-spiescu Jul 21, 2023
85405a1
On item click the key is number, but the type is number | string (#40)
valeriu-vi Jul 21, 2023
86403c9
Update CHANGELOG.md
cristian-spiescu Jul 21, 2023
a2b2536
Fix small bug (#45)
daniela-mateescu Jul 25, 2023
e0747fb
Update CHANGELOG.md
daniela-mateescu Jul 25, 2023
5a7455c
Added Vite, for the moment only for dev.
cristian-spiescu Jul 25, 2023
950336e
Merge branch 'master-flower-platform' of https://github.com/flower-pl…
cristian-spiescu Jul 25, 2023
b89f91a
New version : v2.2.1
daniela-buzatu Jul 25, 2023
8d2d981
RM31818 fixes for context menu (#47)
daniela-mateescu Jul 27, 2023
c749637
fix small delete issue on context menu story
daniela-buzatu Jul 27, 2023
ae54947
v2.2.3 - right click selection didn't work on segments with complex (…
daniela-mateescu Jul 29, 2023
e2333d5
RM31968 Drag to create rectangle is blue instead of green (#49)
daniela-mateescu Aug 17, 2023
8f5fc99
change selection trigger from click to mouse down + change tests (#50)
daniela-mateescu Aug 17, 2023
6f9f084
Dana rm31940 selected item type number instead of number or string (#51)
daniela-mateescu Aug 17, 2023
e591666
#RM30141 - FixedDataTable with Gantt
cristian-spiescu Aug 28, 2023
bcaa074
Published v2.3.0
cristian-spiescu Sep 1, 2023
f91ad4d
Update CHANGELOG.md
daniela-mateescu Sep 1, 2023
795776f
fixed RM32133 (#60)
daniela-mateescu Sep 5, 2023
95e5339
Fix RM32130 table didn't update when changing table.width (#59)
daniela-mateescu Sep 5, 2023
58a369d
#32143 add timeline.props.onTableResize (#62)
daniela-mateescu Sep 6, 2023
a9cec5a
Added horizontal scroll (RM31763) (#57)
daniela-mateescu Sep 6, 2023
d0db00e
CHANGELOG.md
cristian-spiescu Sep 6, 2023
c6b9a6f
add @type/react to resolutions in package.json
daniela-buzatu Sep 8, 2023
4848acd
#32167 - various small issues (#63)
daniela-mateescu Sep 18, 2023
6ba50be
Update package.json
daniela-mateescu Sep 18, 2023
143b09b
#32258 fix problem when changing the start/end date props (#65)
daniela-mateescu Sep 19, 2023
7697dc2
Modified tests and stories for compatibility w/ tad-puppeteer.
cristian-spiescu Oct 14, 2023
b593696
Separated lib and demo-app
cristian-spiescu Oct 17, 2023
a87a58b
Added TAD v0.11.0. Generated some .md reports and doc.
cristian-spiescu Oct 17, 2023
1f2e970
v2.5.0
cristian-spiescu Oct 17, 2023
7074344
For demo-app, upgraded storybook to v7.5. It now uses vite for build
cristian-spiescu Oct 18, 2023
38ff788
Using an alias, from demo-app, we can now import ...
cristian-spiescu Oct 18, 2023
8f269aa
Story for usage w/ TreeFixedDataTable.
cristian-spiescu Oct 23, 2023
8c0d8e7
RM32722 fix + tests for bug. (#70)
daniela-mateescu Dec 11, 2023
6b5d602
Upgraded to TAD v0.13 and regenerated the recorded tests.
cristian-spiescu Jan 25, 2024
cf223f7
#33042 - improved Featurebook
cristian-spiescu Jan 26, 2024
bcd6a79
#33572 - Tests fixes + controlled/uncontrolled split
daniela-buzatu Feb 29, 2024
e5b15d9
Revert "#33572 - Tests fixes + controlled/uncontrolled split"
daniela-buzatu Feb 29, 2024
f320d32
#33572 - Tests fixes + controlled/uncontrolled split (#75)
daniela-mateescu Mar 22, 2024
38cf954
Updated TAD version
cristian-spiescu Mar 22, 2024
5054534
Dana rm32536 possibility to set z index on segments (#72)
daniela-mateescu Mar 23, 2024
4b80cd6
#33572 Fix dpi problem by aproximation with 1 px (#76)
daniela-mateescu Mar 23, 2024
42d67da
adapt imports from demo-app (#67)
daniela-mateescu Mar 23, 2024
5f111d5
v2.6.0 + fixed some compile errors in tests
cristian-spiescu Mar 23, 2024
5f7f32e
Fix error + Math.round small left over from a previous task (#77)
daniela-mateescu Apr 1, 2024
2881c9f
Dana rm33923 error in proteus when moving the mouse on initial load (…
daniela-mateescu Apr 8, 2024
500af94
// TODO RM34271
cristian-spiescu Apr 26, 2024
102decb
Added zoom feature (RM31736) (#58)
daniela-mateescu May 9, 2024
c7b4841
Updated changelog.
cristian-spiescu May 9, 2024
0bc27ac
#31736 fix zoom in FF (#80)
valeriu-vi May 14, 2024
7f083e1
v2.7.0
cristian-spiescu May 14, 2024
3d50a7e
v2.7.1
cristian-spiescu May 16, 2024
896642f
#34331 - fix update timeline based on start/end Date (#83)
valeriu-vi May 29, 2024
3d33f10
#34395 - fix zoom when have 2 instances (#81)
valeriu-vi May 29, 2024
75467ba
#34326 - set z-index for nowMarker (#82)
valeriu-vi May 29, 2024
40eb2e0
#33471 - improved API for ContextMenu (#79)
cosmin-radu Jun 3, 2024
e5c586f
v2.7.2
cristian-spiescu Jun 3, 2024
ff30434
v2.7.3
cristian-spiescu Jun 3, 2024
9f072e8
v2.7.4
cristian-spiescu Jun 5, 2024
eeb5206
Merge branch 'master-flower-platform' of
cristian-spiescu Jun 5, 2024
58fa62b
RM33454 Use row id instead of row index (#74)
daniela-mateescu Jun 13, 2024
e119f69
v2.7.5
cristian-spiescu Jun 28, 2024
4054f34
#34560 adjust item height (#88)
valeriu-vi Aug 5, 2024
aff827a
#34744 context menu on mobile (#86)
valeriu-vi Aug 19, 2024
4f9af77
Add zoomEnabled flag (#90)
daniela-mateescu Oct 3, 2024
c236f3a
v2.8.0
cristian-spiescu Oct 7, 2024
bde44d4
v2.8.1
cristian-spiescu Oct 7, 2024
9d9bcb1
#35313 - change resize cursor size (#89)
valeriu-vi Oct 15, 2024
dfdb023
scroll sync issue (#69)
daniela-mateescu Nov 18, 2024
31f3b1b
Updated vers for deploy. Halted because test error.
cristian-spiescu Nov 19, 2024
5da959e
Fix tests (#93)
daniela-mateescu Nov 20, 2024
a0db33e
Deployed v2.9.0
cristian-spiescu Nov 20, 2024
b0a2c69
Default split size (#94)
valeriu-vi Feb 7, 2025
19edca3
v2.10.0
cristian-spiescu Feb 7, 2025
a424700
#38847 - change color used for BackgroundGradient (#96)
valeriu-vi Sep 19, 2025
675a3aa
#38832 Fix onItemLeave, onItemHover triggering two often (#98)
daniela-mateescu Nov 10, 2025
fabf279
#35634 Add scrollToItem feature (#100)
daniela-mateescu Nov 10, 2025
a22643e
#36225 avoid render of context menu and scrollbar at every mouse move…
daniela-mateescu Nov 10, 2025
856622e
Add verticalGapBetweenOverlappingItems and rowTopBottomPadding proper…
daniela-mateescu Nov 10, 2025
be37419
#39269 Empty rows have special id "empty_..." instead of negative id …
daniela-mateescu Nov 11, 2025
b854cf1
#39269 Fix for failing tests (#105)
daniela-mateescu Nov 11, 2025
3439b7b
v2.11.0
cristian-spiescu Nov 11, 2025
ccbee0d
#40009 Add public api for zoom (#106)
daniela-mateescu Jan 28, 2026
3a8ef4e
#39926 Fix exception when zoom/resize (#107)
daniela-mateescu Feb 4, 2026
831c2d3
v2.12.0
cristian-spiescu Feb 4, 2026
8439eed
#40477-improving-data-test-id-for-context-menu-items
Feb 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"presets": ["env", "react"],
"plugins": ["transform-class-properties", "babel-root-slash-import", "babel-plugin-transform-object-rest-spread"]
"presets": ["@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript"],
// this plugin add support for async/await
"plugins": ["@babel/plugin-transform-runtime"]
}
10 changes: 0 additions & 10 deletions .esdoc.json

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Build dir
dist/
lib/
types/

# Docs
docs/
Expand All @@ -22,3 +23,5 @@ node_modules/
.lvimrc
.DS_Store
/.idea
# Storybook
storybook-static/
4 changes: 0 additions & 4 deletions .storybook/.babelrc

This file was deleted.

10 changes: 0 additions & 10 deletions .storybook/main.js

This file was deleted.

9 changes: 0 additions & 9 deletions .storybook/preview.js

This file was deleted.

206 changes: 204 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,208 @@
# Change Log

## Unreleased

## v2.12.0

* [Fix exception when zooming or resizing window due to undefined grid reference](https://github.com/flower-platform/react-timeline-10000/pull/107)
* [Add public api for zoom in/out](https://github.com/flower-platform/react-timeline-10000/pull/106)

## v2.11.0

* [Prevented wrong segments on empty rows by giving them IDs with a special prefix](https://github.com/flower-platform/react-timeline-10000/pull/102)
* [Fix to avoid rendering of the context menu and scrollbar at every mouse move](https://github.com/flower-platform/react-timeline-10000/pull/99)
* [Add `scrollToItem` feature](https://github.com/flower-platform/react-timeline-10000/pull/100)
* [Fix `onItemHover` and `onItemLeave` firing too often on items with children](https://github.com/flower-platform/react-timeline-10000/pull/98)
* [Change color used for BackgroundGradient](https://github.com/flower-platform/react-timeline-10000/pull/96)
* [Add `verticalGapBetweenOverlappingItems` and `rowTopBottomPadding` properties](https://github.com/flower-platform/react-timeline-10000/pull/97)

## v2.10.0

* [Default split size](https://github.com/flower-platform/react-timeline-10000/pull/94/files)

## v2.9.0

* [Fix to allow variable row heights + programmatic scroll](https://github.com/flower-platform/react-timeline-10000/pull/69/files)
* [Small fix for resize cursor size](https://github.com/flower-platform/react-timeline-10000/pull/89/files)

## v2.8.0, v2.8.1

* [Add `zoomEnabled` flag](https://github.com/flower-platform/react-timeline-10000/pull/90/files)
* [Small fix for context menu on mobile and item leave event](https://github.com/flower-platform/react-timeline-10000/pull/86/files)
* [Update comment for rct9k-items-inner style class](https://github.com/flower-platform/react-timeline-10000/pull/88/files)

## v2.7.5

* [Allow group.id to be any number (remove the "consecutive numbers starting from 0" restriction)](https://github.com/flower-platform/react-timeline-10000/pull/74/files)

## v2.7.4

* Updated `@famiprog-foundation/tests-are-demo` @ v1.0.1.

## v2.7.3

* [Improved API for Context Menu](https://github.com/flower-platform/react-timeline-10000/pull/79)
* [Add z-index to now marker to show on top of items, layers](https://github.com/flower-platform/react-timeline-10000/pull/82)
* [Small fix for zoom when have multiple instances, catch the event only if mouse is on our instance body](https://github.com/flower-platform/react-timeline-10000/pull/81)
* [Small issue at update when useMoment props is true](https://github.com/flower-platform/react-timeline-10000/pull/83)

## v2.7.1

* Updated `@famiprog-foundation/scriptable-ui` @ v1.0.0.

## v2.7.0

* [Zoom](https://github.com/flower-platform/react-timeline-10000/pull/58) and [small fix for Firefox](https://github.com/flower-platform/react-timeline-10000/pull/80)

## v2.6.1

* [Error when moving the mouse and the grid inside the gantt in not yet rendered](https://github.com/flower-platform/react-timeline-10000/pull/77)

## v2.6.0

* Internal: for `demo-app`, upgraded storybook version to v7.5. It also uses vite now.
* Small issue: on props changed, the width of the table was reset to the original value.
* [Highlighted interval positioned at the beginning of the gantt was not displayed](https://github.com/flower-platform/react-timeline-10000/pull/70)
* [Controlled/uncontrolled split + rename `onTableResize` into `onSplitChange`](https://github.com/flower-platform/react-timeline-10000/pull/75)
* [Add `displayItemOnSeparateRowIfOverlap` property](https://github.com/flower-platform/react-timeline-10000/pull/72/files)

## v2.5.0

* [Separated lib and demo-app](https://github.com/flower-platform/react-timeline-10000/commit/b5936969f7ffe67a52139c04b2275849e9c5b078)
* [Upgraded to TAD v0.11.0](https://github.com/flower-platform/react-timeline-10000/commit/a87a58b74898e3a5017b8e4d5028e9e5a4c0f325), generated screenshots, .md reports, and first .md docs

## v2.4.1

### Fixed

* [Reseting start/end date didn't work](https://github.com/flower-platform/react-timeline-10000/pull/65)

## v2.4.0

### Added

* [Horizontal scrollbar](https://github.com/flower-platform/react-timeline-10000/pull/57)
* [Added `onTableResize` property](https://github.com/flower-platform/react-timeline-10000/pull/62)

### Fixed

* [External drag and drop doesn't work](https://github.com/flower-platform/react-timeline-10000/pull/60)
* [Changing the `width` property of the table didn't updated of the UI](https://github.com/flower-platform/react-timeline-10000/pull/59)
* [Various small isues](https://github.com/flower-platform/react-timeline-10000/pull/63)
* Problem with the scroll after reseting the `groups`
* `SplitPanel` has `absolute` position instead of `relative`position
* Exception when dragging above the timeline
* Exception when reseting the `groups` of a gantt that was scrolled
* Gantt surface was not receiving events because of the `backgroundLayers`
* Background layers were overlapping the vertical scrollbar

## v2.3.0

### Added

* [A `<Table>` is used for displaying rows](https://github.com/flower-platform/react-timeline-10000/pull/52), i.e. in the left part of the Gantt. `<Table>` comes from the [FixedDataTable lib](https://schrodinger.github.io/fixed-data-table-2/). This addition is **not backwards compatible**.

## v2.2.4

### Added

* `forceDragToCreateMode` example in storybook
* `forceDragToCreateMode` test case

### Changed

* [Modify selection trigger: from `click` to `mouseDown`](https://github.com/flower-platform/react-timeline-10000/pull/50)

### Fixed

* Drag to create rectangle was blue instead of green when `forceDragToCreateMode = true`
* [Parameter `selectedItems` of `onSelectionChange` handler was `number[]` instead of `(number|string)[]`](https://github.com/flower-platform/react-timeline-10000/pull/51)

## v2.2.3

### Fixed

Right click selection didn't worked on custom segments with a complex children hierarchy

## v2.2.2

### Fixed

* [Various small issues](https://github.com/flower-platform/react-timeline-10000/pull/47)
* drag to create popup auto-closing
* visual improvements of the selected and hovered segments style
* Error in console when running an action without `run` property defined
* Right clicking on one segments caused drag to select on the entire row
* A semantic-ui `Icon` can be passed to IAction.icon
* On Firefox a thin blue line appeared on top of segments
* Improve storybook documentation for "drag to create" feature

## v2.2.1

### Added

* [In some places, key of type string was not supported](https://github.com/flower-platform/react-timeline-10000/pull/40). Now keys of type `number | string` are supported.

### Fixed

* [Bug related to `key of type string was not supported`](https://github.com/flower-platform/react-timeline-10000/pull/45)

## v2.2.0

### Added

* [Click and double click handler for a group](https://github.com/flower-platform/react-timeline-10000/pull/11)
* [Drag to create](https://github.com/flower-platform/react-timeline-10000/pull/25)
* [Context menu and selection](https://github.com/flower-platform/react-timeline-10000/pull/37)

### Fixed

* [Various small isues](https://github.com/flower-platform/react-timeline-10000/pull/29)
* style was considered mandatory in HighlightedInterval
* align BackgroundLayer with TimelineBody
* rowLayers were not rendererd correctly after update
* typo
* weekends calculation depended on moment.locale
* remove margin and border from selection box
* [Drag to create issues](https://github.com/flower-platform/react-timeline-10000/pull/32)
* selection was going up on mouse move on different browsers
* right click was prevented even if it was not in `drag to create` mode
* Item click was not working for complex renderers. A special css class was searched only 2 levels. Now there is a loop, so deeper nesting is possible.

## v2.1.1

### Fixed

* [In some cases, depending on the parent DomElem, scrollbars appear/disappear in an infinite loop](https://github.com/flower-platform/react-timeline-10000/issues/26)

## v2.1.0

### Added

* [Background layer: vertical grid, highlight weekends, highlighted intervals, now marker, markers](https://github.com/flower-platform/react-timeline-10000/pull/19)

## v2.0.2

### Fixed

* [Upgraded color lib and code updated](https://github.com/flower-platform/react-timeline-10000/pull/20)

## v2.0.1

The first official version published since the project was forked from `react-timeline-9000` to `@famiprog-foundation/react-gantt`.

### Added

| Short description | Issue | Pull request #19|
| - | - | - |
| Multiple columns / table mode. | React9k/react-timeline-9000#190 | React9k/react-timeline-9000#243 |
| Support for milliseconds. | React9k/react-timeline-9000#196 | React9k/react-timeline-9000#239 |
| Use of date/millis for compatibility w/ Redux. Moment.js support is still kept. | React9k/react-timeline-9000#221 | React9k/react-timeline-9000#241 |
| Storybook | React9k/react-timeline-9000#234 | React9k/react-timeline-9000#237 |
| Improved ItemRenderer and nice default styles | | [commit](https://github.com/flower-platform/react-timeline-10000/commit/e005eab4b4fbee1c737c2ebf323ad65304cdc26f)
| Generate TypeScript `.d.ts` files. Storybook uses TS | | [commit](https://github.com/flower-platform/react-timeline-10000/commit/a6bb813fe2c229c97aff306d3bf9c79ce23e6503)
| minor | | React9k/react-timeline-9000#257 |
| minor | | React9k/react-timeline-9000#260 |
| minor | React9k/react-timeline-9000#271 | React9k/react-timeline-9000#272 |

## v1.1.2
### Added
- Pass resolution props to timeline
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ run: install
yarn start

test: install
env NODE_PATH=$$NODE_PATH:$$PWD/src/ $(mocha) --require babel-core/register --require ignore-styles "./src/**/*.test.js"
env NODE_PATH=$$NODE_PATH:$$PWD/src/ $(mocha) --require @babel/register --require ignore-styles "./src/**/*.test.js"

test-watch: install
env NODE_PATH=$$NODE_PATH:$$PWD/src/ $(mocha) -w --require babel-core/register --require ignore-styles "./src/**/*.test.js"
env NODE_PATH=$$NODE_PATH:$$PWD/src/ $(mocha) -w --require @babel/register --require ignore-styles "./src/**/*.test.js"

install:
yarn

clean:
rm -rf dist
rm -rf lib
rm -rf types
Loading