UNPKG

@ozo/react-rock

Version:

React 移动端开发脚手架,基于CRA3,通用、开箱即用。

152 lines (151 loc) 4.99 kB
{ "name": "@ozo/react-rock", "version": "1.1.4", "homepage": "https://inier.github.io/react-rock", "author": { "name": "jazz.KK", "email": "inier@qq.com" }, "description": "React 移动端开发脚手架,基于CRA3,通用、开箱即用。", "scripts": { "predeploy": "npm run build", "deploy": "gh-pages -d build", "start": "env-cmd -e development react-app-rewired start", "build": "env-cmd -e production react-app-rewired build", "debug": "env-cmd -e production,debug react-app-rewired build", "test": "env-cmd -e test react-app-rewired test", "test:debug": "env-cmd -e test react-app-rewired --inspect-brk test --runInBand --no-cache", "eject": "react-scripts eject", "envcmd:start": "env-cmd -e development node .env-cmd-test.js", "envcmd:build": "env-cmd -e production node .env-cmd-test.js", "envcmd:debug": "env-cmd -e production,debug node .env-cmd-test.js", "envcmdTest": "npm-run-all envcmd:*", "lint": "npm run eslint && npm run stylelint", "lint:fix": "npm run eslint:fix && npm run stylelint:fix", "eslint": "eslint src/**/*.{js,jsx,ts,tsx} --format table", "eslint:fix": "eslint src/**/*.{js,jsx,ts,tsx} --format table --fix", "stylelint": "stylelint src/**/*.{css,less,sass,scss} --cache", "stylelint:fix": "stylelint src/**/*.{css,less,sass,scss} --cache --fix", "prettier": "prettier --write src/**/*.{js,jsx,ts,tsx,css,sass,scss,less,json,md,mdx}", "mdlint": "lint-md **/*.{md,markdown}", "mdlint:fix": "lint-md **/*.{md,markdown} --fix", "version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", "autoFormat": "onchange src/**/*.js src/**/*.jsx src/**/*.scss -- prettier --write {{changed}}", "analyze": "react-app-rewired build && source-map-explorer build/static/js/main.*" }, "jest": { "moduleNameMapper": { "^@/(.*)$": "<rootDir>/src/$1", "^@theme/(.*)$": "@alifd/theme-toxic/$1" } }, "dependencies": { "@alifd/theme-toxic": "^0.1.2", "@material-ui/core": "^4.11.0", "@ozo/lazy-loader": "^1.0.4", "classnames": "^2.2.6", "isomorphic-fetch": "^2.2.1", "lodash-es": "^4.17.15", "mobx": "^5.15.4", "mobx-react": "^6.1.8", "moment": "^2.24.0", "prop-types": "^15.7.2", "react": "^16.13.1", "react-app-polyfill": "^1.0.6", "react-dom": "^16.13.1", "react-router-dom": "^5.1.2", "react-transition-group": "^4.3.0", "shortid": "^2.2.15" }, "devDependencies": { "@babel/plugin-proposal-decorators": "^7.8.3", "@commitlint/cli": "^8.3.5", "@commitlint/config-conventional": "^8.3.4", "@ice/spec": "^1.0.1", "@ozo/cra-rewired": "^1.0.6", "@ozo/mixins-sass": "^1.1.7", "@testing-library/jest-dom": "^5.11.1", "@testing-library/react": "^10.4.7", "@testing-library/react-hooks": "^3.3.0", "@testing-library/user-event": "^7.1.2", "assert": "^2.0.0", "babel-jest": "^26.2.2", "babel-plugin-import": "^1.13.0", "body-parser": "^1.19.0", "chalk": "^3.0.0", "compression": "^1.7.4", "conventional-changelog": "^3.1.18", "core-js": "^3.6.4", "css-mqpacker": "^7.0.0", "customize-cra": "^1.0.0", "env-cmd": "^10.1.0", "eslint": "^6.8.0", "eslint-config-prettier": "^6.10.1", "eslint-config-react-app": "^5.2.1", "eslint-plugin-flowtype": "^3.13.0", "eslint-plugin-prettier": "^3.1.2", "eslint-plugin-react-hooks": "^1.7.0", "express-useragent": "^1.0.13", "gh-pages": "^3.1.0", "http-proxy-middleware": "^1.0.3", "husky": "^4.2.3", "lint-md": "^0.2.0", "lint-md-cli": "^0.1.2", "lint-staged": "^10.0.9", "node-sass": "^4.13.1", "npm-run-all": "^4.1.5", "onchange": "^6.1.0", "postcss-px2rem": "^0.3.0", "prettier": "^2.0.2", "react-app-rewired": "^2.1.6", "react-scripts": "^3.4.1", "react-test-renderer": "^16.13.1", "source-map-explorer": "^2.4.1", "stylelint": "^13.2.1", "webpack-bundle-analyzer": "3.6.1" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "husky": { "hooks": { "pre-commit": "echo 'Pre-commit checks......' && lint-staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "keywords": [ "ice-scaffold" ], "publishConfig": { "access": "public" }, "buildConfig": { "theme": { "alifd": "@alifd/theme-toxic" } }, "scaffoldConfig": { "builder": "react-scripts", "name": "react-app", "title": "react-app基础模板", "categories": [ "基础模板" ], "screenshot": "https://unpkg.com/@ozo/react-rock@latest/screenshot.png" }, "repository": { "type": "git", "url": "https://github.com/inier/react-rock.git" }, "title": "react-app基础模板", "license": "MIT" }