2020-04-07 12:54:48 +08:00
|
|
|
{
|
|
|
|
"name": "blessing-skin-server",
|
2022-06-19 16:01:46 +08:00
|
|
|
"version": "6.0.1",
|
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": {
|
2020-11-06 15:37:45 +08:00
|
|
|
"dev": "webpack serve",
|
|
|
|
"build": "webpack --env production --progress",
|
2020-05-15 11:31:30 +08:00
|
|
|
"lint": "eslint --ext=ts -f=beauty .",
|
2020-11-06 15:37:45 +08:00
|
|
|
"fmt": "prettier --write resources/assets tools webpack.config.ts",
|
|
|
|
"fmt:check": "prettier --check resources/assets tools webpack.config.ts",
|
2022-02-03 18:00:08 +08:00
|
|
|
"type:check": "tsc -p . --noEmit && tsc -p ./resources/assets/tests --noEmit",
|
2020-05-30 10:44:36 +08:00
|
|
|
"test": "jest",
|
2022-02-12 17:37:16 +08:00
|
|
|
"build:urls": "ts-node tools/generateUrls.ts",
|
|
|
|
"prepare": "husky install"
|
2020-04-07 12:54:48 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-01-02 16:38:18 +08:00
|
|
|
"@emotion/react": "^11.0.0",
|
|
|
|
"@emotion/styled": "^11.0.0",
|
2020-10-26 11:22:44 +08:00
|
|
|
"@hot-loader/react-dom": "^17.0.0",
|
2020-05-19 09:33:41 +08:00
|
|
|
"@tweenjs/tween.js": "^18.5.0",
|
2022-02-16 17:57:01 +08:00
|
|
|
"admin-lte": "^3.2.0",
|
2020-11-06 15:37:45 +08:00
|
|
|
"blessing-skin-shell": "^0.3.4",
|
2022-02-16 17:57:01 +08:00
|
|
|
"bootstrap": "^4.6.1",
|
2020-11-06 15:37:45 +08:00
|
|
|
"cac": "^6.6.1",
|
|
|
|
"cli-spinners": "^2.5.0",
|
2022-06-23 14:00:47 +08:00
|
|
|
"clsx": "^1.1.1",
|
2021-08-22 12:04:13 +08:00
|
|
|
"echarts": "^5.1.2",
|
2020-11-06 15:37:45 +08:00
|
|
|
"events": "^3.2.0",
|
2020-06-24 16:00:05 +08:00
|
|
|
"immer": "^7.0.4",
|
2022-02-16 17:57:01 +08:00
|
|
|
"jquery": "^3.6.0",
|
2020-04-07 12:54:48 +08:00
|
|
|
"lodash.debounce": "^4.0.8",
|
2020-05-19 09:33:41 +08:00
|
|
|
"nanoid": "^3.1.9",
|
2020-11-06 15:37:45 +08:00
|
|
|
"prompts": "^2.4.0",
|
2020-10-26 11:22:44 +08:00
|
|
|
"react": "^17.0.1",
|
2020-06-22 16:16:09 +08:00
|
|
|
"react-autosuggest": "^10.0.2",
|
2020-10-26 11:22:44 +08:00
|
|
|
"react-dom": "^17.0.1",
|
2020-05-19 09:33:41 +08:00
|
|
|
"react-draggable": "^4.4.2",
|
|
|
|
"react-hot-loader": "^4.12.21",
|
2020-07-03 19:10:45 +08:00
|
|
|
"react-loading-skeleton": "^2.1.1",
|
2020-04-07 12:54:48 +08:00
|
|
|
"reaptcha": "^1.7.2",
|
2020-05-19 09:33:41 +08:00
|
|
|
"rxjs": "^6.5.5",
|
2020-06-24 16:00:05 +08:00
|
|
|
"skinview-utils": "^0.5.5",
|
2022-02-05 15:02:58 +08:00
|
|
|
"skinview3d": "^2.2.1",
|
2020-04-07 12:54:48 +08:00
|
|
|
"spectre.css": "^0.5.8",
|
2021-01-02 16:12:59 +08:00
|
|
|
"use-immer": "^0.4.2",
|
2020-05-19 17:02:54 +08:00
|
|
|
"workbox-expiration": "^5.1.3",
|
|
|
|
"workbox-routing": "^5.1.3",
|
|
|
|
"workbox-strategies": "^5.1.3",
|
2020-05-19 09:33:41 +08:00
|
|
|
"xterm": "^4.6.0",
|
|
|
|
"xterm-addon-fit": "^0.4.0"
|
2020-04-07 12:54:48 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-06-05 17:10:41 +08:00
|
|
|
"@gplane/tsconfig": "^4.2.0",
|
2021-04-03 09:04:19 +08:00
|
|
|
"@testing-library/jest-dom": "^5.11.10",
|
|
|
|
"@testing-library/react": "^11.2.6",
|
2020-05-19 09:33:41 +08:00
|
|
|
"@types/bootstrap": "^4.3.3",
|
2020-11-04 11:34:36 +08:00
|
|
|
"@types/css-minimizer-webpack-plugin": "^1.1.0",
|
2021-06-05 17:10:41 +08:00
|
|
|
"@types/jest": "^26.0.23",
|
2022-02-16 17:57:01 +08:00
|
|
|
"@types/jquery": "^3.5.13",
|
2020-05-19 09:33:41 +08:00
|
|
|
"@types/js-yaml": "^3.12.4",
|
2020-04-07 12:54:48 +08:00
|
|
|
"@types/lodash.debounce": "^4.0.6",
|
2020-11-06 15:37:45 +08:00
|
|
|
"@types/mini-css-extract-plugin": "^1.2.1",
|
|
|
|
"@types/prompts": "^2.0.9",
|
2020-05-19 09:33:41 +08:00
|
|
|
"@types/react": "^16.9.35",
|
2020-06-22 16:16:09 +08:00
|
|
|
"@types/react-autosuggest": "^9.3.14",
|
2020-05-19 09:33:41 +08:00
|
|
|
"@types/react-dom": "^16.9.8",
|
|
|
|
"@types/tween.js": "^18.5.0",
|
2020-07-03 16:30:46 +08:00
|
|
|
"@types/webpack-dev-server": "^3.11.0",
|
2020-07-13 11:25:40 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^3.6.0",
|
|
|
|
"@typescript-eslint/parser": "^3.6.0",
|
2021-06-05 16:14:39 +08:00
|
|
|
"autoprefixer": "^10.2.6",
|
|
|
|
"css-loader": "^5.2.6",
|
|
|
|
"css-minimizer-webpack-plugin": "^3.0.1",
|
2020-07-13 11:25:40 +08:00
|
|
|
"eslint": "^7.4.0",
|
2020-04-07 12:54:48 +08:00
|
|
|
"eslint-formatter-beauty": "^3.0.0",
|
2022-02-13 12:09:08 +08:00
|
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
2021-06-05 16:14:39 +08:00
|
|
|
"html-webpack-plugin": "^5.3.1",
|
2022-02-12 17:37:16 +08:00
|
|
|
"husky": "^7.0.4",
|
2021-06-05 17:10:41 +08:00
|
|
|
"jest": "^27.0.4",
|
2020-04-07 12:54:48 +08:00
|
|
|
"jest-extended": "^0.11.5",
|
|
|
|
"js-yaml": "^3.13.1",
|
2021-06-05 16:14:39 +08:00
|
|
|
"mini-css-extract-plugin": "^1.6.0",
|
|
|
|
"postcss": "^8.3.0",
|
|
|
|
"postcss-loader": "^5.3.0",
|
2021-06-05 17:11:42 +08:00
|
|
|
"prettier": "^2.3.0",
|
2022-02-12 17:37:16 +08:00
|
|
|
"pretty-quick": "^3.1.3",
|
2020-11-04 14:31:32 +08:00
|
|
|
"style-loader": "^2.0.0",
|
2021-06-05 17:10:41 +08:00
|
|
|
"ts-jest": "^27.0.2",
|
2021-06-05 16:14:39 +08:00
|
|
|
"ts-loader": "^9.2.2",
|
2021-06-05 17:10:41 +08:00
|
|
|
"ts-node": "^10.0.0",
|
|
|
|
"typescript": "^4.3.2",
|
2021-06-05 16:14:39 +08:00
|
|
|
"webpack": "^5.38.1",
|
|
|
|
"webpack-cli": "^4.7.0",
|
2021-01-30 12:54:14 +08:00
|
|
|
"webpack-dev-server": "^3.11.2"
|
2020-04-07 12:54:48 +08:00
|
|
|
},
|
2020-11-06 15:37:45 +08:00
|
|
|
"resolutions": {
|
|
|
|
"kleur": "^4.1.3"
|
|
|
|
},
|
2020-04-07 12:54:48 +08:00
|
|
|
"browserslist": [
|
|
|
|
"> 1%",
|
|
|
|
"not dead",
|
|
|
|
"not ie 11",
|
|
|
|
"Chrome > 52"
|
|
|
|
],
|
|
|
|
"prettier": {
|
|
|
|
"printWidth": 80,
|
|
|
|
"semi": false,
|
|
|
|
"singleQuote": true,
|
|
|
|
"trailingComma": "all",
|
|
|
|
"tabWidth": 2
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"preset": "ts-jest",
|
|
|
|
"resetMocks": true,
|
2021-06-05 17:10:41 +08:00
|
|
|
"testEnvironment": "jsdom",
|
2020-04-07 12:54:48 +08:00
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"json",
|
|
|
|
"node"
|
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
2020-05-18 16:40:31 +08:00
|
|
|
"\\.css$": "<rootDir>/resources/assets/tests/__mocks__/style.ts",
|
2020-05-30 11:35:24 +08:00
|
|
|
"\\.(png|webp)$": "<rootDir>/resources/assets/tests/__mocks__/file.ts",
|
2020-05-01 08:25:02 +08:00
|
|
|
"^@/(.*)$": "<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-19 09:33:41 +08:00
|
|
|
"<rootDir>/resources/assets/src/styles",
|
2020-06-11 19:27:15 +08:00
|
|
|
"<rootDir>/resources/assets/src/scripts/extra.ts",
|
2020-05-30 11:16:49 +08:00
|
|
|
"<rootDir>/resources/assets/src/scripts/urls.ts",
|
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$"
|
|
|
|
],
|
2022-06-23 15:00:38 +08:00
|
|
|
"maxWorkers": "50%",
|
2020-04-07 12:54:48 +08:00
|
|
|
"globals": {
|
|
|
|
"ts-jest": {
|
2020-10-25 17:35:27 +08:00
|
|
|
"tsconfig": "<rootDir>/resources/assets/tests/tsconfig.json",
|
2020-04-07 12:54:48 +08:00
|
|
|
"isolatedModules": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|