Added file copy to dlcpacks and assets, added option to watch for file changes (npm run run)

This commit is contained in:
hydrant
2019-03-11 22:39:26 +01:00
parent 8ce3fd6f52
commit d872ffa32f
3 changed files with 111 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
"version": "1.0.0",
"devDependencies": {
"@types/ragemp-c": "git+https://github.com/sprayzcs/types-ragemp-c.git#master",
"copy-webpack-plugin": "^5.0.1",
"uglifyjs-webpack-plugin": "^2.1.2"
},
"dependencies": {
@@ -14,5 +15,8 @@
"typescript": "^3.3.3333",
"webpack": "^4.29.6",
"webpack-cli": "^3.2.3"
},
"scripts": {
"run": "webpack --watch"
}
}