- 修复Dockerfile构建问题,暂时禁用ideal-image插件 - 更新所有配置文件中的registry端口为5003 - 添加.dockerignore文件优化构建性能 - 创建docker-compose.yml文件支持本地部署 - 添加部署脚本scripts/deploy-docker.sh - 更新Gitea Actions工作流,添加Docker部署步骤 - 创建DOCKER_DEPLOYMENT.md部署文档 - 支持通过3001端口提供lingjingwanxiang web portal服务
96 lines
2.5 KiB
JSON
96 lines
2.5 KiB
JSON
{
|
|
"name": "@slorber/react-ideal-image",
|
|
"version": "0.0.12",
|
|
"description": "Adaptive image component",
|
|
"main": "dist/index.js",
|
|
"typings": "index.d.ts",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"engines": {
|
|
"node": ">= 8.9.0",
|
|
"npm": "> 3"
|
|
},
|
|
"scripts": {
|
|
"add-contributor": "kcd-scripts contributors add",
|
|
"build": "kcd-scripts build",
|
|
"lint": "kcd-scripts lint",
|
|
"test": "kcd-scripts test",
|
|
"test:update": "npm test -- --updateSnapshot --coverage",
|
|
"test:ts": "tsc --noEmit -p ./tsconfig.json",
|
|
"validate": "npm run test:ts && kcd-scripts validate",
|
|
"setup": "npm install && npm run validate -s",
|
|
"styleguide": "styleguidist server",
|
|
"styleguide:build": "styleguidist build",
|
|
"predeploy": "styleguidist build",
|
|
"deploy": "gh-pages -d styleguide"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"keywords": [],
|
|
"author": "stereobooster <[email protected]>",
|
|
"license": "MIT",
|
|
"peerDependencies": {
|
|
"prop-types": ">=15",
|
|
"react": ">=0.14.x",
|
|
"react-waypoint": ">=9.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-proposal-class-properties": "^7.7.4",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.7.4",
|
|
"@babel/preset-env": "^7.7.4",
|
|
"@babel/preset-react": "^7.7.4",
|
|
"@types/react": "16.9.13",
|
|
"babel-loader": "^8.0.6",
|
|
"gh-pages": "^2.1.1",
|
|
"jest-canvas-mock": "^2.2.0",
|
|
"kcd-scripts": "^1.11.0",
|
|
"prop-types": "^15.7.2",
|
|
"react": "^16.11.0",
|
|
"react-dom": "^16.11.0",
|
|
"react-styleguidist": "10.2.0",
|
|
"react-test-renderer": "16.11.0",
|
|
"react-testing-library": "8.0.1",
|
|
"react-waypoint": "^9.0.2",
|
|
"typescript": "^3.7.2",
|
|
"webpack": "^4.41.2"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "./node_modules/kcd-scripts/eslint.js",
|
|
"rules": {
|
|
"complexity": [
|
|
"error",
|
|
12
|
|
],
|
|
"no-case-declarations": "off"
|
|
}
|
|
},
|
|
"eslintIgnore": [
|
|
"node_modules",
|
|
"coverage",
|
|
"dist",
|
|
"styleguide"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/slorber/docusaurus-react-ideal-image.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/slorber/docusaurus-react-ideal-image/issues"
|
|
},
|
|
"homepage": "https://github.com/slorber/docusaurus-react-ideal-image#readme",
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|