2020-04-07 12:54:48 +08:00
|
|
|
{
|
|
|
|
"name": "blessing-skin-server",
|
2020-04-08 08:55:18 +08:00
|
|
|
"version": "5.0.0-beta.8",
|
2020-04-07 12:54:48 +08:00
|
|
|
"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 --progress",
|
2020-05-15 11:31:30 +08:00
|
|
|
"lint": "eslint --ext=ts -f=beauty .",
|
2020-05-16 22:05:16 +08:00
|
|
|
"fmt": "prettier --write 'resources/assets/**/*.{ts,tsx}'",
|
2020-04-07 12:54:48 +08:00
|
|
|
"test": "jest"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-05-16 21:56:08 +08:00
|
|
|
"@emotion/core": "^10.0.28",
|
|
|
|
"@emotion/styled": "^10.0.27",
|
2020-04-07 12:54:48 +08:00
|
|
|
"@fortawesome/fontawesome-free": "^5.12.0",
|
|
|
|
"@hot-loader/react-dom": "^16.11.0",
|
|
|
|
"@tweenjs/tween.js": "^18.4.2",
|
|
|
|
"admin-lte": "^3.0.1",
|
|
|
|
"blessing-skin-shell": "^0.3.1",
|
|
|
|
"cli-spinners": "^2.2.0",
|
|
|
|
"commander": "^5.0.0",
|
|
|
|
"echarts": "^4.6.0",
|
|
|
|
"enquirer": "^2.3.4",
|
|
|
|
"immer": "^6.0.2",
|
|
|
|
"jquery": "^3.4.1",
|
|
|
|
"lodash.debounce": "^4.0.8",
|
|
|
|
"nanoid": "^2.1.11",
|
|
|
|
"react": "^16.12.0",
|
|
|
|
"react-dom": "^16.12.0",
|
|
|
|
"react-draggable": "^4.2.0",
|
|
|
|
"react-hot-loader": "^4.12.18",
|
|
|
|
"reaptcha": "^1.7.2",
|
|
|
|
"rxjs": "^6.5.3",
|
|
|
|
"skinview-utils": "^0.2.1",
|
|
|
|
"skinview3d": "^1.2.1",
|
|
|
|
"spectre.css": "^0.5.8",
|
|
|
|
"use-immer": "^0.3.5",
|
|
|
|
"xterm": "^4.4.0",
|
|
|
|
"xterm-addon-fit": "^0.3.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@gplane/tsconfig": "^1.0.0",
|
|
|
|
"@testing-library/jest-dom": "^5.3.0",
|
|
|
|
"@testing-library/react": "^10.0.1",
|
|
|
|
"@types/bootstrap": "^4.3.1",
|
|
|
|
"@types/echarts": "^4.4.2",
|
|
|
|
"@types/jest": "^25.1.4",
|
|
|
|
"@types/jquery": "^3.3.29",
|
|
|
|
"@types/js-yaml": "^3.12.2",
|
|
|
|
"@types/lodash.debounce": "^4.0.6",
|
|
|
|
"@types/nanoid": "^2.1.0",
|
|
|
|
"@types/react": "^16.9.17",
|
|
|
|
"@types/react-dom": "^16.9.4",
|
|
|
|
"@types/tween.js": "^17.2.0",
|
|
|
|
"@types/webpack": "^4.41.2",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^2.8.0",
|
|
|
|
"@typescript-eslint/parser": "^2.8.0",
|
|
|
|
"autoprefixer": "^9.7.3",
|
|
|
|
"css-loader": "^3.4.2",
|
|
|
|
"eslint": "^6.7.1",
|
|
|
|
"eslint-config-gplane": "^6.2.1",
|
|
|
|
"eslint-formatter-beauty": "^3.0.0",
|
|
|
|
"file-loader": "^5.0.2",
|
|
|
|
"jest": "^25.2.3",
|
|
|
|
"jest-extended": "^0.11.5",
|
|
|
|
"js-yaml": "^3.13.1",
|
|
|
|
"mini-css-extract-plugin": "^0.9.0",
|
|
|
|
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
|
|
|
"postcss-loader": "^3.0.0",
|
|
|
|
"prettier": "^2.0.1",
|
|
|
|
"sass": "^1.25.0",
|
|
|
|
"sass-loader": "^8.0.2",
|
|
|
|
"style-loader": "^1.1.2",
|
|
|
|
"stylus": "^0.54.7",
|
|
|
|
"stylus-loader": "^3.0.2",
|
|
|
|
"ts-jest": "^25.2.1",
|
2020-05-13 09:23:17 +08:00
|
|
|
"ts-loader": "^7.0.4",
|
|
|
|
"typescript": "^3.9.2",
|
2020-04-07 12:54:48 +08:00
|
|
|
"url-loader": "^3.0.0",
|
|
|
|
"webpack": "^4.41.2",
|
|
|
|
"webpack-cli": "^3.3.10",
|
|
|
|
"webpack-dev-server": "^3.10.1",
|
|
|
|
"webpack-manifest-plugin": "^2.2.0"
|
|
|
|
},
|
|
|
|
"resolutions": {
|
|
|
|
"caniuse-lite": "*",
|
|
|
|
"@types/testing-library__dom": "^7.0.0"
|
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
"> 1%",
|
|
|
|
"not dead",
|
|
|
|
"not ie 11",
|
|
|
|
"Chrome > 52"
|
|
|
|
],
|
|
|
|
"prettier": {
|
|
|
|
"printWidth": 80,
|
|
|
|
"semi": false,
|
|
|
|
"singleQuote": true,
|
|
|
|
"trailingComma": "all",
|
|
|
|
"tabWidth": 2
|
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"root": true,
|
|
|
|
"extends": [
|
2020-05-15 11:31:30 +08:00
|
|
|
"gplane"
|
2020-04-07 12:54:48 +08:00
|
|
|
],
|
|
|
|
"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",
|
2020-05-15 11:31:30 +08:00
|
|
|
"gplane/typescript"
|
2020-04-07 12:54:48 +08:00
|
|
|
],
|
|
|
|
"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
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"preset": "ts-jest",
|
|
|
|
"resetMocks": true,
|
|
|
|
"timers": "fake",
|
|
|
|
"transform": {
|
2020-05-15 11:31:30 +08:00
|
|
|
".*\\.tsx?$": "ts-jest"
|
2020-04-07 12:54:48 +08:00
|
|
|
},
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"json",
|
|
|
|
"node"
|
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"\\.(s?css|styl)$": "<rootDir>/resources/assets/tests/__mocks__/style.ts",
|
2020-05-01 08:25:02 +08:00
|
|
|
"\\.(png|jpg)$": "<rootDir>/resources/assets/tests/__mocks__/file.ts",
|
|
|
|
"^@/(.*)$": "<rootDir>/resources/assets/src/$1"
|
2020-04-07 12:54:48 +08:00
|
|
|
},
|
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"<rootDir>/resources/assets/tests/setup.ts"
|
|
|
|
],
|
|
|
|
"coveragePathIgnorePatterns": [
|
|
|
|
"/node_modules/",
|
2020-05-16 22:05:16 +08:00
|
|
|
"<rootDir>/resources/assets/styles",
|
2020-04-07 12:54:48 +08:00
|
|
|
"<rootDir>/resources/assets/tests/setup",
|
|
|
|
"<rootDir>/resources/assets/tests/utils",
|
|
|
|
"<rootDir>/resources/assets/tests/scripts/cli/stdio"
|
|
|
|
],
|
|
|
|
"testMatch": [
|
|
|
|
"<rootDir>/resources/assets/tests/**/*.test.ts",
|
|
|
|
"<rootDir>/resources/assets/tests/**/*.test.tsx"
|
|
|
|
],
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"/node_modules/",
|
|
|
|
"<rootDir>/resources/assets/tests/(views|components)/.*\\.ts$"
|
|
|
|
],
|
|
|
|
"globals": {
|
|
|
|
"ts-jest": {
|
|
|
|
"tsConfig": "<rootDir>/resources/assets/tests/tsconfig.json",
|
|
|
|
"isolatedModules": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|