Skip to content

Instantly share code, notes, and snippets.

@luismayta
Created September 11, 2020 17:06
Show Gist options
  • Save luismayta/18135d347c4941b1091fe3b3a95e2e7a to your computer and use it in GitHub Desktop.
Save luismayta/18135d347c4941b1091fe3b3a95e2e7a to your computer and use it in GitHub Desktop.

Revisions

  1. luismayta created this gist Sep 11, 2020.
    216 changes: 216 additions & 0 deletions package.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,216 @@
    {
    "keywords": [],
    "version": "0.5.0",
    "name": "equipindustry-core-front",
    "description": "core-front project",
    "bugs": {
    "url": "https://github.com/equipindustry/core-front/issues"
    },
    "private": true,
    "stylintrc": ".stylintrc",
    "dependencies": {
    "@apollo/react-hooks": "^3.1.5",
    "@react-pdf/renderer": "^2.0.0-beta.6",
    "@sentry/browser": "^5.15.5",
    "@sentry/node": "^5.15.5",
    "@zeit/next-css": "^1.0.1",
    "@zeit/next-less": "^1.0.1",
    "@zeit/next-sass": "^1.0.1",
    "@zeit/next-typescript": "^1.1.1",
    "amazon-cognito-identity-js": "^4.3.0",
    "antd": "^4.4.2",
    "apollo-boost": "^0.4.9",
    "apollo-client": "^2.6.10",
    "apollo-link-context": "^1.0.20",
    "apollo-link-schema": "^1.2.5",
    "babel-plugin-react-intl": "^7.5.14",
    "classnames": "^2.2.6",
    "cors": "^2.8.5",
    "dotenv": "^8.2.0",
    "dotenv-webpack": "^1.8.0",
    "express": "^4.17.1",
    "formik": "^2.1.4",
    "formik-antd": "^2.0.1",
    "graphql": "^15.0.0",
    "graphql-tag": "^2.10.3",
    "intl-messageformat-parser": "^6.0.0",
    "less": "^3.11.3",
    "less-loader": "<=5.0.0",
    "less-vars-to-js": "^1.3.0",
    "next": "^9.5.2",
    "next-aws-lambda": "<=2.4.1",
    "next-images": "^1.4.0",
    "next-redux-wrapper": "^6.0.2",
    "next-with-apollo": "^5.0.1",
    "nextjs-fonts": "^0.22.0",
    "node-sass": "^4.14.0",
    "nookies": "^2.2.3",
    "query-string": "^6.12.1",
    "react": "^16.13.1",
    "react-dom": "^16.13.1",
    "react-ga": "^3.1.2",
    "react-intl": "^5.6.9",
    "react-intl-po": "^2.2.2",
    "react-multi-carousel": "^2.5.5",
    "react-quill": "^1.3.5",
    "react-redux": "^7.2.0",
    "react-schemaorg": "^1.0.2",
    "redux": "^4.0.5",
    "schema-dts": "^0.6.0",
    "serverless": "^1.74.1",
    "shortid": "^2.2.15",
    "ua-parser-js": "^0.7.21",
    "use-query-params": "^1.1.3",
    "yup": "^0.29.1"
    },
    "engines": {
    "node": ">=12"
    },
    "publishConfig": {
    "access": "private"
    },
    "devDependencies": {
    "@apollo/react-components": "^3.1.5",
    "@apollo/react-hoc": "^3.1.5",
    "@commitlint/cli": "^9.1.1",
    "@commitlint/config-conventional": "^9.1.1",
    "@equipindustry/eslint-config": "^0.3.4",
    "@equipindustry/prettierrc": "^0.2.0",
    "@equipindustry/tsconfig": "^0.1.0",
    "@graphql-codegen/cli": "^1.15.1",
    "@graphql-codegen/introspection": "^1.15.1",
    "@graphql-codegen/near-operation-file-preset": "^1.15.1",
    "@graphql-codegen/typescript": "^1.15.1",
    "@graphql-codegen/typescript-operations": "^1.15.1",
    "@graphql-codegen/typescript-react-apollo": "^1.15.1",
    "@serverless/core": "^1.1.2",
    "@serverless/template": "^1.1.3",
    "@testing-library/jest-dom": "^5.8.0",
    "@types/classnames": "^2.2.10",
    "@types/cors": "^2.8.6",
    "@types/dotenv": "^8.2.0",
    "@types/enzyme": "^3.10.5",
    "@types/enzyme-adapter-react-16": "^1.0.6",
    "@types/express": "^4.17.6",
    "@types/faker": "^4.1.12",
    "@types/jest": "^25.2.3",
    "@types/json-schema": "^7.0.4",
    "@types/next": "^9.0.0",
    "@types/node": "^14.0.5",
    "@types/react": "^16.9.35",
    "@types/react-redux": "^7.1.9",
    "@types/rosie": "^0.0.37",
    "@types/shortid": "^0.0.29",
    "@types/ua-parser-js": "^0.7.33",
    "@types/webpack": "^4.41.13",
    "@types/yup": "^0.29.0",
    "@typescript-eslint/eslint-plugin": "^3.0.2",
    "@typescript-eslint/parser": "^3.0.2",
    "@zeit/next-source-maps": "0.0.4-canary.1",
    "babel-core": "^6.26.3",
    "babel-eslint": "^10.1.0",
    "babel-jest": "^26.0.1",
    "babel-plugin-import": "^1.13.0",
    "babel-plugin-inline-import": "^3.0.0",
    "babel-plugin-module-resolver": "^4.0.0",
    "babel-plugin-root-import": "^6.5.0",
    "babel-preset-env": "^1.7.0",
    "babel-preset-react": "^6.24.1",
    "enzyme": "^3.11.0",
    "enzyme-adapter-react-16": "^1.15.2",
    "enzyme-to-json": "^3.5.0",
    "eslint": "<=6.8.0",
    "eslint-import-resolver-alias": "^1.1.2",
    "eslint-import-resolver-babel-module": "^5.1.2",
    "eslint-plugin-import": "^2.20.2",
    "eslint-plugin-prettier": "^3.1.3",
    "eslint-plugin-react": "^7.20.0",
    "eslint-plugin-react-hooks": "^4.0.4",
    "faker": "^4.1.0",
    "globby": "^11.0.1",
    "husky": "^4.2.5",
    "identity-obj-proxy": "^3.0.0",
    "jest": "^26.0.1",
    "jest-mock-extended": "^1.0.8",
    "jest-next-dynamic": "^1.0.1",
    "json-schema-faker": "^0.5.0-rcv.24",
    "lint-staged": "^10.2.6",
    "next-compose": "^0.0.2",
    "next-compose-plugins": "^2.2.0",
    "next-offline": "^5.0.2",
    "null-loader": "^4.0.0",
    "prettier": "^2.0.5",
    "pretty-quick": "^2.0.1",
    "redux-devtools-extension": "^2.13.8",
    "rimraf": "^3.0.2",
    "rosie": "^2.0.1",
    "semantic-release": "^17.0.8",
    "serverless-domain-manager": "^4.1.1",
    "serverless-next.js": "<=1.14.0",
    "serverless-offline": "^6.2.0",
    "stylelint": "^13.5.0",
    "stylelint-config-standard": "^20.0.0",
    "ts-jest": "^26.0.0",
    "typescript": "^3.9.7",
    "webpack": "^4.43.0"
    },
    "scripts": {
    "test": "NODE_ENV=local CI=true jest --colors",
    "test:watch": "yarn test --watch",
    "test:coverage": "yarn test --coverage",
    "test:snapshot": "yarn test:coverage --updateSnapshot",
    "test:staged": "yarn test --changedSince HEAD",
    "lint": "eslint -c ./.eslintrc.js ./ --ext .js,.jsx,.mjs,.d.ts,.ts,.tsx",
    "lint:fix": "yarn lint --fix",
    "lint:less": "stylelint --config=.stylintrc --syntax less **/*.less",
    "lint:less:fix": "yarn lint:less --fix",
    "compile": "./node_modules/.bin/tsc -p",
    "build:tool": "yarn clean:build:tool && yarn run compile ./tools/",
    "build": "yarn clean:build && yarn clean:cache && yarn build:tool && next build",
    "build:dev": "NODE_ENV=development yarn build",
    "build:prod": "NODE_ENV=production yarn build",
    "build:static": "yarn build && yarn export",
    "gql:init": "graphql-codegen init",
    "gql:gen:schema": "graphql-codegen -r dotenv/config --config './tools/config/codegen/schema.yml'",
    "gql:gen:api": "graphql-codegen -r dotenv/config --config './tools/config/codegen/api.yml'",
    "gql:gen": "yarn gql:gen:api",
    "gql:gen:watch": "yarn gql:gen --watch",
    "export": "next export",
    "start": "next start -p 8080",
    "start:dev": "yarn clean:build && yarn build:tool && next",
    "dev": "yarn start:dev",
    "deploy": "serverless -vvv",
    "deploy:remove": "serverless remove",
    "deploy:dev": "serverless -vvv --stage=dev",
    "deploy:prod": "serverless -vvv --stage=prod",
    "clean": "rimraf -rf dist .next out .serverless_nextjs",
    "clean:cache": "yarn clean ./node_modules/.cache",
    "clean:build": "yarn clean && yarn clean:build:tool",
    "clean:build:tool": "yarn clean ./build/tools",
    "clean:all": "yarn clean:cache && yarn clean:build && yarn clean node_modules",
    "semantic-release": "semantic-release",
    "prettier:lint": "prettier '**/*.{js?(on),ts?(x),scss,md,y?(a)ml,graphql,less}' --write=false --list-different",
    "prettier:fix": "yarn prettier:lint --write=true",
    "precommit": "lint-staged",
    "extract:messages": "NODE_ENV=production babel ./src --out-file /dev/null",
    "extract:pot": "react-intl-po json2pot 'messages/**/*.json' -o 'output/messages.pot'",
    "extract:po-c": "react-intl-po po2json 'input/*.po' -m 'messages/**/*.json' -o 'output/translation.json'"
    },
    "jest": {
    "setupFilesAfterEnv": [
    "<rootDir>/tests/setup.js"
    ],
    "snaphotSerializers": [
    "enzyme-to-json/serializer"
    ]
    },
    "resolutions": {
    "@types/react": "^16.8.8"
    },
    "husky": {
    "hooks": {
    "pre-commit": "yarn precommit",
    "commit-msg": "commitlint -c .commitlintrc.json -E HUSKY_GIT_PARAMS"
    }
    }
    }