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 .",
|
|
|
|
"test": "tsc -p . && 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-05-03 09:49:48 +08:00
|
|
|
"@babel/runtime": "^7.4.4",
|
2019-02-19 11:55:54 +08:00
|
|
|
"@fortawesome/fontawesome-free": "^5.7.2",
|
2019-03-26 09:44:04 +08:00
|
|
|
"@tweenjs/tween.js": "^17.3.0",
|
2019-03-15 17:39:24 +08:00
|
|
|
"admin-lte": "^2.4.10",
|
2019-05-03 09:49:48 +08:00
|
|
|
"echarts": "^4.2.1",
|
|
|
|
"element-theme-chalk": "^2.8.2",
|
|
|
|
"element-ui": "^2.8.2",
|
|
|
|
"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-05-03 09:49:48 +08:00
|
|
|
"vue-good-table": "^2.16.4",
|
2019-03-24 09:58:37 +08:00
|
|
|
"vue-recaptcha": "^1.1.1",
|
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-05-03 09:49:48 +08:00
|
|
|
"@babel/core": "^7.4.4",
|
2019-03-25 22:01:57 +08:00
|
|
|
"@babel/plugin-proposal-optional-catch-binding": "^7.2.0",
|
2019-02-19 11:55:54 +08:00
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
2019-05-03 09:49:48 +08:00
|
|
|
"@babel/plugin-transform-runtime": "^7.4.4",
|
|
|
|
"@babel/preset-env": "^7.4.4",
|
2019-03-17 21:09:46 +08:00
|
|
|
"@babel/preset-typescript": "^7.3.3",
|
|
|
|
"@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-05-03 09:49:48 +08:00
|
|
|
"@types/jest": "^24.0.12",
|
|
|
|
"@types/jquery": "^3.3.29",
|
2019-05-07 17:04:45 +08:00
|
|
|
"@types/semver": "^6.0.0",
|
2019-05-03 09:49:48 +08:00
|
|
|
"@types/webpack": "^4.4.29",
|
|
|
|
"@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-05-03 09:49:48 +08:00
|
|
|
"autoprefixer": "^9.5.1",
|
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",
|
2019-05-07 23:56:25 +08:00
|
|
|
"babel-plugin-import": "^1.11.0",
|
2019-02-19 11:55:54 +08:00
|
|
|
"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",
|
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-05-07 17:04:45 +08:00
|
|
|
"execa": "^1.0.0",
|
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-05-07 17:04:45 +08:00
|
|
|
"fs-extra": "^7.0.1",
|
2019-05-03 09:49:48 +08:00
|
|
|
"jest": "^24.7.1",
|
2019-02-19 11:55:54 +08:00
|
|
|
"jest-extended": "^0.11.1",
|
2019-05-03 09:49:48 +08:00
|
|
|
"mini-css-extract-plugin": "^0.6.0",
|
|
|
|
"node-sass": "^4.12.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",
|
2019-03-25 22:01:57 +08:00
|
|
|
"sass-loader": "^7.1.0",
|
2019-04-20 16:02:05 +08:00
|
|
|
"semver": "^6.0.0",
|
2019-02-19 11:55:54 +08:00
|
|
|
"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-05-07 17:04:45 +08:00
|
|
|
"ts-node": "^8.1.0",
|
2019-03-30 15:21:14 +08:00
|
|
|
"typescript": "^3.4.1",
|
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",
|
2019-03-30 15:21:14 +08:00
|
|
|
"vue-template-compiler": "^2.6.10",
|
2019-05-03 09:49:48 +08:00
|
|
|
"webpack": "^4.30.0",
|
|
|
|
"webpack-cli": "^3.3.1",
|
|
|
|
"webpack-dev-server": "^3.3.1",
|
2019-03-31 13:12:56 +08:00
|
|
|
"webpack-manifest-plugin": "^2.0.4",
|
2019-09-07 17:18:58 +08:00
|
|
|
"webpackbar": "^3.1.5"
|
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
|
|
|
}
|
|
|
|
}
|