diff --git a/atom/browser/api/lib/app.js b/lib/browser/api/app.js similarity index 100% rename from atom/browser/api/lib/app.js rename to lib/browser/api/app.js diff --git a/atom/browser/api/lib/auto-updater.js b/lib/browser/api/auto-updater.js similarity index 100% rename from atom/browser/api/lib/auto-updater.js rename to lib/browser/api/auto-updater.js diff --git a/atom/browser/api/lib/auto-updater/auto-updater-native.js b/lib/browser/api/auto-updater/auto-updater-native.js similarity index 100% rename from atom/browser/api/lib/auto-updater/auto-updater-native.js rename to lib/browser/api/auto-updater/auto-updater-native.js diff --git a/atom/browser/api/lib/auto-updater/auto-updater-win.js b/lib/browser/api/auto-updater/auto-updater-win.js similarity index 100% rename from atom/browser/api/lib/auto-updater/auto-updater-win.js rename to lib/browser/api/auto-updater/auto-updater-win.js diff --git a/atom/browser/api/lib/auto-updater/squirrel-update-win.js b/lib/browser/api/auto-updater/squirrel-update-win.js similarity index 100% rename from atom/browser/api/lib/auto-updater/squirrel-update-win.js rename to lib/browser/api/auto-updater/squirrel-update-win.js diff --git a/atom/browser/api/lib/browser-window.js b/lib/browser/api/browser-window.js similarity index 100% rename from atom/browser/api/lib/browser-window.js rename to lib/browser/api/browser-window.js diff --git a/atom/browser/api/lib/content-tracing.js b/lib/browser/api/content-tracing.js similarity index 100% rename from atom/browser/api/lib/content-tracing.js rename to lib/browser/api/content-tracing.js diff --git a/atom/browser/api/lib/dialog.js b/lib/browser/api/dialog.js similarity index 100% rename from atom/browser/api/lib/dialog.js rename to lib/browser/api/dialog.js diff --git a/atom/browser/api/lib/exports/electron.js b/lib/browser/api/exports/electron.js similarity index 100% rename from atom/browser/api/lib/exports/electron.js rename to lib/browser/api/exports/electron.js diff --git a/atom/browser/api/lib/global-shortcut.js b/lib/browser/api/global-shortcut.js similarity index 100% rename from atom/browser/api/lib/global-shortcut.js rename to lib/browser/api/global-shortcut.js diff --git a/atom/browser/api/lib/ipc-main.js b/lib/browser/api/ipc-main.js similarity index 100% rename from atom/browser/api/lib/ipc-main.js rename to lib/browser/api/ipc-main.js diff --git a/atom/browser/api/lib/ipc.js b/lib/browser/api/ipc.js similarity index 100% rename from atom/browser/api/lib/ipc.js rename to lib/browser/api/ipc.js diff --git a/atom/browser/api/lib/menu-item.js b/lib/browser/api/menu-item.js similarity index 100% rename from atom/browser/api/lib/menu-item.js rename to lib/browser/api/menu-item.js diff --git a/atom/browser/api/lib/menu.js b/lib/browser/api/menu.js similarity index 100% rename from atom/browser/api/lib/menu.js rename to lib/browser/api/menu.js diff --git a/atom/browser/api/lib/navigation-controller.js b/lib/browser/api/navigation-controller.js similarity index 100% rename from atom/browser/api/lib/navigation-controller.js rename to lib/browser/api/navigation-controller.js diff --git a/atom/browser/api/lib/power-monitor.js b/lib/browser/api/power-monitor.js similarity index 100% rename from atom/browser/api/lib/power-monitor.js rename to lib/browser/api/power-monitor.js diff --git a/atom/browser/api/lib/power-save-blocker.js b/lib/browser/api/power-save-blocker.js similarity index 100% rename from atom/browser/api/lib/power-save-blocker.js rename to lib/browser/api/power-save-blocker.js diff --git a/atom/browser/api/lib/protocol.js b/lib/browser/api/protocol.js similarity index 100% rename from atom/browser/api/lib/protocol.js rename to lib/browser/api/protocol.js diff --git a/atom/browser/api/lib/screen.js b/lib/browser/api/screen.js similarity index 100% rename from atom/browser/api/lib/screen.js rename to lib/browser/api/screen.js diff --git a/atom/browser/api/lib/session.js b/lib/browser/api/session.js similarity index 100% rename from atom/browser/api/lib/session.js rename to lib/browser/api/session.js diff --git a/atom/browser/api/lib/tray.js b/lib/browser/api/tray.js similarity index 100% rename from atom/browser/api/lib/tray.js rename to lib/browser/api/tray.js diff --git a/atom/browser/api/lib/web-contents.js b/lib/browser/api/web-contents.js similarity index 100% rename from atom/browser/api/lib/web-contents.js rename to lib/browser/api/web-contents.js diff --git a/atom/browser/lib/chrome-extension.js b/lib/browser/chrome-extension.js similarity index 100% rename from atom/browser/lib/chrome-extension.js rename to lib/browser/chrome-extension.js diff --git a/atom/browser/lib/desktop-capturer.js b/lib/browser/desktop-capturer.js similarity index 100% rename from atom/browser/lib/desktop-capturer.js rename to lib/browser/desktop-capturer.js diff --git a/atom/browser/lib/guest-view-manager.js b/lib/browser/guest-view-manager.js similarity index 100% rename from atom/browser/lib/guest-view-manager.js rename to lib/browser/guest-view-manager.js diff --git a/atom/browser/lib/guest-window-manager.js b/lib/browser/guest-window-manager.js similarity index 100% rename from atom/browser/lib/guest-window-manager.js rename to lib/browser/guest-window-manager.js diff --git a/atom/browser/lib/init.js b/lib/browser/init.js similarity index 100% rename from atom/browser/lib/init.js rename to lib/browser/init.js diff --git a/atom/browser/lib/objects-registry.js b/lib/browser/objects-registry.js similarity index 100% rename from atom/browser/lib/objects-registry.js rename to lib/browser/objects-registry.js diff --git a/atom/browser/lib/rpc-server.js b/lib/browser/rpc-server.js similarity index 100% rename from atom/browser/lib/rpc-server.js rename to lib/browser/rpc-server.js diff --git a/atom/common/api/lib/callbacks-registry.js b/lib/common/api/callbacks-registry.js similarity index 100% rename from atom/common/api/lib/callbacks-registry.js rename to lib/common/api/callbacks-registry.js diff --git a/atom/common/api/lib/clipboard.js b/lib/common/api/clipboard.js similarity index 100% rename from atom/common/api/lib/clipboard.js rename to lib/common/api/clipboard.js diff --git a/atom/common/api/lib/crash-reporter.js b/lib/common/api/crash-reporter.js similarity index 100% rename from atom/common/api/lib/crash-reporter.js rename to lib/common/api/crash-reporter.js diff --git a/atom/common/api/lib/deprecate.js b/lib/common/api/deprecate.js similarity index 100% rename from atom/common/api/lib/deprecate.js rename to lib/common/api/deprecate.js diff --git a/atom/common/api/lib/deprecations.js b/lib/common/api/deprecations.js similarity index 100% rename from atom/common/api/lib/deprecations.js rename to lib/common/api/deprecations.js diff --git a/atom/common/api/lib/exports/electron.js b/lib/common/api/exports/electron.js similarity index 100% rename from atom/common/api/lib/exports/electron.js rename to lib/common/api/exports/electron.js diff --git a/atom/common/api/lib/native-image.js b/lib/common/api/native-image.js similarity index 100% rename from atom/common/api/lib/native-image.js rename to lib/common/api/native-image.js diff --git a/atom/common/api/lib/shell.js b/lib/common/api/shell.js similarity index 100% rename from atom/common/api/lib/shell.js rename to lib/common/api/shell.js diff --git a/atom/common/lib/asar.js b/lib/common/asar.js similarity index 100% rename from atom/common/lib/asar.js rename to lib/common/asar.js diff --git a/atom/common/lib/asar_init.js b/lib/common/asar_init.js similarity index 100% rename from atom/common/lib/asar_init.js rename to lib/common/asar_init.js diff --git a/atom/common/lib/init.js b/lib/common/init.js similarity index 100% rename from atom/common/lib/init.js rename to lib/common/init.js diff --git a/atom/common/lib/reset-search-paths.js b/lib/common/reset-search-paths.js similarity index 100% rename from atom/common/lib/reset-search-paths.js rename to lib/common/reset-search-paths.js diff --git a/atom/renderer/api/lib/desktop-capturer.js b/lib/renderer/api/desktop-capturer.js similarity index 100% rename from atom/renderer/api/lib/desktop-capturer.js rename to lib/renderer/api/desktop-capturer.js diff --git a/atom/renderer/api/lib/exports/electron.js b/lib/renderer/api/exports/electron.js similarity index 100% rename from atom/renderer/api/lib/exports/electron.js rename to lib/renderer/api/exports/electron.js diff --git a/atom/renderer/api/lib/ipc-renderer.js b/lib/renderer/api/ipc-renderer.js similarity index 100% rename from atom/renderer/api/lib/ipc-renderer.js rename to lib/renderer/api/ipc-renderer.js diff --git a/atom/renderer/api/lib/ipc.js b/lib/renderer/api/ipc.js similarity index 100% rename from atom/renderer/api/lib/ipc.js rename to lib/renderer/api/ipc.js diff --git a/atom/renderer/api/lib/remote.js b/lib/renderer/api/remote.js similarity index 100% rename from atom/renderer/api/lib/remote.js rename to lib/renderer/api/remote.js diff --git a/atom/renderer/api/lib/screen.js b/lib/renderer/api/screen.js similarity index 100% rename from atom/renderer/api/lib/screen.js rename to lib/renderer/api/screen.js diff --git a/atom/renderer/api/lib/web-frame.js b/lib/renderer/api/web-frame.js similarity index 100% rename from atom/renderer/api/lib/web-frame.js rename to lib/renderer/api/web-frame.js diff --git a/atom/renderer/lib/chrome-api.js b/lib/renderer/chrome-api.js similarity index 100% rename from atom/renderer/lib/chrome-api.js rename to lib/renderer/chrome-api.js diff --git a/atom/renderer/lib/init.js b/lib/renderer/init.js similarity index 100% rename from atom/renderer/lib/init.js rename to lib/renderer/init.js diff --git a/atom/renderer/lib/inspector.js b/lib/renderer/inspector.js similarity index 100% rename from atom/renderer/lib/inspector.js rename to lib/renderer/inspector.js diff --git a/atom/renderer/lib/override.js b/lib/renderer/override.js similarity index 100% rename from atom/renderer/lib/override.js rename to lib/renderer/override.js diff --git a/atom/renderer/lib/web-view/guest-view-internal.js b/lib/renderer/web-view/guest-view-internal.js similarity index 100% rename from atom/renderer/lib/web-view/guest-view-internal.js rename to lib/renderer/web-view/guest-view-internal.js diff --git a/atom/renderer/lib/web-view/web-view-attributes.js b/lib/renderer/web-view/web-view-attributes.js similarity index 100% rename from atom/renderer/lib/web-view/web-view-attributes.js rename to lib/renderer/web-view/web-view-attributes.js diff --git a/atom/renderer/lib/web-view/web-view-constants.js b/lib/renderer/web-view/web-view-constants.js similarity index 100% rename from atom/renderer/lib/web-view/web-view-constants.js rename to lib/renderer/web-view/web-view-constants.js diff --git a/atom/renderer/lib/web-view/web-view.js b/lib/renderer/web-view/web-view.js similarity index 100% rename from atom/renderer/lib/web-view/web-view.js rename to lib/renderer/web-view/web-view.js