2020-04-07 12:54:48 +08:00
|
|
|
{
|
|
|
|
"name": "blessing-skin-server",
|
2021-02-17 16:04:27 +08:00
|
|
|
"version": "6.0.0-beta.2",
|
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",
|
2020-05-30 10:44:36 +08:00
|
|
|
"test": "jest",
|
2020-10-30 10:11:50 +08:00
|
|
|
"build:urls": "ts-node tools/generateUrls.ts"
|
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",
|
2020-11-06 15:37:45 +08:00
|
|
|
"blessing-skin-shell": "^0.3.4",
|
|
|
|
"cac": "^6.6.1",
|
|
|
|
"cli-spinners": "^2.5.0",
|
2020-05-19 09:33:41 +08:00
|
|
|
"echarts": "^4.7.0",
|
2020-11-06 15:37:45 +08:00
|
|
|
"events": "^3.2.0",
|
2020-06-24 16:00:05 +08:00
|
|
|
"immer": "^7.0.4",
|
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",
|
2020-04-07 12:54:48 +08:00
|
|
|
"skinview3d": "^1.2.1",
|
|
|
|
"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": {
|
2020-05-19 09:33:41 +08:00
|
|
|
"@gplane/tsconfig": "^1.1.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",
|
2020-05-19 09:33:41 +08:00
|
|
|
"@types/echarts": "^4.6.0",
|
2021-02-18 09:39:30 +08:00
|
|
|
"@types/jest": "^26.0.20",
|
2020-05-19 09:33:41 +08:00
|
|
|
"@types/jquery": "^3.3.38",
|
|
|
|
"@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",
|
2020-11-04 11:34:36 +08:00
|
|
|
"autoprefixer": "^10.0.1",
|
2020-05-18 16:40:31 +08:00
|
|
|
"bootstrap": "^4.5.0",
|
2020-11-04 14:31:32 +08:00
|
|
|
"css-loader": "^5.0.0",
|
2020-11-04 11:34:36 +08:00
|
|
|
"css-minimizer-webpack-plugin": "^1.1.5",
|
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",
|
2020-11-04 14:31:32 +08:00
|
|
|
"file-loader": "^6.2.0",
|
2020-11-06 15:37:45 +08:00
|
|
|
"html-webpack-plugin": "next",
|
2021-02-18 09:39:30 +08:00
|
|
|
"jest": "^26.6.3",
|
2020-04-07 12:54:48 +08:00
|
|
|
"jest-extended": "^0.11.5",
|
2020-07-02 11:26:40 +08:00
|
|
|
"jquery": "^3.5.1",
|
2020-04-07 12:54:48 +08:00
|
|
|
"js-yaml": "^3.13.1",
|
2020-11-04 14:31:32 +08:00
|
|
|
"mini-css-extract-plugin": "^1.2.1",
|
2020-11-04 11:34:36 +08:00
|
|
|
"postcss": "^8.1.4",
|
|
|
|
"postcss-loader": "^4.0.4",
|
2020-05-19 09:33:41 +08:00
|
|
|
"prettier": "^2.0.5",
|
2020-11-04 14:31:32 +08:00
|
|
|
"style-loader": "^2.0.0",
|
2021-02-18 09:39:30 +08:00
|
|
|
"ts-jest": "^26.5.1",
|
2020-11-04 14:31:32 +08:00
|
|
|
"ts-loader": "^8.0.8",
|
2020-05-30 10:44:36 +08:00
|
|
|
"ts-node": "^8.10.2",
|
2021-01-02 16:12:59 +08:00
|
|
|
"typescript": "^4.1.3",
|
2020-11-04 14:31:32 +08:00
|
|
|
"url-loader": "^4.1.1",
|
2020-11-06 15:37:45 +08:00
|
|
|
"webpack": "^5.4.0",
|
2021-01-30 12:54:14 +08:00
|
|
|
"webpack-cli": "^4.4.0",
|
|
|
|
"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,
|
2020-05-19 09:33:41 +08:00
|
|
|
"timers": "modern",
|
2020-04-07 12:54:48 +08:00
|
|
|
"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": {
|
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$"
|
|
|
|
],
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|