cra-template-pi
Version:
A quick start Create React App with many auto implemented features
188 lines (187 loc) • 5.59 kB
JSON
{
"name": "cra-template-pi",
"version": "2.16.0",
"license": "MIT",
"author": "Cristian Boza cristian.boza@pitechnologies.ro",
"engines": {
"node": ">=10"
},
"main": "template.json",
"description": "A quick start Create React App with many auto implemented features",
"keywords": [
"react",
"typescript",
"create-react-app",
"cra-template",
"cypress",
"eslint",
"redux",
"react-redux",
"react-router",
"react-intl",
"react-router-dom",
"redux-toolkit",
"recoil",
"template",
"prettier",
"tailwind",
"materialUI",
"final-form",
"react-hook-form"
],
"files": [
"template",
"template.json"
],
"repository": {
"type": "git",
"url": "https://gitlab.pitechplus.com/frontend/cra-template-pi",
"directory": "/"
},
"bugs": {
"url": "https://gitlab.pitechplus.com/frontend/cra-template-pi"
},
"dependencies": {
"@craco/craco": "^6.1.2",
"@material-ui/core": "^4.11.3",
"@reduxjs/toolkit": "^1.4.0",
"@types/node": "^12.12.67",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-redux": "^7.1.9",
"@types/react-router-dom": "^5.1.6",
"final-form": "^4.20.2",
"global-fetch": "^0.2.2",
"js-yaml": "^4.0.0",
"node-sass": "^4.14.1",
"prettier": "^2.1.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-final-form": "^6.5.3",
"react-hook-form": "6.15.5",
"react-intl": "^5.8.6",
"react-redux": "^7.2.1",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"recoil": "^0.1.3",
"redux": "^4.0.5",
"typescript": "^4.1.2"
},
"scripts": {
"start": "craco start",
"build": "craco build",
"test": "craco test --verbose",
"start-ci": "npx http-server -p 3000 build > ./server.log",
"test-ci": "craco test --verbose --watchAll=false --env=jsdom",
"cy:open": "cypress open",
"test:e2e": "cypress run",
"test:e2e:ci": "cypress run --headless --config video=false --spec \"$(./cypress/bin/ci_cypress_calculate_specs_to_run_gitlab.sh)\"",
"test:coverage": "craco test --updateSnapshot --watchAll=false --env=jsdom --coverage",
"test:mutation": "stryker run",
"eject": "react-scripts eject",
"lint": "eslint --ext .js,.jsx,.ts,.tsx ./src ./cypress/integration",
"lint:fix": "eslint --max-warnings 0 --ext .js,.jsx,.ts,.tsx --fix ./src ./cypress/integration",
"lint:fix:staged": "eslint --fix $(git diff --name-only --diff-filter=d --cached | grep -E \"(.js$|.jsx$|.ts$|.tsx$)\")",
"audit": "node node_modules/better-npm-audit audit -l moderate -i 1693,1603,1700",
"format": "prettier --write src/**/*.{ts,tsx}",
"commit": "npx git-cz",
"prepublishOnly": "./bin/publish.sh clean && ./bin/publish.sh copy",
"postpublish": "./bin/publish.sh clean",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public"
},
"eslintConfig": {
"extends": "react-app"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && npm run lint:fix:staged"
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"tag": "latest",
"access": "public"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@semantic-release/changelog": "5.0.1",
"@semantic-release/git": "9.0.0",
"@semantic-release/gitlab": "^6.0.4",
"@storybook/addon-actions": "6.3.4",
"@storybook/addon-essentials": "^6.3.4",
"@storybook/addon-links": "6.3.4",
"@storybook/node-logger": "6.3.4",
"@storybook/preset-create-react-app": "3.2.0",
"@storybook/react": "^6.3.4",
"@stryker-mutator/core": "^4.5.1",
"@stryker-mutator/jest-runner": "^4.5.1",
"@stryker-mutator/typescript": "^4.0.0",
"@tailwindcss/forms": "^0.3.2",
"@tailwindcss/postcss7-compat": "^2.1.2",
"@testing-library/cypress": "^7.0.6",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^13.0.3",
"@types/jest": "^26.0.21",
"@types/redux-mock-store": "^1.0.2",
"autoprefixer": "^9.8.6",
"better-npm-audit": "^1.5.0",
"chalk": "^4.1.0",
"clear": "^0.1.0",
"codecov": "3.7.2",
"commitizen": "^4.2.4",
"cypress": "^7.3.0",
"cz-conventional-changelog": "3.2.1",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-cypress": "^2.11.2",
"eslint-plugin-only-warn": "^1.0.2",
"eslint-plugin-prettier": "^3.3.1",
"figlet": "^1.5.0",
"husky": "^2.7.0",
"inquirer": "^8.0.0",
"mutationobserver-shim": "^0.3.7",
"postcss": "^7.0.35",
"pretty-error": "^3.0.3",
"pretty-quick": "^3.1.0",
"redux-devtools-extension": "^2.13.8",
"redux-mock-store": "^1.5.4",
"rimraf": "^3.0.2",
"semantic-release": "^17.4.2",
"tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.0.3"
},
"subsets": {
"build": {
"exclude": [
"cypress",
"@stryker-mutator/core",
"@stryker-mutator/jest-runner",
"@stryker-mutator/typescript",
"@types/jest",
"prettier"
]
},
"test-simple": {
"exclude": [
"cypress"
]
}
}
}