|
|
@@ -0,0 +1,153 @@
|
|
|
+{
|
|
|
+ "name": "shougang-wms-mini",
|
|
|
+ "version": "1.0.0",
|
|
|
+ "private": true,
|
|
|
+ "description": "首钢收发货小程序",
|
|
|
+ "templateInfo": {
|
|
|
+ "name": "react-NutUI",
|
|
|
+ "typescript": false,
|
|
|
+ "css": "none"
|
|
|
+ },
|
|
|
+ "scripts": {
|
|
|
+ "build": "taro build --type weapp",
|
|
|
+ "dev": "taro build --type weapp --watch",
|
|
|
+ "lint:style": "stylelint src *.*.css",
|
|
|
+ "lint:js": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
|
+ "lint:style-fix": "pnpm run lint:style --fix",
|
|
|
+ "lint:js-fix": "pnpm run lint:script --fix",
|
|
|
+ "prettier": "prettier -c --write **/*",
|
|
|
+ "prepare": "husky install",
|
|
|
+ "postinstall": "husky install weapp-tw patch",
|
|
|
+ "pre-commit": "lint-staged",
|
|
|
+ "commit": "cz"
|
|
|
+ },
|
|
|
+ "config": {
|
|
|
+ "commitizen": {
|
|
|
+ "path": "./node_modules/cz-conventional-changelog",
|
|
|
+ "types": {
|
|
|
+ "feat": {
|
|
|
+ "description": "A new feature",
|
|
|
+ "title": "Features"
|
|
|
+ },
|
|
|
+ "fix": {
|
|
|
+ "description": "A bug fix",
|
|
|
+ "title": "Bug Fixes"
|
|
|
+ },
|
|
|
+ "update": {
|
|
|
+ "description": "Modify src files",
|
|
|
+ "title": "Updates"
|
|
|
+ },
|
|
|
+ "chore": {
|
|
|
+ "description": "Other changes that don't modify src or test files",
|
|
|
+ "title": "Chores"
|
|
|
+ },
|
|
|
+ "test": {
|
|
|
+ "description": "Adding missing tests or correcting existing tests",
|
|
|
+ "title": "Tests"
|
|
|
+ },
|
|
|
+ "style": {
|
|
|
+ "description": "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)",
|
|
|
+ "title": "Styles"
|
|
|
+ },
|
|
|
+ "refactor": {
|
|
|
+ "description": "A code change that neither fixes a bug nor adds a feature",
|
|
|
+ "title": "Code Refactoring"
|
|
|
+ },
|
|
|
+ "perf": {
|
|
|
+ "description": "A code change that improves performance",
|
|
|
+ "title": "Performance Improvements"
|
|
|
+ },
|
|
|
+ "revert": {
|
|
|
+ "description": "Reverts a previous commit",
|
|
|
+ "title": "Reverts"
|
|
|
+ },
|
|
|
+ "merge": {
|
|
|
+ "description": "Merge branch",
|
|
|
+ "title": "Merges"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "lint-staged": {
|
|
|
+ "**/*/*.css": [
|
|
|
+ "stylelint",
|
|
|
+ "prettier --write"
|
|
|
+ ],
|
|
|
+ "**/*/*.{js,jsx,ts,tsx}": [
|
|
|
+ "eslint",
|
|
|
+ "prettier --write"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "browserslist": [
|
|
|
+ "last 3 versions",
|
|
|
+ "Android >= 4.1",
|
|
|
+ "ios >= 8"
|
|
|
+ ],
|
|
|
+ "author": "",
|
|
|
+ "license": "MIT",
|
|
|
+ "dependencies": {
|
|
|
+ "@babel/runtime": "^7.21.0",
|
|
|
+ "@nutui/nutui-react-taro": "^1.5.0",
|
|
|
+ "@tanstack/react-query": "^4.29.3",
|
|
|
+ "@tarojs/components": "3.6.5",
|
|
|
+ "@tarojs/helper": "3.6.5",
|
|
|
+ "@tarojs/plugin-framework-react": "3.6.5",
|
|
|
+ "@tarojs/plugin-html": "3.6.5",
|
|
|
+ "@tarojs/plugin-platform-alipay": "3.6.5",
|
|
|
+ "@tarojs/plugin-platform-h5": "3.6.5",
|
|
|
+ "@tarojs/plugin-platform-jd": "3.6.5",
|
|
|
+ "@tarojs/plugin-platform-qq": "3.6.5",
|
|
|
+ "@tarojs/plugin-platform-swan": "3.6.5",
|
|
|
+ "@tarojs/plugin-platform-tt": "3.6.5",
|
|
|
+ "@tarojs/plugin-platform-weapp": "3.6.5",
|
|
|
+ "@tarojs/react": "3.6.5",
|
|
|
+ "@tarojs/runtime": "3.6.5",
|
|
|
+ "@tarojs/shared": "3.6.5",
|
|
|
+ "@tarojs/taro": "3.6.5",
|
|
|
+ "ahooks": "^3.7.6",
|
|
|
+ "react": "^18.2.0",
|
|
|
+ "react-dom": "^18.2.0",
|
|
|
+ "react-error-boundary": "^4.0.3",
|
|
|
+ "react-refresh": "^0.11.0",
|
|
|
+ "tailwindcss": "^3.3.1",
|
|
|
+ "zustand": "^4.3.7"
|
|
|
+ },
|
|
|
+ "devDependencies": {
|
|
|
+ "@babel/core": "^7.21.4",
|
|
|
+ "@commitlint/cli": "^17.6.1",
|
|
|
+ "@commitlint/config-conventional": "^17.6.1",
|
|
|
+ "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
|
|
|
+ "@tarojs/cli": "3.6.5",
|
|
|
+ "@tarojs/webpack5-runner": "3.6.5",
|
|
|
+ "@types/react": "^18.0.35",
|
|
|
+ "@types/react-dom": "^18.0.11",
|
|
|
+ "@types/react-router-dom": "^5.3.3",
|
|
|
+ "@types/react-syntax-highlighter": "^13.5.2",
|
|
|
+ "@types/react-test-renderer": "^18.0.0",
|
|
|
+ "@types/react-transition-group": "^4.4.5",
|
|
|
+ "@types/webpack-env": "^1.18.0",
|
|
|
+ "@typescript-eslint/eslint-plugin": "^5.58.0",
|
|
|
+ "@typescript-eslint/parser": "^5.58.0",
|
|
|
+ "autoprefixer": "^10.4.14",
|
|
|
+ "babel-plugin-import": "^1.13.6",
|
|
|
+ "babel-preset-taro": "3.6.5",
|
|
|
+ "cz-conventional-changelog": "^3.3.0",
|
|
|
+ "eslint": "^8.38.0",
|
|
|
+ "eslint-config-prettier": "^8.8.0",
|
|
|
+ "eslint-config-proste": "^5.1.0",
|
|
|
+ "eslint-plugin-import": "^2.27.5",
|
|
|
+ "eslint-plugin-react": "^7.32.2",
|
|
|
+ "eslint-plugin-react-hooks": "^4.6.0",
|
|
|
+ "husky": "^8.0.3",
|
|
|
+ "lint-staged": "^13.2.1",
|
|
|
+ "postcss": "^8.4.22",
|
|
|
+ "postcss-nesting": "^11.2.2",
|
|
|
+ "prettier": "^2.8.7",
|
|
|
+ "style-loader": "1.3.0",
|
|
|
+ "stylelint": "^15.5.0",
|
|
|
+ "stylelint-config-recess-order": "^4.0.0",
|
|
|
+ "stylelint-config-standard": "^33.0.0",
|
|
|
+ "weapp-tailwindcss-webpack-plugin": "^2.1.1",
|
|
|
+ "webpack": "^5.79.0"
|
|
|
+ }
|
|
|
+}
|