Created
June 18, 2019 10:18
-
-
Save fabysdev/500aee6de013adf1b044a696ac4546cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "landing", | |
"private": true, | |
"license": "UNLICENSED", | |
"dependencies": { | |
"@types/jest": "^24.0.14", | |
"@types/node": "^12.0.8", | |
"@types/react": "^16.8.20", | |
"@types/react-dom": "^16.8.4", | |
"@typescript-eslint/parser": "^1.10.2", | |
"@typescript-eslint/typescript-estree": "^1.10.2", | |
"husky": "^2.4.1", | |
"lint-staged": "^8.2.1", | |
"node-sass": "^4.12.0", | |
"npm-run-all": "^4.1.5", | |
"postcss-normalize": "^8.0.1", | |
"prettier": "^1.18.2", | |
"prettier-tslint": "^0.4.2", | |
"react": "^16.8.6", | |
"react-dom": "^16.8.6", | |
"react-scripts": "^3.0.1", | |
"react-snap": "^1.23.0", | |
"replace-in-file": "^4.1.0", | |
"tslint": "^5.17.0", | |
"tslint-config-prettier": "^1.18.0", | |
"tslint-plugin-prettier": "^2.0.1", | |
"tslint-react": "^4.0.0", | |
"typescript": "^3.5.2" | |
}, | |
"scripts": { | |
"postbuild": "react-snap", | |
"remove-ifdev": "node ci/remove-ifdev.js", | |
"start": "react-scripts start", | |
"build:js": "react-scripts build", | |
"build": "npm-run-all remove-ifdev build:js", | |
"test": "CI=true react-scripts test", | |
"lint": "tslint $(find ./src/ -type f -name '*.ts*')" | |
}, | |
"eslintConfig": { | |
"extends": "react-app" | |
}, | |
"husky": { | |
"hooks": { | |
"pre-commit": "lint-staged" | |
} | |
}, | |
"lint-staged": { | |
"*.{ts,tsx}": [ | |
"prettier --write", | |
"tslint --fix", | |
"git add" | |
], | |
"*.{scss}": [ | |
"prettier --write", | |
"git add" | |
] | |
}, | |
"browserslist": { | |
"production": [ | |
">0.2%", | |
"not dead", | |
"not op_mini all" | |
], | |
"development": [ | |
"last 1 chrome version", | |
"last 1 firefox version", | |
"last 1 safari version" | |
] | |
}, | |
"reactSnap": { | |
"puppeteer": { | |
"cache": false | |
}, | |
"puppeteerArgs": [ | |
"--no-sandbox", | |
"--disable-setuid-sandbox" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment