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-05-07 17:04:45 +08:00
|
|
|
"build": "rimraf public/app && webpack --mode=production -p && ts-node scripts/commitish.ts",
|
2019-03-17 21:09:46 +08:00
|
|
|
"lint": "eslint --ext=.js,.vue,.ts -f=beauty .",
|
2019-09-15 14:46:21 +08:00
|
|
|
"test": "jest",
|
2019-05-07 17:04:45 +08:00
|
|
|
"new-version": "ts-node scripts/version.ts",
|
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-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-03-15 17:39:24 +08:00
|
|
|
"admin-lte": "^2.4.10",
|
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"
|
2017-12-24 10:54:00 +08:00
|
|
|
},
|
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-05-07 17:04:45 +08:00
|
|
|
"@types/execa": "^0.9.0",
|
|
|
|
"@types/fs-extra": "^5.1.0",
|
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",
|
2019-05-07 17:04:45 +08:00
|
|
|
"@types/semver": "^6.0.0",
|
2019-09-20 20:12:59 +08:00
|
|
|
"@types/webpack": "^4.39.1",
|
2019-05-03 09:49:48 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^1.7.0",
|
2019-04-27 14:12:02 +08:00
|
|
|
"@typescript-eslint/parser": "^1.7.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-eslint": "^10.0.3",
|
|
|
|
"babel-jest": "^24.9.0",
|
2019-09-20 20:12:59 +08:00
|
|
|
"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",
|
2019-09-20 20:12:59 +08:00
|
|
|
"cache-loader": "^4.1.0",
|
2019-11-20 17:48:24 +08:00
|
|
|
"codecov": "^3.6.1",
|
|
|
|
"copy-webpack-plugin": "^5.0.5",
|
2019-09-20 20:12:59 +08:00
|
|
|
"css-loader": "^3.2.0",
|
2019-03-30 15:21:14 +08:00
|
|
|
"eslint": "^5.16.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-02-19 18:17:40 +08:00
|
|
|
"eslint-plugin-vue": "^5.2.2",
|
2019-09-20 20:12:59 +08:00
|
|
|
"execa": "^2.0.4",
|
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-09-20 20:12:59 +08:00
|
|
|
"fs-extra": "^8.1.0",
|
2019-11-20 17:48:24 +08:00
|
|
|
"jest": "^24.9.0",
|
|
|
|
"jest-extended": "^0.11.2",
|
2019-09-20 20:12:59 +08:00
|
|
|
"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-02-19 11:55:54 +08:00
|
|
|
"rimraf": "^2.6.3",
|
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",
|
2019-09-20 20:12:59 +08:00
|
|
|
"semver": "^6.3.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
|
|
|
"ts-node": "^8.5.2",
|
|
|
|
"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",
|
2019-09-20 20:12:59 +08:00
|
|
|
"webpackbar": "^4.0.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"
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"camelcase": [
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"properties": "never",
|
|
|
|
"ignoreDestructuring": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"max-len": [
|
|
|
|
2,
|
|
|
|
120
|
|
|
|
],
|
2019-05-07 17:04:45 +08:00
|
|
|
"prefer-destructuring": 0,
|
2019-03-15 11:42:41 +08:00
|
|
|
"prefer-object-spread": 0,
|
2019-04-27 14:12:02 +08:00
|
|
|
"import/no-unresolved": 0
|
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,
|
2019-07-08 12:41:03 +08:00
|
|
|
"no-extra-parens": 0,
|
2019-03-17 23:39:48 +08:00
|
|
|
"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
|
|
|
}
|
|
|
|
}
|