blessing-skin-server/package.json
2019-11-30 17:57:30 +08:00

214 lines
5.3 KiB
JSON

{
"name": "blessing-skin-server",
"version": "5.0.0-beta.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": "MIT",
"private": true,
"scripts": {
"dev": "webpack-dev-server",
"build": "webpack --mode=production -p",
"lint": "eslint --ext=js,vue,ts -f=beauty .",
"test": "jest",
"codecov": "codecov -F js"
},
"dependencies": {
"@babel/runtime": "^7.7.4",
"@fortawesome/fontawesome-free": "^5.11.2",
"@tweenjs/tween.js": "^18.4.2",
"admin-lte": "^3.0.1",
"echarts": "^4.5.0",
"element-theme-chalk": "^2.12.0",
"element-ui": "^2.12.0",
"jquery": "^3.4.1",
"skinview3d": "^1.1.0",
"vue": "^2.6.10",
"vue-good-table": "^2.18.1",
"vue-recaptcha": "^1.2.0",
"vue-upload-component": "^2.8.20",
"vuejs-paginate": "^2.1.0"
},
"devDependencies": {
"@babel/core": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@babel/preset-typescript": "^7.7.4",
"@gplane/tsconfig": "^1.0.0",
"@types/bootstrap": "^4.3.1",
"@types/echarts": "^4.1.9",
"@types/jest": "^24.0.23",
"@types/jquery": "^3.3.29",
"@types/webpack": "^4.39.1",
"@typescript-eslint/eslint-plugin": "^2.8.0",
"@typescript-eslint/parser": "^2.8.0",
"@vue/test-utils": "^1.0.0-beta.29",
"autoprefixer": "^9.7.2",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"babel-plugin-dynamic-import-node": "^2.3.0",
"babel-plugin-import": "^1.12.2",
"cache-loader": "^4.1.0",
"codecov": "^3.6.1",
"css-loader": "^3.2.0",
"eslint": "^6.7.1",
"eslint-config-gplane": "^6.2.1",
"eslint-formatter-beauty": "^3.0.0",
"eslint-plugin-vue": "^6.0.1",
"file-loader": "^3.0.1",
"jest": "^24.9.0",
"jest-extended": "^0.11.2",
"mini-css-extract-plugin": "^0.8.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-loader": "^3.0.0",
"sass": "^1.22.12",
"sass-loader": "^7.1.0",
"style-loader": "^1.0.0",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.2",
"typescript": "^3.7.2",
"url-loader": "^2.2.0",
"vue-jest": "^4.0.0-beta.2",
"vue-loader": "^15.7.2",
"vue-template-compiler": "^2.6.10",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0",
"webpack-manifest-plugin": "^2.2.0",
"webpackbar": "^4.0.0"
},
"resolutions": {
"vue-eslint-parser": "^7.0.0",
"caniuse-lite": "*"
},
"browserslist": [
"> 1%",
"not dead",
"not ie 11",
"Chrome > 52"
],
"prettier": {
"printWidth": 80,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "avoid",
"tabWidth": 2
},
"eslintConfig": {
"root": true,
"extends": [
"gplane",
"gplane/vue"
],
"parser": "vue-eslint-parser",
"env": {
"node": true,
"es6": true,
"jquery": true
},
"globals": {
"blessing": "readonly"
},
"rules": {
"camelcase": [
2,
{
"properties": "never",
"ignoreDestructuring": true
}
],
"max-len": [
2,
120
],
"prefer-destructuring": 0
},
"overrides": [
{
"files": [
"*.ts"
],
"extends": [
"gplane",
"gplane/typescript",
"gplane/vue"
],
"parserOptions": {
"parser": "@typescript-eslint/parser"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/camelcase": [
2,
{
"properties": "never",
"ignoreDestructuring": true
}
],
"@typescript-eslint/no-invalid-this": 0,
"@typescript-eslint/no-unnecessary-condition": 0,
"no-invalid-this": 0
}
},
{
"files": [
"resources/assets/tests/**/*.ts",
"*.d.ts"
],
"rules": {
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/unbound-method": 0,
"@typescript-eslint/no-extra-parens": 0,
"max-len": [
2,
120
]
}
},
{
"files": [
"resources/assets/src/components/mixins/*.ts"
],
"rules": {
"@typescript-eslint/no-extra-parens": 0
}
}
]
},
"jest": {
"resetMocks": true,
"timers": "fake",
"transform": {
".*\\.(t|j)s$": "babel-jest",
".*\\.vue$": "vue-jest"
},
"moduleFileExtensions": [
"js",
"vue",
"ts",
"json",
"node"
],
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/resources/assets/src/$1",
"\\.css$": "<rootDir>/resources/assets/tests/__mocks__/style.ts",
"\\.(png|jpg)$": "<rootDir>/resources/assets/tests/__mocks__/file.ts"
},
"setupFilesAfterEnv": [
"<rootDir>/resources/assets/tests/setup.ts"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"<rootDir>/resources/assets/tests/setup",
"<rootDir>/resources/assets/tests/utils"
],
"testRegex": "resources/assets/tests/.*\\.(spec|test)\\.(t|j)s$"
}
}