blessing-skin-server/package.json

211 lines
5.2 KiB
JSON
Raw Normal View History

2016-07-21 22:01:57 +08:00
{
"name": "blessing-skin-server",
2019-09-13 09:21:11 +08:00
"version": "5.0.0-beta.1",
2017-01-15 16:21:34 +08:00
"description": "A web application brings your custom skins back in offline Minecraft servers.",
2016-07-21 22:01:57 +08:00
"repository": {
"type": "git",
2018-11-25 15:12:53 +08:00
"url": "https://github.com/bs-community/blessing-skin-server"
2016-07-21 22:01:57 +08:00
},
"author": "printempw",
2019-03-30 13:20:46 +08:00
"license": "MIT",
2016-08-28 10:05:21 +08:00
"private": true,
"scripts": {
2019-02-19 17:26:38 +08:00
"dev": "webpack-dev-server",
2019-11-24 15:57:46 +08:00
"build": "webpack --mode=production -p",
2019-11-25 23:30:51 +08:00
"lint": "eslint --ext=js,vue,ts -f=beauty .",
2019-09-15 14:46:21 +08:00
"test": "jest",
2019-03-14 10:34:36 +08:00
"codecov": "codecov -F js"
2016-08-28 10:05:21 +08:00
},
"dependencies": {
2019-11-20 17:48:24 +08:00
"@babel/runtime": "^7.7.2",
"@fortawesome/fontawesome-free": "^5.11.2",
"@tweenjs/tween.js": "^18.4.2",
2019-11-24 14:32:58 +08:00
"admin-lte": "^3.0.1",
2019-11-20 17:48:24 +08:00
"echarts": "^4.5.0",
"element-theme-chalk": "^2.12.0",
"element-ui": "^2.12.0",
2019-05-03 09:49:48 +08:00
"jquery": "^3.4.1",
2018-08-21 10:18:20 +08:00
"skinview3d": "^1.1.0",
2019-03-30 15:21:14 +08:00
"vue": "^2.6.10",
2019-11-20 17:48:24 +08:00
"vue-good-table": "^2.18.1",
"vue-recaptcha": "^1.2.0",
2019-05-03 09:49:48 +08:00
"vue-upload-component": "^2.8.20",
2019-02-19 11:55:54 +08:00
"vuejs-paginate": "^2.1.0"
},
2016-07-21 22:01:57 +08:00
"devDependencies": {
2019-11-20 17:48:24 +08:00
"@babel/core": "^7.7.2",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.7.1",
"@babel/preset-typescript": "^7.7.2",
2019-03-17 21:09:46 +08:00
"@gplane/tsconfig": "^1.0.0",
2019-05-03 09:49:48 +08:00
"@types/echarts": "^4.1.9",
2019-11-20 17:48:24 +08:00
"@types/jest": "^24.0.23",
2019-05-03 09:49:48 +08:00
"@types/jquery": "^3.3.29",
"@types/webpack": "^4.39.1",
2019-11-25 23:30:51 +08:00
"@typescript-eslint/eslint-plugin": "^2.8.0",
"@typescript-eslint/parser": "^2.8.0",
2019-02-19 16:37:29 +08:00
"@vue/test-utils": "^1.0.0-beta.29",
2019-11-20 17:48:24 +08:00
"autoprefixer": "^9.7.2",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
2019-11-20 17:48:24 +08:00
"babel-plugin-dynamic-import-node": "^2.3.0",
"babel-plugin-import": "^1.12.2",
"cache-loader": "^4.1.0",
2019-11-20 17:48:24 +08:00
"codecov": "^3.6.1",
"css-loader": "^3.2.0",
2019-11-25 23:30:51 +08:00
"eslint": "^6.7.1",
"eslint-config-gplane": "^6.2.1",
2018-09-08 11:56:00 +08:00
"eslint-formatter-beauty": "^3.0.0",
2019-11-25 23:30:51 +08:00
"eslint-plugin-vue": "^6.0.1",
2019-02-19 11:55:54 +08:00
"file-loader": "^3.0.1",
2019-11-20 17:48:24 +08:00
"jest": "^24.9.0",
"jest-extended": "^0.11.2",
"mini-css-extract-plugin": "^0.8.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
2018-09-24 09:31:26 +08:00
"postcss-loader": "^3.0.0",
2019-09-21 19:43:49 +08:00
"sass": "^1.22.12",
2019-03-25 22:01:57 +08:00
"sass-loader": "^7.1.0",
"style-loader": "^1.0.0",
2018-07-25 15:32:08 +08:00
"stylus": "^0.54.5",
2018-07-29 15:31:54 +08:00
"stylus-loader": "^3.0.2",
2019-11-20 17:48:24 +08:00
"typescript": "^3.7.2",
"url-loader": "^2.2.0",
2019-02-19 16:37:29 +08:00
"vue-jest": "^4.0.0-beta.2",
2019-11-20 17:48:24 +08:00
"vue-loader": "^15.7.2",
2019-03-30 15:21:14 +08:00
"vue-template-compiler": "^2.6.10",
2019-11-20 17:48:24 +08:00
"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"
2017-06-30 12:13:45 +08:00
},
2019-11-25 23:30:51 +08:00
"resolutions": {
"vue-eslint-parser": "^7.0.0"
},
2019-03-15 10:47:34 +08:00
"browserslist": [
"> 1%",
"not dead",
"not ie 11",
"Chrome > 52"
],
2019-03-17 10:21:18 +08:00
"prettier": {
"printWidth": 80,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "avoid",
"tabWidth": 2
},
2019-03-15 11:42:41 +08:00
"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
],
2019-11-25 23:30:51 +08:00
"prefer-destructuring": 0
2019-03-17 21:09:46 +08:00
},
"overrides": [
{
"files": [
"*.ts"
],
2019-11-25 23:30:51 +08:00
"extends": [
"gplane",
"gplane/typescript",
"gplane/vue"
],
2019-03-17 21:09:46 +08:00
"parserOptions": {
"parser": "@typescript-eslint/parser"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
2019-11-25 23:30:51 +08:00
"@typescript-eslint/camelcase": [
2019-03-19 19:16:03 +08:00
2,
{
2019-11-25 23:30:51 +08:00
"properties": "never",
"ignoreDestructuring": true
2019-03-19 19:16:03 +08:00
}
2019-11-25 23:30:51 +08:00
],
"@typescript-eslint/no-invalid-this": 0,
"no-invalid-this": 0
}
},
{
2019-11-26 13:01:15 +08:00
"files": [
"resources/assets/tests/**/*.ts",
"*.d.ts"
],
2019-11-25 23:30:51 +08:00
"rules": {
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/unbound-method": 0,
"@typescript-eslint/no-extra-parens": 0,
2019-11-26 13:01:15 +08:00
"max-len": [
2,
120
]
2019-11-25 23:30:51 +08:00
}
},
{
"files": [
"resources/assets/src/components/mixins/*.ts"
],
"rules": {
"@typescript-eslint/no-extra-parens": 0
2019-03-17 21:09:46 +08:00
}
}
]
2019-03-15 11:42:41 +08:00
},
"jest": {
2018-07-31 22:58:35 +08:00
"resetMocks": true,
2018-08-12 08:55:42 +08:00
"timers": "fake",
2018-07-27 09:53:14 +08:00
"transform": {
2019-03-17 21:09:46 +08:00
".*\\.(t|j)s$": "babel-jest",
2018-07-27 09:53:14 +08:00
".*\\.vue$": "vue-jest"
},
"moduleFileExtensions": [
"js",
"vue",
2019-03-17 21:09:46 +08:00
"ts",
2018-07-27 09:53:14 +08:00
"json",
"node"
],
"moduleNameMapper": {
2018-08-01 22:36:12 +08:00
"^@/(.*)$": "<rootDir>/resources/assets/src/$1",
2019-03-18 09:55:24 +08:00
"\\.css$": "<rootDir>/resources/assets/tests/__mocks__/style.ts",
"\\.(png|jpg)$": "<rootDir>/resources/assets/tests/__mocks__/file.ts"
2018-07-27 09:53:14 +08:00
},
2019-02-19 11:55:54 +08:00
"setupFilesAfterEnv": [
2019-11-26 11:44:44 +08:00
"<rootDir>/resources/assets/tests/setup.ts"
2019-02-19 11:55:54 +08:00
],
2018-07-27 09:53:14 +08:00
"coveragePathIgnorePatterns": [
"/node_modules/",
2018-09-07 23:58:00 +08:00
"<rootDir>/resources/assets/tests/setup",
"<rootDir>/resources/assets/tests/utils"
2018-07-27 16:16:36 +08:00
],
2019-03-17 21:09:46 +08:00
"testRegex": "resources/assets/tests/.*\\.(spec|test)\\.(t|j)s$"
2016-07-21 22:01:57 +08:00
}
}