Move moment from bower deps to npm deps
This commit is contained in:
parent
e32dad2e9b
commit
1ad2b080c8
5 changed files with 6 additions and 11958 deletions
|
@ -11,7 +11,6 @@
|
|||
"protobuf": "~3.8.0",
|
||||
"mustache": "~0.8.2",
|
||||
"qrcode": "https://github.com/davidshimjs/qrcodejs.git#1c78ccd71",
|
||||
"moment": "~2.14.0",
|
||||
"indexeddb-backbonejs-adapter": "*",
|
||||
"intl-tel-input": "~4.0.1",
|
||||
"blueimp-load-image": "~1.13.0",
|
||||
|
@ -57,9 +56,6 @@
|
|||
"chai": [
|
||||
"chai.js"
|
||||
],
|
||||
"moment": [
|
||||
"min/moment-with-locales.js"
|
||||
],
|
||||
"indexeddb-backbonejs-adapter": [
|
||||
"backbone-indexeddb.js"
|
||||
],
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -68,6 +68,7 @@
|
|||
"got": "^8.2.0",
|
||||
"lodash": "^4.17.4",
|
||||
"mkdirp": "^0.5.1",
|
||||
"moment": "^2.21.0",
|
||||
"node-fetch": "https://github.com/scottnonnenberg/node-fetch.git#3e5f51e08c647ee5f20c43b15cf2d352d61c36b4",
|
||||
"node-notifier": "^5.1.2",
|
||||
"os-locale": "^2.1.0",
|
||||
|
|
|
@ -108,6 +108,7 @@ window.nodeBuffer = Buffer;
|
|||
window.nodeFetch = require('node-fetch');
|
||||
window.nodeNotifier = require('node-notifier');
|
||||
window.ProxyAgent = require('proxy-agent');
|
||||
window.moment = require('moment');
|
||||
|
||||
// ES2015+ modules
|
||||
const attachmentsPath = Attachments.getPath(app.getPath('userData'));
|
||||
|
|
|
@ -3746,6 +3746,10 @@ moment@^2.10.6:
|
|||
version "2.18.1"
|
||||
resolved "https://registry.yarnpkg.com/moment/-/moment-2.18.1.tgz#c36193dd3ce1c2eed2adb7c802dbbc77a81b1c0f"
|
||||
|
||||
moment@^2.21.0:
|
||||
version "2.21.0"
|
||||
resolved "https://registry.yarnpkg.com/moment/-/moment-2.21.0.tgz#2a114b51d2a6ec9e6d83cf803f838a878d8a023a"
|
||||
|
||||
ms@0.7.1:
|
||||
version "0.7.1"
|
||||
resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.1.tgz#9cd13c03adbff25b65effde7ce864ee952017098"
|
||||
|
|
Loading…
Reference in a new issue