Move non-external dependencies to devDependencies (#888)
They are not needed to use the dist file.
This commit is contained in:
parent
7fb2901ede
commit
d5e87dc6f4
|
@ -340,6 +340,7 @@ module.exports = {
|
||||||
"new-cap": [ 0, { "properties": false, "capIsNewExceptionPattern": "^type_.*" }],
|
"new-cap": [ 0, { "properties": false, "capIsNewExceptionPattern": "^type_.*" }],
|
||||||
"no-lonely-if": 0,
|
"no-lonely-if": 0,
|
||||||
"import/extensions": 0,
|
"import/extensions": 0,
|
||||||
|
"import/no-extraneous-dependencies": 0,
|
||||||
"no-buffer-constructor": 0, // deprecated
|
"no-buffer-constructor": 0, // deprecated
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
13
package.json
13
package.json
|
@ -69,23 +69,24 @@
|
||||||
"mocha": "^5.0.0",
|
"mocha": "^5.0.0",
|
||||||
"sinon": "^4.3.0",
|
"sinon": "^4.3.0",
|
||||||
"text-encoding-utf-8": "^1.0.2",
|
"text-encoding-utf-8": "^1.0.2",
|
||||||
"whatwg-fetch": "^2.0.3"
|
"whatwg-fetch": "^2.0.3",
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@mattiasbuelens/web-streams-polyfill": "^0.3.1",
|
"@mattiasbuelens/web-streams-polyfill": "^0.3.1",
|
||||||
"address-rfc2822": "^2.0.3",
|
"address-rfc2822": "^2.0.3",
|
||||||
"asmcrypto.js": "github:openpgpjs/asmcrypto#6e4e407b9b8ae317925a9e677cc7b4de3e447e83",
|
"asmcrypto.js": "github:openpgpjs/asmcrypto#6e4e407b9b8ae317925a9e677cc7b4de3e447e83",
|
||||||
"asn1.js": "^5.0.0",
|
|
||||||
"bn.js": "^4.11.8",
|
"bn.js": "^4.11.8",
|
||||||
"buffer": "^5.0.8",
|
"buffer": "^5.0.8",
|
||||||
"elliptic": "github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
|
"elliptic": "github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
|
||||||
"hash.js": "^1.1.3",
|
"hash.js": "^1.1.3",
|
||||||
"node-fetch": "^2.1.2",
|
|
||||||
"node-localstorage": "~1.3.0",
|
|
||||||
"pako": "^1.0.6",
|
"pako": "^1.0.6",
|
||||||
"seek-bzip": "github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
|
"seek-bzip": "github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
|
||||||
"web-stream-tools": "github:openpgpjs/web-stream-tools#84a497715c9df271a673f8616318264ab42ab3cc"
|
"web-stream-tools": "github:openpgpjs/web-stream-tools#84a497715c9df271a673f8616318264ab42ab3cc"
|
||||||
},
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"asn1.js": "^5.0.0",
|
||||||
|
"node-fetch": "^2.1.2",
|
||||||
|
"node-localstorage": "~1.3.0"
|
||||||
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/openpgpjs/openpgpjs"
|
"url": "https://github.com/openpgpjs/openpgpjs"
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
|
|
||||||
import util from './util';
|
import util from './util';
|
||||||
|
|
||||||
/* eslint-disable import/no-extraneous-dependencies */
|
|
||||||
|
|
||||||
if (typeof window !== 'undefined') {
|
if (typeof window !== 'undefined') {
|
||||||
/********************************************************************
|
/********************************************************************
|
||||||
* NOTE: This list is duplicated in Gruntfile.js, *
|
* NOTE: This list is duplicated in Gruntfile.js, *
|
||||||
|
|
Loading…
Reference in New Issue
Block a user