Feross Aboukhadijeh
39570bd4d7
Replace babel with bublé
...
Pros of bubel over babel:
- No configuration (a la standard)
- Runs twice as fast, for quicker development
- Converts everything to ES5 (which is likely to be faster than ES6,
untested)
- Easy to swap Babel back in -- low commitment
Cons:
- Less battle-tested than Babel, but recommended by React core
developer so probably not too bad
- No babel plugin support, but we're not using that right now anyway.
Can switch back to babel if we need that later
BEFORE:
$ time npm run build
> webtorrent-desktop@0.16 .0 build /Users/feross/code/webtorrent-desktop
> babel --quiet src --out-dir build
npm run build 3.07s user 0.27s system 115% cpu 2.902 total
AFTER:
$ time npm run build
> webtorrent-desktop@0.16 .0 build /Users/feross/code/webtorrent-desktop
> buble src --output build
npm run build 1.38s user 0.16s system 114% cpu 1.343 total
2016-09-20 15:21:17 -07:00
Feross Aboukhadijeh
9cdc73edce
0.16.0
2016-09-18 01:56:59 -07:00
DC
e4e789cc5b
Integration test: screenshot compare ignoring transparency
2016-09-17 20:35:52 -07:00
Feross Aboukhadijeh
0fcbe7369a
Merge pull request #925 from feross/capture-frame
...
Use capture-frame package
2016-09-16 15:43:20 -07:00
Feross Aboukhadijeh
065faca8eb
Electron 1.4.0
2016-09-16 10:25:03 -07:00
Feross Aboukhadijeh
bcd6a38a05
Use capture-frame package
...
See: https://github.com/feross/capture-frame
Capture video screenshot from a `<video>` tag (at the current time)
Changes from our version:
- Added tests in Chrome/Firefox browsers.
- Use built-in TypeError (which is meant for bad arguments) instead of
custom IllegalArgumentError.
2016-09-16 10:14:39 -07:00
DC
c549fcfc27
0.15.0
2016-09-16 01:01:32 -07:00
DC
61caa90901
Auto launch: don't open a terminal on MacOS
2016-09-13 19:49:47 -07:00
Noam Okman
3e85289318
Pref: start automatically on login
2016-09-13 19:49:47 -07:00
DC
785c44cd2a
Integration test: torrent list
2016-09-08 23:55:37 -07:00
DC
fe8c3b190c
Integration test: tape + spectron hello world
2016-09-08 19:10:28 -07:00
Adam Gotlib
d331bae548
Move error definitions to errors.js ( #898 )
2016-09-07 13:21:59 -07:00
DC
b69ca93d20
0.14.0
2016-09-03 18:49:49 -07:00
Noam Okman
c25bee755c
make "npm run watch" work on windows ( #878 )
2016-09-03 20:13:11 +02:00
DC
0bda5358bd
Style: extra linting
2016-09-01 19:41:50 -07:00
DC
2b6c9ffcdb
0.13.1
2016-08-31 18:49:18 -07:00
DC
74349129f4
0.13.0
2016-08-31 16:09:41 -07:00
DC
b6bdeab50b
depcheck: ignore generated code
2016-08-31 00:58:00 -07:00
Noam Okman
990fb57839
ignore packges used in npm scripts
2016-08-27 21:40:04 +03:00
Noam Okman
1883341ddb
use depcheck
2016-08-27 21:40:02 +03:00
Feross Aboukhadijeh
808fca031a
standard
2016-08-25 17:57:40 -07:00
Feross Aboukhadijeh
396d769bc8
Remove 'hat' dependency
2016-08-24 00:40:33 -07:00
Feross Aboukhadijeh
1a01d7ed92
Use Material UI; improve Preferences Page
...
New principles for our UI:
- Components should use inline styles whenever possible
- Let's shrink the size of main.css to < 100 lines over time so it just
contains typography and basic styles
- Always require just the individual component that is needed from
Material UI so that the whole library doesn't get loaded (important for
startup perf)
2016-08-23 03:06:03 -07:00
Feross Aboukhadijeh
173d8444d7
Preferences page rehaul: use React components, UI improvements
2016-08-23 03:05:33 -07:00
Feross Aboukhadijeh
e2b5e28e07
add npm run watch command
2016-08-23 03:05:33 -07:00
Jason Kurian
1f9adbd3cf
Switch from electron-prebuilt to electron
2016-08-23 04:32:09 -04:00
DC
f259b32cce
0.12.0
2016-08-23 00:07:01 -07:00
Feross Aboukhadijeh
70bc32614b
0.11.0
2016-08-19 16:24:20 -07:00
Feross Aboukhadijeh
f48ecb87b2
plist@2
...
Looks like there are no important changes. They just deleted some
deprecated methods we don't use.
2016-08-19 16:19:05 -07:00
Feross Aboukhadijeh
bb4db2cede
update to standard v8
...
The only thing we have to change is to self-close tags that don't
contain anything. This wasn't even an explicit change in standard. It
was already a rule, but I think it wasn't getting enforced very well
until a bugfix.
2016-08-19 01:44:28 -07:00
Feross Aboukhadijeh
110e25af73
electron-prebuilt@1.3.3
2016-08-10 16:47:58 -07:00
Feross Aboukhadijeh
11eb603930
0.10.0
2016-08-05 22:53:49 -07:00
Feross Aboukhadijeh
a8239895c6
babel: Add --quiet option
2016-08-04 21:41:37 -07:00
Feross Aboukhadijeh
7531ab4623
Simplify babel integration further
...
The "react" preset is composed of a bunch of plugins.
https://babeljs.io/docs/plugins/preset-react/
Turns out, we only need 2 of them, not all 5.
2016-08-04 21:37:53 -07:00
Feross Aboukhadijeh
9b36f9cb22
Ensure that build folder gets generated before npm publish
...
So users using `npm install -g webtorrent-desktop` will always get a
working version.
2016-08-04 21:05:03 -07:00
Feross Aboukhadijeh
29f8ef6b72
Replace deprecated react-tools with babel
...
- Switch to babel, since react-tools has been deprecated since June 12,
2015. See
https://facebook.github.io/react/blog/2015/06/12/deprecating-jstransform
-and-react-tools.html
- Move babel command to "npm run build"
- Move commands for package into "bin/package.js"
2016-08-04 21:04:49 -07:00
Feross Aboukhadijeh
67409214a4
Allow dragging magnet links ( Fix #284 )
2016-08-03 20:26:46 -07:00
Feross Aboukhadijeh
91a4c0cff5
electron-prebuilt@1.3.2
...
Changelog: https://github.com/electron/electron/releases/tag/v1.3.2
Nothing in the changelog fixes known WebTorrent Desktop issues.
2016-08-02 19:11:06 -07:00
Benjamin Tan
fc53c68dd9
Use rimraf instead of rm -rf for Windows.
2016-07-31 16:36:43 +08:00
Feross Aboukhadijeh
536f04985f
Switch to using location-history package
...
https://npmjs.com/package/location-history
2016-07-28 20:07:12 -07:00
Feross Aboukhadijeh
8ba4dadb10
electron-prebuilt@1.3.1
2016-07-27 14:49:59 -07:00
Feross Aboukhadijeh
2590e0effc
Merge pull request #743 from feross/f/mac
...
OS X -> Mac
2016-07-27 13:15:48 -07:00
Feross Aboukhadijeh
b417ef5b03
Merge pull request #744 from feross/f/engines
...
Add "engines" field to package.json
2016-07-27 13:15:12 -07:00
Feross Aboukhadijeh
904f337713
Add "engines" field to package.json
...
Fixes #675
2016-07-26 22:58:07 -07:00
Feross Aboukhadijeh
febad56497
OS X -> Mac
2016-07-26 21:55:05 -07:00
Feross Aboukhadijeh
cb71de2313
Set peer ID to start with "-WD-"
...
To distinguish WebTorrent Desktop (WD) from WebTorrent in the browser
(WW).
See the spec:
http://www.bittorrent.org/beps/bep_0020.html
https://wiki.theory.org/BitTorrentSpecification
2016-07-26 20:20:01 -07:00
Feross Aboukhadijeh
80983c2058
electron-prebuilt@1.3.0
...
Another Electron was just released. Let's bump from 1.2.8 to 1.3.0.
Changelog:
- Upgrade to Chrome 52
- Update to Node.js 6.3.0
2016-07-25 15:42:55 -07:00
Mathias Rasmussen
7c14d8c909
bump versions of electron and fs-extra
2016-07-25 02:18:14 +02:00
Feross Aboukhadijeh
fe4c1b0ee8
Merge pull request #733 from feross/f/application-config
...
application-config@1
2016-07-23 02:35:43 -07:00
DC
d20786cd69
React: fix package script
2016-07-22 19:57:06 -07:00