|
| 1 | +{ |
| 2 | + "name": "modular-react-typescript-boilerplate", |
| 3 | + "version": "0.0.1", |
| 4 | + "private": true, |
| 5 | + "dependencies": { |
| 6 | + "@babel/core": "7.7.2", |
| 7 | + "@types/jest": "24.0.23", |
| 8 | + "@types/node": "12.12.9", |
| 9 | + "@types/react": "16.9.11", |
| 10 | + "@types/react-dom": "16.9.4", |
| 11 | + "@types/react-loader-spinner": "3.1.0", |
| 12 | + "@types/react-router-dom": "5.1.3", |
| 13 | + "@types/styled-components": "4.4.2", |
| 14 | + "env-cmd": "10.0.1", |
| 15 | + "eslint-plugin-import": "2.18.2", |
| 16 | + "eslint-plugin-react": "7.16.0", |
| 17 | + "hoist-non-react-statics": "3.3.1", |
| 18 | + "husky": "3.1.0", |
| 19 | + "i18next": "19.0.1", |
| 20 | + "i18next-xhr-backend": "3.2.2", |
| 21 | + "js-cookie": "2.2.1", |
| 22 | + "lint-staged": "9.4.3", |
| 23 | + "madge": "3.6.0", |
| 24 | + "mobx": "5.15.0", |
| 25 | + "mobx-react": "6.1.4", |
| 26 | + "node-sass": "4.13.0", |
| 27 | + "react": "^16.12.0", |
| 28 | + "react-dom": "^16.12.0", |
| 29 | + "react-helmet": "5.2.1", |
| 30 | + "react-i18next": "11.2.2", |
| 31 | + "react-loader-spinner": "3.1.5", |
| 32 | + "react-router-dom": "5.1.2", |
| 33 | + "react-scripts": "3.2.0", |
| 34 | + "styled-components": "4.4.1", |
| 35 | + "typescript": "3.7.2", |
| 36 | + "yarnhook": "0.4.3" |
| 37 | + }, |
| 38 | + "scripts": { |
| 39 | + "start": "react-scripts start", |
| 40 | + "start:master": "env-cmd -f .env.production yarn start", |
| 41 | + "e2e:start": "E2E=true && --env.API_URL=http://localhost:8000 set \"CI=false\" && react-scripts start", |
| 42 | + "build": "GENERATE_SOURCEMAP=false react-scripts build", |
| 43 | + "build:beta": "set \"CI=false\" && env-cmd -f .env.beta yarn build", |
| 44 | + "build:gamma": "set \"CI=false\" && env-cmd -f .env.gamma yarn build", |
| 45 | + "build:staging": "set \"CI=false\" && env-cmd -f .env.staging yarn build", |
| 46 | + "build:master": "set \"CI=false\" && env-cmd -f .env.production yarn build", |
| 47 | + "test": "IS_JEST=true react-scripts test --silent", |
| 48 | + "test:ci": "yarn test --watchAll=false --silent", |
| 49 | + "eject": "react-scripts eject", |
| 50 | + "lint": "eslint --ignore-path .gitignore --fix --ext .ts,.tsx src/", |
| 51 | + "storybook": "start-storybook -p 9009 -s public", |
| 52 | + "build-storybook": "build-storybook -s public" |
| 53 | + }, |
| 54 | + "engines": { |
| 55 | + "npm": ">=5.6.0", |
| 56 | + "yarn": ">=1.17.3", |
| 57 | + "node": ">=12.6.0" |
| 58 | + }, |
| 59 | + "eslintConfig": { |
| 60 | + "extends": "react-app" |
| 61 | + }, |
| 62 | + "browserslist": { |
| 63 | + "production": [ |
| 64 | + ">0.2%", |
| 65 | + "not dead", |
| 66 | + "not op_mini all" |
| 67 | + ], |
| 68 | + "development": [ |
| 69 | + "last 1 chrome version", |
| 70 | + "last 1 firefox version", |
| 71 | + "last 1 safari version" |
| 72 | + ] |
| 73 | + }, |
| 74 | + "devDependencies": { |
| 75 | + "@babel/core": "7.7.2", |
| 76 | + "@babel/plugin-proposal-decorators": "7.7.0", |
| 77 | + "@babel/plugin-syntax-jsx": "7.2.0", |
| 78 | + "@babel/preset-env": "7.7.1", |
| 79 | + "@storybook/addon-actions": "^5.2.6", |
| 80 | + "@storybook/addon-knobs": "5.2.6", |
| 81 | + "@storybook/addon-links": "^5.2.6", |
| 82 | + "@storybook/addon-notes": "5.2.6", |
| 83 | + "@storybook/addons": "5.2.6", |
| 84 | + "@storybook/preset-create-react-app": "1.3.1", |
| 85 | + "@storybook/react": "^5.2.6", |
| 86 | + "@testing-library/jest-dom": "4.2.4", |
| 87 | + "@testing-library/react": "9.3.2", |
| 88 | + "@types/storybook__react": "4.0.2", |
| 89 | + "@typescript-eslint/eslint-plugin": "2.3.0", |
| 90 | + "@typescript-eslint/parser": "2.8.0", |
| 91 | + "babel-eslint": "10.0.3", |
| 92 | + "cypress": "3.8.0", |
| 93 | + "eslint": "6.4.0", |
| 94 | + "eslint-config-prettier": "6.3.0", |
| 95 | + "eslint-plugin-prettier": "3.1.0", |
| 96 | + "prettier": "1.19.1" |
| 97 | + }, |
| 98 | + "husky": { |
| 99 | + "hooks": { |
| 100 | + "pre-push": "yarn test:ci", |
| 101 | + "pre-commit": "madge --format es6 --circular src/ && lint-staged && tsc --noEmit --skipLibCheck ", |
| 102 | + "post-merge": "yarnhook", |
| 103 | + "post-rewrite": "yarnhook" |
| 104 | + } |
| 105 | + } |
| 106 | +} |
0 commit comments