Move deps to root

This commit is contained in:
Jiiks 2018-01-21 15:41:56 +02:00
parent 111bc2da2f
commit 11e42a4ce9
4 changed files with 25 additions and 23 deletions

View File

@ -16,18 +16,7 @@
},
"private": false,
"devDependencies": {
"webpack": "^3.10.0",
"babel-core": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-loader": "^7.1.2",
"jquery": "^3.2.1",
"vue": "^2.5.13",
"vue-loader": "^13.7.0",
"vue-template-compiler": "^2.5.13",
"css-loader": "^0.28.9",
"sass-loader": "^6.0.6",
"node-sass": "^4.7.2"
},
"scripts": {
"build": "webpack --progress --colors",

View File

@ -37,7 +37,7 @@ module.exports = {
},
resolve: {
alias: {
vue$: path.resolve('node_modules', 'vue', 'dist', 'vue.esm.js')
vue$: path.resolve('..', 'node_modules', 'vue', 'dist', 'vue.esm.js')
}
}
/* resolve: {

View File

@ -16,14 +16,7 @@
},
"private": false,
"devDependencies": {
"babel-core": "^6.26.0",
"babel-preset-env": "^1.6.1",
"electron": "^1.7.10",
"gulp": "^3.9.1",
"gulp-babel": "^7.0.0",
"pump": "^2.0.0",
"gulp-plumber": "^1.2.0",
"gulp-watch": "^5.0.0"
},
"scripts": {
"build": "gulp build",

View File

@ -5,7 +5,7 @@
"version": "0.4.0",
"homepage": "https://betterdiscord.net",
"license": "MIT",
"main": "index.js",
"main": "./core/index.js",
"contributors": [
"Jiiks",
"Pohky"
@ -15,7 +15,27 @@
"url": "https://github.com/Jiiks/BetterDiscordApp.git"
},
"private": false,
"devDependencies": {},
"devDependencies": {
"webpack": "^3.10.0",
"babel-core": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-env": "^1.6.1",
"babel-loader": "^7.1.2",
"jquery": "^3.2.1",
"vue": "^2.5.13",
"vue-loader": "^13.7.0",
"vue-template-compiler": "^2.5.13",
"css-loader": "^0.28.9",
"sass-loader": "^6.0.6",
"node-sass": "^4.7.2",
"electron": "^1.7.10",
"gulp": "^3.9.1",
"gulp-babel": "^7.0.0",
"pump": "^2.0.0",
"gulp-plumber": "^1.2.0",
"gulp-watch": "^5.0.0"
},
"scripts": {
"build": "cd ./client && npm run build && cd ../core && npm run build",
"watch_client": "cd ./client && npm run watch",