2020-06-01 15:42:30 +02:00
|
|
|
{
|
2020-06-24 16:20:30 +02:00
|
|
|
"name": "matrix.to",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"private": true,
|
|
|
|
"dependencies": {
|
|
|
|
"@testing-library/jest-dom": "^4.2.4",
|
|
|
|
"@testing-library/react": "^9.3.2",
|
|
|
|
"@testing-library/user-event": "^7.1.2",
|
|
|
|
"@types/jest": "^24.0.0",
|
|
|
|
"@types/node": "^12.0.0",
|
|
|
|
"@types/react": "^16.9.0",
|
|
|
|
"@types/react-dom": "^16.9.0",
|
|
|
|
"eslint-config-matrix-org": "^0.1.0",
|
|
|
|
"react": "^16.13.1",
|
|
|
|
"react-dom": "^16.13.1",
|
|
|
|
"react-scripts": "3.4.1",
|
|
|
|
"typescript": "~3.7.2"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"start": "react-scripts start",
|
|
|
|
"build": "react-scripts build",
|
|
|
|
"test": "react-scripts test",
|
|
|
|
"eject": "react-scripts eject",
|
|
|
|
"lint:fix": "eslint src/**/*.ts src/**/*.tsx --fix"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"src/**/*.{js,jsx,ts,tsx}": [
|
|
|
|
"eslint",
|
2020-06-24 17:20:56 +02:00
|
|
|
"prettier --write --tab-width 4",
|
2020-06-24 16:20:30 +02:00
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"src/**/*.{json,css,scss,md}": [
|
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"husky": "^4.2.5",
|
|
|
|
"lint-staged": "^10.2.7",
|
|
|
|
"node-sass": "^4.14.1",
|
|
|
|
"prettier": "^2.0.5"
|
2020-06-01 15:42:30 +02:00
|
|
|
}
|
|
|
|
}
|