Moved to yarn and updated many dependancies

This commit is contained in:
2019-01-26 19:13:53 -05:00
parent 2feb4e3d81
commit 51e5e8c981
5 changed files with 4136 additions and 10985 deletions

10969
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -7,20 +7,20 @@
"author": "hak8or", "author": "hak8or",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@types/lodash": "^4.14.104", "@types/lodash": "^4.14.118",
"axios": "^0.18.0", "axios": "^0.18.0",
"css-loader": "^0.28.10", "css-loader": "^1.0.1",
"style-loader": "^0.20.2", "style-loader": "^0.23.1",
"sweetalert2": "^7.13.3", "sweetalert2": "^7.28.2",
"ts-loader": "^4.0.0", "ts-loader": "^5.3.0",
"typescript": "^2.7.2", "typescript": "^2.9.2",
"uglifyjs-webpack-plugin": "^1.2.2", "uglifyjs-webpack-plugin": "^2.0.1",
"vue": "^2.5.13", "vue": "^2.5.17",
"vue-loader": "^14.1.1", "vue-loader": "^15.4.2",
"vue-template-compiler": "^2.5.13", "vue-template-compiler": "^2.5.17",
"webpack": "^4.0.1", "webpack": "^4.25.1",
"webpack-cli": "^2.0.9", "webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.0" "webpack-dev-server": "^3.1.10"
}, },
"scripts": { "scripts": {
"start": "webpack-dev-server --mode development --open", "start": "webpack-dev-server --mode development --open",

View File

@ -14,6 +14,6 @@ This project makes use of the following:
## Getting Started ## Getting Started
1. Clone the repository 1. Clone the repository
2. Run ```npm update``` to download all the project dependencies. 2. Run ```yarn install``` to download all the project dependencies.
3. Run ```npm start``` which will automatically start a server and recompile the typescript based backend when there are file changes. Also, ```/api``` is proxied back to the production server, though this can be edited in ```webpack.config.js```. 3. Run ```yarn start``` which will automatically start a server and recompile the typescript based backend when there are file changes. Also, ```/api``` is proxied back to the production server, though this can be edited in ```webpack.config.js```.
4. Run ```npm run-script build``` which generates the frontend files for production. 4. Run ```yarn build``` which generates the frontend files for production.

View File

@ -1,7 +1,11 @@
var path = require('path') var path = require('path')
var webpack = require('webpack') var webpack = require('webpack')
const VueLoaderPlugin = require('vue-loader/lib/plugin')
module.exports = { module.exports = {
plugins: [
new VueLoaderPlugin()
],
entry: './src/index.ts', entry: './src/index.ts',
output: { output: {
path: path.resolve(__dirname, './dist'), path: path.resolve(__dirname, './dist'),

4116
yarn.lock Normal file

File diff suppressed because it is too large Load Diff