2016-07-21 22:01:57 +08:00
|
|
|
{
|
|
|
|
"name": "blessing-skin-server",
|
2019-03-15 22:34:34 +08:00
|
|
|
"version": "4.0.0-alpha.6",
|
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",
|
|
|
|
"license": "GPL-3.0",
|
2016-08-28 10:05:21 +08:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2019-02-19 17:26:38 +08:00
|
|
|
"dev": "webpack-dev-server",
|
2019-03-17 23:10:40 +08:00
|
|
|
"build": "rimraf public/app && webpack --mode=production -p",
|
2019-03-17 21:09:46 +08:00
|
|
|
"lint": "eslint --ext=.js,.vue,.ts -f=beauty .",
|
|
|
|
"test": "tsc -p . && jest",
|
2019-03-14 10:34:36 +08:00
|
|
|
"codecov": "codecov -F js"
|
2016-08-28 10:05:21 +08:00
|
|
|
},
|
2018-02-16 15:44:36 +08:00
|
|
|
"dependencies": {
|
2019-03-15 17:39:24 +08:00
|
|
|
"@babel/runtime": "^7.3.4",
|
2019-02-19 11:55:54 +08:00
|
|
|
"@fortawesome/fontawesome-free": "^5.7.2",
|
2019-03-15 17:39:24 +08:00
|
|
|
"admin-lte": "^2.4.10",
|
2019-03-19 19:16:03 +08:00
|
|
|
"echarts": "^4.1.0",
|
2018-02-16 15:44:36 +08:00
|
|
|
"icheck": "^1.0.2",
|
2018-02-23 11:28:08 +08:00
|
|
|
"jquery": "^3.3.1",
|
2018-08-21 10:18:20 +08:00
|
|
|
"skinview3d": "^1.1.0",
|
2019-03-15 17:39:24 +08:00
|
|
|
"sweetalert2": "^8.4.0",
|
2018-07-25 15:32:08 +08:00
|
|
|
"toastr": "^2.1.4",
|
2019-03-15 17:39:24 +08:00
|
|
|
"vue": "^2.6.9",
|
|
|
|
"vue-good-table": "^2.16.3",
|
2019-03-24 09:58:37 +08:00
|
|
|
"vue-recaptcha": "^1.1.1",
|
2019-02-19 11:55:54 +08:00
|
|
|
"vue-upload-component": "^2.8.19",
|
|
|
|
"vuejs-paginate": "^2.1.0"
|
2017-12-24 10:54:00 +08:00
|
|
|
},
|
2016-07-21 22:01:57 +08:00
|
|
|
"devDependencies": {
|
2019-03-15 17:39:24 +08:00
|
|
|
"@babel/core": "^7.3.4",
|
2019-02-19 11:55:54 +08:00
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
2019-03-15 17:39:24 +08:00
|
|
|
"@babel/plugin-transform-runtime": "^7.3.4",
|
|
|
|
"@babel/preset-env": "^7.3.4",
|
2019-03-17 21:09:46 +08:00
|
|
|
"@babel/preset-typescript": "^7.3.3",
|
|
|
|
"@gplane/tsconfig": "^1.0.0",
|
2019-03-19 19:16:03 +08:00
|
|
|
"@types/echarts": "^4.1.7",
|
2019-03-15 17:39:24 +08:00
|
|
|
"@types/jest": "^24.0.11",
|
2018-09-24 09:31:26 +08:00
|
|
|
"@types/jquery": "^3.3.9",
|
2019-03-17 21:09:46 +08:00
|
|
|
"@types/toastr": "^2.1.36",
|
2019-03-17 23:10:40 +08:00
|
|
|
"@types/webpack": "^4.4.25",
|
2019-03-17 21:09:46 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^1.4.2",
|
|
|
|
"@typescript-eslint/parser": "^1.4.2",
|
2019-02-19 16:37:29 +08:00
|
|
|
"@vue/test-utils": "^1.0.0-beta.29",
|
2019-03-15 17:39:24 +08:00
|
|
|
"autoprefixer": "^9.5.0",
|
2019-02-19 11:55:54 +08:00
|
|
|
"babel-eslint": "^10.0.1",
|
2019-03-15 17:39:24 +08:00
|
|
|
"babel-jest": "^24.5.0",
|
2019-02-19 11:55:54 +08:00
|
|
|
"babel-loader": "^8.0.5",
|
|
|
|
"babel-plugin-dynamic-import-node": "^2.2.0",
|
|
|
|
"cache-loader": "^2.0.1",
|
2018-09-24 09:31:26 +08:00
|
|
|
"codecov": "^3.1.0",
|
2019-03-15 17:39:24 +08:00
|
|
|
"copy-webpack-plugin": "^5.0.1",
|
2019-02-19 11:55:54 +08:00
|
|
|
"css-loader": "^2.1.0",
|
|
|
|
"cssnano": "^4.1.10",
|
2018-08-04 10:22:16 +08:00
|
|
|
"csso-loader": "^0.3.1",
|
2019-02-19 11:55:54 +08:00
|
|
|
"eslint": "^5.14.0",
|
2019-03-15 11:42:41 +08:00
|
|
|
"eslint-config-gplane": "^5.1.3",
|
2018-09-08 11:56:00 +08:00
|
|
|
"eslint-formatter-beauty": "^3.0.0",
|
2019-03-17 10:21:18 +08:00
|
|
|
"eslint-plugin-project": "^0.2.2",
|
2019-02-19 18:17:40 +08:00
|
|
|
"eslint-plugin-vue": "^5.2.2",
|
2019-03-17 23:10:40 +08:00
|
|
|
"expose-loader": "^0.7.5",
|
2019-02-19 11:55:54 +08:00
|
|
|
"file-loader": "^3.0.1",
|
2019-03-15 17:39:24 +08:00
|
|
|
"jest": "^24.5.0",
|
2019-02-19 11:55:54 +08:00
|
|
|
"jest-extended": "^0.11.1",
|
2018-07-29 18:56:07 +08:00
|
|
|
"json-loader": "^0.5.7",
|
2019-02-19 11:55:54 +08:00
|
|
|
"mini-css-extract-plugin": "^0.5.0",
|
2018-09-24 09:31:26 +08:00
|
|
|
"postcss-loader": "^3.0.0",
|
2019-02-19 11:55:54 +08:00
|
|
|
"rimraf": "^2.6.3",
|
|
|
|
"style-loader": "^0.23.1",
|
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-03-17 21:09:46 +08:00
|
|
|
"typescript": "^3.3.3333",
|
2019-02-19 11:55:54 +08:00
|
|
|
"url-loader": "^1.1.2",
|
2019-02-19 16:37:29 +08:00
|
|
|
"vue-jest": "^4.0.0-beta.2",
|
2019-03-15 17:39:24 +08:00
|
|
|
"vue-loader": "^15.7.0",
|
|
|
|
"vue-template-compiler": "^2.6.9",
|
|
|
|
"webpack": "^4.29.6",
|
2019-02-19 17:26:38 +08:00
|
|
|
"webpack-cli": "^3.2.3",
|
2019-03-15 17:39:24 +08:00
|
|
|
"webpack-dev-server": "^3.2.1",
|
2019-02-19 11:55:54 +08:00
|
|
|
"webpackbar": "^3.1.5",
|
2018-07-29 15:31:54 +08:00
|
|
|
"yaml-loader": "^0.5.0"
|
2017-06-30 12:13:45 +08:00
|
|
|
},
|
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",
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 2018,
|
|
|
|
"sourceType": "module",
|
|
|
|
"parser": "babel-eslint"
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"node": true,
|
|
|
|
"es6": true,
|
|
|
|
"jquery": true
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"blessing": "readonly"
|
|
|
|
},
|
2019-03-17 10:21:18 +08:00
|
|
|
"plugins": [
|
|
|
|
"project"
|
|
|
|
],
|
|
|
|
"settings": {
|
|
|
|
"projectRulesDir": "resources/assets/eslint-rules"
|
|
|
|
},
|
2019-03-15 11:42:41 +08:00
|
|
|
"rules": {
|
|
|
|
"camelcase": [
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"properties": "never",
|
|
|
|
"ignoreDestructuring": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"max-len": [
|
|
|
|
2,
|
|
|
|
120
|
|
|
|
],
|
|
|
|
"prefer-object-spread": 0,
|
2019-03-17 10:21:18 +08:00
|
|
|
"import/no-unresolved": 0,
|
|
|
|
"project/linebreak-between-tests": 2
|
2019-03-17 21:09:46 +08:00
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"*.ts"
|
|
|
|
],
|
|
|
|
"parserOptions": {
|
|
|
|
"parser": "@typescript-eslint/parser"
|
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"no-undef": 0,
|
|
|
|
"no-unused-vars": 0,
|
2019-03-17 23:39:48 +08:00
|
|
|
"no-invalid-this": 0,
|
|
|
|
"indent": 0,
|
2019-03-19 19:16:03 +08:00
|
|
|
"@typescript-eslint/indent": [
|
|
|
|
2,
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"SwitchCase": 1
|
|
|
|
}
|
|
|
|
]
|
2019-03-17 21:09:46 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2019-03-15 11:42:41 +08:00
|
|
|
},
|
2018-02-16 15:44:36 +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": [
|
|
|
|
"<rootDir>/resources/assets/tests/setup.js"
|
|
|
|
],
|
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
|
|
|
}
|
|
|
|
}
|