61 lines
2.1 KiB
JSON
61 lines
2.1 KiB
JSON
{
|
|
"name": "sshwifty-ui",
|
|
"version": "0.0.0",
|
|
"description": "Sshwifty Web Front-end Project",
|
|
"main": "",
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.9.0",
|
|
"@babel/plugin-transform-runtime": "^7.9.0",
|
|
"@babel/preset-env": "^7.9.5",
|
|
"@babel/register": "^7.9.0",
|
|
"@babel/runtime": "^7.9.2",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-loader": "^8.1.0",
|
|
"buffer": "^5.6.0",
|
|
"clean-webpack-plugin": "^3.0.0",
|
|
"copy-webpack-plugin": "^5.1.1",
|
|
"css-loader": "^3.5.3",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-loader": "^4.0.2",
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
"eslint-plugin-vue": "^6.2.2",
|
|
"favicons-webpack-plugin": "^3.0.1",
|
|
"file-loader": "^6.0.0",
|
|
"fontfaceobserver": "^2.1.0",
|
|
"hack-font": "^3.3.0",
|
|
"html-loader": "^1.1.0",
|
|
"html-webpack-plugin": "^4.2.0",
|
|
"iconv-lite": "^0.5.1",
|
|
"imagemin-webpack-plugin": "^2.4.2",
|
|
"mini-css-extract-plugin": "^0.9.0",
|
|
"mocha": "^7.1.2",
|
|
"normalize.css": "^8.0.1",
|
|
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
|
"prettier": "^2.0.5",
|
|
"roboto-fontface": "^0.10.0",
|
|
"style-loader": "^1.2.0",
|
|
"terser-webpack-plugin": "^2.3.6",
|
|
"vue": "^2.6.11",
|
|
"vue-loader": "^15.9.1",
|
|
"vue-template-compiler": "^2.6.11",
|
|
"webpack": "^4.43.0",
|
|
"webpack-cli": "^3.3.11",
|
|
"webpack-manifest-plugin": "^2.2.0",
|
|
"xterm": "^4.5.0",
|
|
"xterm-addon-fit": "^0.3.0",
|
|
"xterm-addon-web-links": "^0.3.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "NODE_ENV=development webpack --mode=development --config=webpack.config.js --watch",
|
|
"generate": "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/niruix/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"
|
|
}
|