Moved to yarn and updated many dependancies
This commit is contained in:
10969
package-lock.json
generated
10969
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
26
package.json
26
package.json
@ -7,20 +7,20 @@
|
||||
"author": "hak8or",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@types/lodash": "^4.14.104",
|
||||
"@types/lodash": "^4.14.118",
|
||||
"axios": "^0.18.0",
|
||||
"css-loader": "^0.28.10",
|
||||
"style-loader": "^0.20.2",
|
||||
"sweetalert2": "^7.13.3",
|
||||
"ts-loader": "^4.0.0",
|
||||
"typescript": "^2.7.2",
|
||||
"uglifyjs-webpack-plugin": "^1.2.2",
|
||||
"vue": "^2.5.13",
|
||||
"vue-loader": "^14.1.1",
|
||||
"vue-template-compiler": "^2.5.13",
|
||||
"webpack": "^4.0.1",
|
||||
"webpack-cli": "^2.0.9",
|
||||
"webpack-dev-server": "^3.1.0"
|
||||
"css-loader": "^1.0.1",
|
||||
"style-loader": "^0.23.1",
|
||||
"sweetalert2": "^7.28.2",
|
||||
"ts-loader": "^5.3.0",
|
||||
"typescript": "^2.9.2",
|
||||
"uglifyjs-webpack-plugin": "^2.0.1",
|
||||
"vue": "^2.5.17",
|
||||
"vue-loader": "^15.4.2",
|
||||
"vue-template-compiler": "^2.5.17",
|
||||
"webpack": "^4.25.1",
|
||||
"webpack-cli": "^3.1.2",
|
||||
"webpack-dev-server": "^3.1.10"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "webpack-dev-server --mode development --open",
|
||||
|
@ -14,6 +14,6 @@ This project makes use of the following:
|
||||
## Getting Started
|
||||
|
||||
1. Clone the repository
|
||||
2. Run ```npm update``` 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```.
|
||||
4. Run ```npm run-script build``` which generates the frontend files for production.
|
||||
2. Run ```yarn install``` to download all the project dependencies.
|
||||
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 ```yarn build``` which generates the frontend files for production.
|
||||
|
@ -1,7 +1,11 @@
|
||||
var path = require('path')
|
||||
var webpack = require('webpack')
|
||||
const VueLoaderPlugin = require('vue-loader/lib/plugin')
|
||||
|
||||
module.exports = {
|
||||
plugins: [
|
||||
new VueLoaderPlugin()
|
||||
],
|
||||
entry: './src/index.ts',
|
||||
output: {
|
||||
path: path.resolve(__dirname, './dist'),
|
||||
|
Reference in New Issue
Block a user