2016-10-17 22:42:41 +03:00
|
|
|
{
|
|
|
|
"name": "spreed",
|
2019-03-22 12:20:38 +03:00
|
|
|
"version": "6.0.0",
|
|
|
|
"description": "",
|
2016-10-17 22:42:41 +03:00
|
|
|
"main": " ",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2019-03-25 16:37:12 +03:00
|
|
|
"url": "https://github.com/nextcloud/spreed.git"
|
2016-10-17 22:42:41 +03:00
|
|
|
},
|
|
|
|
"author": "",
|
|
|
|
"license": "AGPL-3.0",
|
2019-07-12 14:19:30 +03:00
|
|
|
"scripts": {
|
|
|
|
"build": "make npm-init build-js-production bundle-simplewebrtc"
|
|
|
|
},
|
2016-10-17 22:42:41 +03:00
|
|
|
"devDependencies": {
|
2019-07-21 04:16:43 +03:00
|
|
|
"@babel/core": "^7.5.5",
|
2019-07-25 12:51:13 +03:00
|
|
|
"@babel/preset-env": "^7.5.5",
|
2019-02-08 12:21:05 +03:00
|
|
|
"attachmediastream": "^2.1.0",
|
2019-07-11 16:06:17 +03:00
|
|
|
"babel-plugin-add-module-exports": "^1.0.2",
|
2019-03-07 23:23:09 +03:00
|
|
|
"babelify": "^10.0.0",
|
2019-08-11 04:12:53 +03:00
|
|
|
"browserify": "^16.5.0",
|
Use shared Browserslist config for Babel in root
Browserslist is used by Babel, which in turn is used in Talk to bundle
the SimpleWebRTC code with its dependencies (like WebRTC adapter). Until
recently, in the server its configuration was got from the Babel config,
but now it is stated in the "package.json" file. However, it is not
hardcoded, but provided through a new NPM module,
"browserslist-config-nextcloud". Browserslist gets its configuration
from the "package.json" in current or parent directories, so if
SimpleWebRTC was bundled and the "spreed" directory was a subdirectory
of the "server" directory of Nextcloud Browserslists got its
configuration from the "package.json" file in the server. In that case
the bundle failed because "browserslist-config-nextcloud" was not part
of the modules installed for Talk development.
To prevent that, now "browserslist-config-nextcloud" is a development
dependency of Talk. Also, for consistency,
"browserslist-config-nextcloud" is now always used when bundling
SimpleWebRTC, so the result is the same whether the Talk directory is a
subdirectory of the server or not when performing the bundle.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-07-02 23:15:40 +03:00
|
|
|
"browserslist-config-nextcloud": "0.0.1",
|
2019-05-13 13:42:49 +03:00
|
|
|
"handlebars": "^4.1.2",
|
2019-02-08 12:21:05 +03:00
|
|
|
"hark": "^1.2.3",
|
|
|
|
"mockconsole": "0.0.1",
|
2019-07-31 14:34:14 +03:00
|
|
|
"util": "^0.12.1",
|
2019-08-04 04:12:29 +03:00
|
|
|
"webrtc-adapter": "^7.2.9",
|
2019-02-08 12:21:05 +03:00
|
|
|
"webrtcsupport": "^2.2.0",
|
2019-07-02 14:36:01 +03:00
|
|
|
"wildemitter": "^1.2.1"
|
Use shared Browserslist config for Babel in root
Browserslist is used by Babel, which in turn is used in Talk to bundle
the SimpleWebRTC code with its dependencies (like WebRTC adapter). Until
recently, in the server its configuration was got from the Babel config,
but now it is stated in the "package.json" file. However, it is not
hardcoded, but provided through a new NPM module,
"browserslist-config-nextcloud". Browserslist gets its configuration
from the "package.json" in current or parent directories, so if
SimpleWebRTC was bundled and the "spreed" directory was a subdirectory
of the "server" directory of Nextcloud Browserslists got its
configuration from the "package.json" file in the server. In that case
the bundle failed because "browserslist-config-nextcloud" was not part
of the modules installed for Talk development.
To prevent that, now "browserslist-config-nextcloud" is a development
dependency of Talk. Also, for consistency,
"browserslist-config-nextcloud" is now always used when bundling
SimpleWebRTC, so the result is the same whether the Talk directory is a
subdirectory of the server or not when performing the bundle.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-07-02 23:15:40 +03:00
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
"extends browserslist-config-nextcloud"
|
2019-07-08 12:00:34 +03:00
|
|
|
],
|
|
|
|
"dependencies": {}
|
2016-10-17 22:42:41 +03:00
|
|
|
}
|