blessing-skin-server/package.json

222 lines
5.7 KiB
JSON
Raw Normal View History

2020-04-07 12:54:48 +08:00
{
"name": "blessing-skin-server",
2020-05-22 09:30:05 +08:00
"version": "5.0.0-beta.9",
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-20 10:11:38 +08:00
"fmt": "prettier --write resources/assets",
2020-05-30 10:44:36 +08:00
"test": "jest",
"build:urls": "ts-node -P tsconfig.node.json scripts/generateUrls.ts"
2020-04-07 12:54:48 +08:00
},
"dependencies": {
2020-05-16 21:56:08 +08:00
"@emotion/core": "^10.0.28",
"@emotion/styled": "^10.0.27",
2020-05-19 09:33:41 +08:00
"@hot-loader/react-dom": "^16.13.0",
"@tweenjs/tween.js": "^18.5.0",
2020-04-07 12:54:48 +08:00
"blessing-skin-shell": "^0.3.1",
2020-05-19 09:33:41 +08:00
"cli-spinners": "^2.3.0",
"commander": "^5.1.0",
"echarts": "^4.7.0",
"enquirer": "^2.3.5",
"immer": "^6.0.5",
2020-04-07 12:54:48 +08:00
"jquery": "^3.4.1",
"lodash.debounce": "^4.0.8",
2020-05-19 09:33:41 +08:00
"nanoid": "^3.1.9",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-draggable": "^4.4.2",
"react-hot-loader": "^4.12.21",
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-04-07 12:54:48 +08:00
"skinview-utils": "^0.2.1",
"skinview3d": "^1.2.1",
"spectre.css": "^0.5.8",
2020-05-19 09:33:41 +08:00
"use-immer": "^0.4.0",
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",
"@testing-library/jest-dom": "^5.7.0-beta.1",
"@testing-library/react": "^10.0.4",
"@types/bootstrap": "^4.3.3",
"@types/echarts": "^4.6.0",
"@types/jest": "^25.2.3",
"@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-05-19 09:33:41 +08:00
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.8",
"@types/tween.js": "^18.5.0",
"@types/webpack": "^4.41.13",
2020-04-07 12:54:48 +08:00
"@typescript-eslint/eslint-plugin": "^2.8.0",
"@typescript-eslint/parser": "^2.8.0",
2020-05-19 09:33:41 +08:00
"autoprefixer": "^9.8.0",
2020-05-18 16:40:31 +08:00
"bootstrap": "^4.5.0",
2020-05-19 09:33:41 +08:00
"css-loader": "^3.5.3",
2020-05-18 16:40:31 +08:00
"cssnano": "^4.1.10",
2020-04-07 12:54:48 +08:00
"eslint": "^6.7.1",
2020-05-19 09:33:41 +08:00
"eslint-config-gplane": "^6.2.2",
2020-04-07 12:54:48 +08:00
"eslint-formatter-beauty": "^3.0.0",
2020-05-19 09:33:41 +08:00
"file-loader": "^6.0.0",
"jest": "^26.0.1",
2020-04-07 12:54:48 +08:00
"jest-extended": "^0.11.5",
"js-yaml": "^3.13.1",
"mini-css-extract-plugin": "^0.9.0",
"postcss-loader": "^3.0.0",
2020-05-19 09:33:41 +08:00
"prettier": "^2.0.5",
"style-loader": "^1.2.1",
"ts-jest": "^26.0.0",
2020-05-13 09:23:17 +08:00
"ts-loader": "^7.0.4",
2020-05-30 10:44:36 +08:00
"ts-node": "^8.10.2",
2020-05-13 09:23:17 +08:00
"typescript": "^3.9.2",
2020-05-19 09:33:41 +08:00
"url-loader": "^4.1.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.11.0",
2020-04-07 12:54:48 +08:00
"webpack-manifest-plugin": "^2.2.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,
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",
"\\.(png|webp)$": "<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-19 09:33:41 +08:00
"<rootDir>/resources/assets/src/styles",
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": {
"tsConfig": "<rootDir>/resources/assets/tests/tsconfig.json",
"isolatedModules": true
}
}
}
}