mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
build tools: webpack with typescript and scss compilation
This commit is contained in:
45
package.json
45
package.json
@@ -1,38 +1,21 @@
|
||||
{
|
||||
"name": "frontend",
|
||||
"version": "0.1.0",
|
||||
"description": "mCaptcha/guard frontend",
|
||||
"name": "vanilla",
|
||||
"main": "index.js",
|
||||
"repository": "https://github.com/mCaptcha/guard",
|
||||
"author": "Aravinth Manivannan <realaravinth@batsense.net>",
|
||||
"license": "AGPLv3 or above",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"start": "tsc templates/index.ts && webpack --config webpack.dev.js",
|
||||
"tsc": "tsc templates/index.ts",
|
||||
"build": "tsc templates/index.ts && webpack --config webpack.prod.js"
|
||||
"build": "webpack --mode production",
|
||||
"start": "webpack-dev-server --mode development --progress --color"
|
||||
},
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"css-loader": "^2.1.0",
|
||||
"file-loader": "^3.0.1",
|
||||
"html-loader": "^0.5.5",
|
||||
"html-webpack-plugin": "^3.2.0",
|
||||
"mini-css-extract-plugin": "^0.5.0",
|
||||
"node-sass": "^4.11.0",
|
||||
"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": {
|
||||
"@babel/core": "^7.0.0",
|
||||
"babel-loader": "^8.2.2",
|
||||
"clean-webpack-plugin": "^2.0.0",
|
||||
"loader-utils": "^2.0.0"
|
||||
"css-loader": "^5.2.4",
|
||||
"css-minimizer-webpack-plugin": "^2.0.0",
|
||||
"dart-sass": "^1.25.0",
|
||||
"mini-css-extract-plugin": "^1.6.0",
|
||||
"sass-loader": "^11.0.1",
|
||||
"ts-loader": "^8.0.0",
|
||||
"typescript": "^4.1.0",
|
||||
"webpack": "^5.0.0",
|
||||
"webpack-cli": "^4.6.0",
|
||||
"webpack-dev-server": "^3.1.14"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user