Fix plugin email dependencies

This commit is contained in:
Jim Laurie 2017-11-20 15:10:40 +01:00
parent b4539df31f
commit ab6434fb4d
3 changed files with 12 additions and 21 deletions

View File

@ -23,23 +23,11 @@
"prepublish": "npm run build",
"postinstall": "node node_modules/strapi-helper-plugin/lib/internals/scripts/postinstall.js"
},
"dependencies": {
"sendmail": "^1.2.0"
},
"devDependencies": {
"cross-env": "^5.1.1",
"eslint": "^4.11.0",
"eslint-config-airbnb": "^15.1.0",
"eslint-config-airbnb-base": "^11.3.2",
"eslint-config-prettier": "^2.7.0",
"eslint-import-resolver-webpack": "^0.8.3",
"eslint-plugin-babel": "^4.1.2",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
"eslint-plugin-redux-saga": "^0.4.0",
"plop": "^1.9.0",
"prettier": "^1.8.2",
"rimraf": "^2.6.2",
"strapi-helper-plugin": "3.0.0-alpha.6.7",
"webpack": "^3.8.1"
"strapi-helper-plugin": "3.0.0-alpha.6.7"
},
"author": {
"name": "A Strapi developer",
@ -57,8 +45,5 @@
"node": ">= 7.0.0",
"npm": ">= 3.0.0"
},
"license": "MIT",
"dependencies": {
"sendmail": "^1.2.0"
}
"license": "MIT"
}

View File

@ -25,7 +25,8 @@
},
"dependencies": {
"bcryptjs": "^2.4.3",
"jsonwebtoken": "^8.1.0"
"jsonwebtoken": "^8.1.0",
"sendmail": "^1.2.0"
},
"author": {
"name": "A Strapi developer",

View File

@ -44,6 +44,11 @@ shell.cd('../strapi');
shell.exec('npm install ../strapi-generate ../strapi-generate-admin ../strapi-generate-api ../strapi-generate-new ../strapi-generate-policy ../strapi-generate-service ../strapi-utils');
shell.exec('npm link');
shell.cd('../strapi-plugin-email');
shell.exec('npm install ../strapi-helper-plugin');
shell.rm('-f', 'package-lock.json');
shell.exec('npm link');
shell.cd('../strapi-plugin-users-permissions');
shell.exec('npm install ../strapi-helper-plugin');
shell.rm('-f', 'package-lock.json');