refactor(scripts): fix typo
This commit is contained in:
parent
f9c49dcd3f
commit
6ea43ef5e4
@ -29,12 +29,11 @@ const DIST = path.resolve(ROOT, 'dist/@ionic-native');
|
|||||||
|
|
||||||
const PACKAGES = [];
|
const PACKAGES = [];
|
||||||
|
|
||||||
const RXJS_VEERSION = '*';
|
const RXJS_VERSION = '*';
|
||||||
const CORE_VERSION = '^5.0.0';
|
|
||||||
|
|
||||||
const PLUGIN_PEER_DEPENDENCIES = {
|
const PLUGIN_PEER_DEPENDENCIES = {
|
||||||
'@ionic-native/core': VERSION, // TODO change this in production
|
'@ionic-native/core': VERSION, // TODO change this in production
|
||||||
rxjs: RXJS_VEERSION
|
rxjs: RXJS_VERSION
|
||||||
};
|
};
|
||||||
|
|
||||||
function getPackageJsonContent(name, peerDependencies = {}, dependencies = {}) {
|
function getPackageJsonContent(name, peerDependencies = {}, dependencies = {}) {
|
||||||
@ -55,7 +54,7 @@ function writePackageJson(data: any, dir: string) {
|
|||||||
function prepare() {
|
function prepare() {
|
||||||
// write @ionic-native/core package.json
|
// write @ionic-native/core package.json
|
||||||
writePackageJson(
|
writePackageJson(
|
||||||
getPackageJsonContent('core', { rxjs: RXJS_VEERSION }, { '@types/cordova': 'latest' }),
|
getPackageJsonContent('core', { rxjs: RXJS_VERSION }, { '@types/cordova': 'latest' }),
|
||||||
path.resolve(DIST, 'core')
|
path.resolve(DIST, 'core')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user