blessing-skin-server/package.json
2019-03-15 17:41:07 +08:00

148 lines
3.8 KiB
JSON

{
"name": "blessing-skin-server",
"version": "4.0.0-alpha.1",
"description": "A web application brings your custom skins back in offline Minecraft servers.",
"repository": {
"type": "git",
"url": "https://github.com/bs-community/blessing-skin-server"
},
"author": "printempw",
"license": "GPL-3.0",
"private": true,
"scripts": {
"dev": "webpack-dev-server",
"build": "rimraf public/app && webpack --mode=production",
"lint": "eslint --ext=.js,.vue -f=beauty .",
"test": "jest",
"codecov": "codecov -F js"
},
"dependencies": {
"@babel/runtime": "^7.3.4",
"@fortawesome/fontawesome-free": "^5.7.2",
"admin-lte": "^2.4.10",
"chart.js": "^2.7.3",
"icheck": "^1.0.2",
"jquery": "^3.3.1",
"skinview3d": "^1.1.0",
"sweetalert2": "^8.4.0",
"toastr": "^2.1.4",
"vue": "^2.6.9",
"vue-good-table": "^2.16.3",
"vue-upload-component": "^2.8.19",
"vuejs-paginate": "^2.1.0"
},
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@types/jest": "^24.0.11",
"@types/jquery": "^3.3.9",
"@vue/test-utils": "^1.0.0-beta.29",
"autoprefixer": "^9.5.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.5.0",
"babel-loader": "^8.0.5",
"babel-plugin-dynamic-import-node": "^2.2.0",
"cache-loader": "^2.0.1",
"codecov": "^3.1.0",
"copy-webpack-plugin": "^5.0.1",
"css-loader": "^2.1.0",
"cssnano": "^4.1.10",
"csso-loader": "^0.3.1",
"eslint": "^5.14.0",
"eslint-config-gplane": "^5.1.3",
"eslint-formatter-beauty": "^3.0.0",
"eslint-plugin-vue": "^5.2.2",
"file-loader": "^3.0.1",
"jest": "^24.5.0",
"jest-extended": "^0.11.1",
"json-loader": "^0.5.7",
"mini-css-extract-plugin": "^0.5.0",
"postcss-loader": "^3.0.0",
"rimraf": "^2.6.3",
"style-loader": "^0.23.1",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.2",
"url-loader": "^1.1.2",
"vue-jest": "^4.0.0-beta.2",
"vue-loader": "^15.7.0",
"vue-template-compiler": "^2.6.9",
"webpack": "^4.29.6",
"webpack-cli": "^3.2.3",
"webpack-dev-server": "^3.2.1",
"webpackbar": "^3.1.5",
"yaml-loader": "^0.5.0"
},
"browserslist": [
"> 1%",
"not dead",
"not ie 11",
"Chrome > 52"
],
"eslintConfig": {
"root": true,
"extends": [
"gplane",
"gplane/vue"
],
"parser": "vue-eslint-parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"parser": "babel-eslint"
},
"env": {
"node": true,
"es6": true,
"jquery": true
},
"globals": {
"blessing": "readonly"
},
"rules": {
"camelcase": [
2,
{
"properties": "never",
"ignoreDestructuring": true
}
],
"max-len": [
2,
120
],
"prefer-object-spread": 0,
"import/no-unresolved": 0
}
},
"jest": {
"resetMocks": true,
"timers": "fake",
"transform": {
"^.+\\.js$": "babel-jest",
".*\\.vue$": "vue-jest"
},
"moduleFileExtensions": [
"js",
"vue",
"json",
"node"
],
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/resources/assets/src/$1",
"\\.css$": "<rootDir>/resources/assets/tests/__mocks__/style.js",
"\\.(png|jpg)$": "<rootDir>/resources/assets/tests/__mocks__/file.js"
},
"setupFilesAfterEnv": [
"<rootDir>/resources/assets/tests/setup.js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"<rootDir>/resources/assets/tests/setup",
"<rootDir>/resources/assets/tests/utils"
],
"testRegex": "resources/assets/tests/.*\\.(spec|test)\\.js$"
}
}