62 lines
2.2 KiB
JSON
62 lines
2.2 KiB
JSON
{
|
|
"name": "sshwifty-ui",
|
|
"version": "0.0.0",
|
|
"description": "Sshwifty Web Front-end Project",
|
|
"main": "",
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.10.5",
|
|
"@babel/plugin-transform-runtime": "^7.10.5",
|
|
"@babel/preset-env": "^7.10.4",
|
|
"@babel/register": "^7.10.5",
|
|
"@babel/runtime": "^7.10.5",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-loader": "^8.1.0",
|
|
"buffer": "^5.6.0",
|
|
"clean-webpack-plugin": "^3.0.0",
|
|
"copy-webpack-plugin": "^6.0.3",
|
|
"css-loader": "^4.0.0",
|
|
"eslint": "^7.5.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-loader": "^4.0.2",
|
|
"eslint-plugin-prettier": "^3.1.4",
|
|
"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.3.0",
|
|
"iconv-lite": "^0.6.2",
|
|
"imagemin-webpack-plugin": "^2.4.2",
|
|
"mini-css-extract-plugin": "^0.9.0",
|
|
"mocha": "^8.0.1",
|
|
"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.1",
|
|
"terser-webpack-plugin": "^3.0.7",
|
|
"vue": "^2.6.11",
|
|
"vue-loader": "^15.9.3",
|
|
"vue-template-compiler": "^2.6.11",
|
|
"webpack": "^4.44.0",
|
|
"webpack-cli": "^3.3.12",
|
|
"webpack-manifest-plugin": "^2.2.0",
|
|
"xterm": "^4.8.1",
|
|
"xterm-addon-fit": "^0.4.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/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"
|
|
}
|