66 lines
2.3 KiB
JSON
66 lines
2.3 KiB
JSON
{
|
|
"name": "sshwifty-ui",
|
|
"version": "0.0.0",
|
|
"description": "Sshwifty Web Front-end Project",
|
|
"main": "",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.15.8",
|
|
"@babel/eslint-parser": "^7.15.8",
|
|
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
"@babel/preset-env": "^7.15.8",
|
|
"@babel/register": "^7.15.3",
|
|
"@babel/runtime": "^7.15.4",
|
|
"babel-loader": "^8.2.2",
|
|
"buffer": "^6.0.3",
|
|
"clean-webpack-plugin": "^4.0.0",
|
|
"copy-webpack-plugin": "^9.0.1",
|
|
"css-loader": "^6.4.0",
|
|
"css-minimizer-webpack-plugin": "^3.1.1",
|
|
"cwebp-bin": "^6.1.2",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-vue": "^7.20.0",
|
|
"eslint-webpack-plugin": "^3.0.1",
|
|
"favicons": "^6.2.2",
|
|
"favicons-webpack-plugin": "^5.0.2",
|
|
"fontfaceobserver": "^2.1.0",
|
|
"hack-font": "^3.3.0",
|
|
"html-loader": "^2.1.2",
|
|
"html-webpack-plugin": "^5.4.0",
|
|
"iconv-lite": "^0.6.3",
|
|
"image-minimizer-webpack-plugin": "^2.2.0",
|
|
"imagemin-gifsicle": "^7.0.0",
|
|
"imagemin-mozjpeg": "^9.0.0",
|
|
"imagemin-pngquant": "^9.0.2",
|
|
"imagemin-svgo": "^10.0.0",
|
|
"imagemin-webp": "^6.0.0",
|
|
"mini-css-extract-plugin": "^2.4.2",
|
|
"mocha": "^9.1.3",
|
|
"normalize.css": "^8.0.1",
|
|
"prettier": "^2.4.1",
|
|
"roboto-fontface": "^0.10.0",
|
|
"style-loader": "^3.3.0",
|
|
"terser-webpack-plugin": "^5.2.4",
|
|
"vue": "^2.6.14",
|
|
"vue-loader": "^15.9.8",
|
|
"vue-template-compiler": "^2.6.14",
|
|
"webpack": "^5.59.0",
|
|
"webpack-cli": "^4.9.1",
|
|
"xterm": "^4.14.1",
|
|
"xterm-addon-fit": "^0.5.0",
|
|
"xterm-addon-web-links": "^0.4.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "NODE_ENV=development webpack --mode=development --config=webpack.config.js --watch",
|
|
"clean": "rm .tmp/ -rf || true",
|
|
"generate": "npm run clean && NODE_ENV=production webpack --mode=production --config=webpack.config.js",
|
|
"build": "npm run generate && CGO_ENABLED=0 go build -ldflags \"-s -w -X github.com/nirui/sshwifty/application.version=$(git describe --always --dirty='*' --tag)\"",
|
|
"lint": "eslint --ext .js,.vue ui",
|
|
"testonly": "mocha --require @babel/register --recursive --timeout 3s ./ui/**/*_test.js && CGO_ENABLED=1 go test ./... -race -timeout 30s",
|
|
"test": "npm run generate && npm run testonly"
|
|
},
|
|
"author": "",
|
|
"license": "AGPL-3.0"
|
|
}
|