|
| 1 | +{ |
| 2 | + "name": "vant-react", |
| 3 | + "version": "1.0.0", |
| 4 | + "description": "Lightweight Mobile UI Components built in React & Typescript, inspired by Vant: https://youzan.github.io/vant", |
| 5 | + "author": "mxdi9i7", |
| 6 | + "license": "MIT", |
| 7 | + "repository": "mxdi9i7/vant-react", |
| 8 | + "main": "dist/index.js", |
| 9 | + "module": "dist/index.modern.js", |
| 10 | + "source": "src/index.tsx", |
| 11 | + "engines": { |
| 12 | + "node": ">=10" |
| 13 | + }, |
| 14 | + "scripts": { |
| 15 | + "build": "microbundle-crl --no-compress --format modern,cjs", |
| 16 | + "start": "microbundle-crl watch --no-compress --format modern,cjs", |
| 17 | + "prepublish": "run-s build", |
| 18 | + "test": "run-s test:unit test:lint test:build", |
| 19 | + "test:build": "run-s build", |
| 20 | + "test:lint": "eslint .", |
| 21 | + "test:unit": "cross-env CI=1 react-scripts test --env=jsdom", |
| 22 | + "test:watch": "react-scripts test --env=jsdom", |
| 23 | + "predeploy": "cd example && yarn install && yarn run build", |
| 24 | + "deploy": "gh-pages -d example/build", |
| 25 | + "lint": "eslint --ext .tsx ./src", |
| 26 | + "lint:watch": "esw --watch --fix --ext .tsx ./src --no-ignore", |
| 27 | + "storybook": "start-storybook -p 9009", |
| 28 | + "build-storybook": "build-storybook" |
| 29 | + }, |
| 30 | + "peerDependencies": { |
| 31 | + "react": "^16.0.0" |
| 32 | + }, |
| 33 | + "devDependencies": { |
| 34 | + "@storybook/addon-actions": "^5.3.18", |
| 35 | + "@storybook/addon-links": "^5.3.18", |
| 36 | + "@storybook/addons": "^5.3.18", |
| 37 | + "@storybook/preset-create-react-app": "^3.0.0", |
| 38 | + "@storybook/react": "^5.3.18", |
| 39 | + "@types/jest": "^25.1.4", |
| 40 | + "@types/react": "^16.9.27", |
| 41 | + "@typescript-eslint/eslint-plugin": "^2.26.0", |
| 42 | + "@typescript-eslint/parser": "^2.26.0", |
| 43 | + "babel-eslint": "^10.0.3", |
| 44 | + "cross-env": "^7.0.2", |
| 45 | + "eslint": "^6.8.0", |
| 46 | + "eslint-config-prettier": "^6.7.0", |
| 47 | + "eslint-config-standard": "^14.1.0", |
| 48 | + "eslint-config-standard-react": "^9.2.0", |
| 49 | + "eslint-plugin-import": "^2.18.2", |
| 50 | + "eslint-plugin-node": "^11.0.0", |
| 51 | + "eslint-plugin-prettier": "^3.1.1", |
| 52 | + "eslint-plugin-promise": "^4.2.1", |
| 53 | + "eslint-plugin-react": "^7.17.0", |
| 54 | + "eslint-plugin-standard": "^4.0.1", |
| 55 | + "eslint-watch": "^6.0.1", |
| 56 | + "gh-pages": "^2.2.0", |
| 57 | + "husky": "^4.2.3", |
| 58 | + "microbundle-crl": "^0.13.10", |
| 59 | + "npm-run-all": "^4.1.5", |
| 60 | + "prettier": "^2.0.4", |
| 61 | + "react": "^16.13.1", |
| 62 | + "react-dom": "^16.13.1", |
| 63 | + "react-scripts": "^3.4.1", |
| 64 | + "serve": "^11.3.0" |
| 65 | + }, |
| 66 | + "files": [ |
| 67 | + "dist" |
| 68 | + ], |
| 69 | + "eslintConfig": { |
| 70 | + "extends": "react-app" |
| 71 | + }, |
| 72 | + "husky": { |
| 73 | + "hooks": { |
| 74 | + "pre-commit": "npm run lint", |
| 75 | + "pre-push": "npm run lint" |
| 76 | + } |
| 77 | + }, |
| 78 | + "browserslist": { |
| 79 | + "production": [ |
| 80 | + ">0.2%", |
| 81 | + "not dead", |
| 82 | + "not op_mini all" |
| 83 | + ], |
| 84 | + "development": [ |
| 85 | + "last 1 chrome version", |
| 86 | + "last 1 firefox version", |
| 87 | + "last 1 safari version" |
| 88 | + ] |
| 89 | + }, |
| 90 | + "dependencies": {} |
| 91 | +} |
0 commit comments