typescript migration

This commit is contained in:
realaravinth
2021-05-01 19:22:44 +05:30
parent 90424219f5
commit 9c6398a7c5
55 changed files with 857 additions and 921 deletions

View File

@@ -7,11 +7,11 @@
"author": "Aravinth Manivannan <realaravinth@batsense.net>",
"license": "AGPLv3 or above",
"scripts": {
"start": "webpack --config webpack.dev.js",
"start": "tsc templates/index.ts && webpack --config webpack.dev.js",
"tsc": "tsc templates/index.ts",
"build": "webpack --config webpack.prod.js"
},
"private": true,
"devDependencies": {
"css-loader": "^2.1.0",
"file-loader": "^3.0.1",
@@ -22,12 +22,17 @@
"optimize-css-assets-webpack-plugin": "^5.0.1",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"ts-loader": "^9.1.1",
"typescript": "^4.2.4",
"webpack": "^4.29.6",
"webpack-cli": "^3.2.3",
"webpack-dev-server": "^3.2.1",
"webpack-merge": "^4.2.1"
},
"dependencies": {
"clean-webpack-plugin": "^2.0.0"
"@babel/core": "^7.0.0",
"babel-loader": "^8.2.2",
"clean-webpack-plugin": "^2.0.0",
"loader-utils": "^2.0.0"
}
}