Configure functions from CI

This commit is contained in:
Amit Jakubowicz 2018-09-08 17:09:16 +02:00
parent 4b3aaf0e44
commit b0d0882911
4 changed files with 15 additions and 3 deletions

View File

@ -15,6 +15,6 @@ deploy_staging:
- yarn
- (cd functions; yarn)
- (cd functions; yarn lint)
- (cd webapp; yarn build)
- (yarn global add create-react-app; cd webapp; yarn build)
- firebase use --token $FIREBASE_DEPLOY_KEY_STAGING qpa-staging
- firebase deploy -m "Pipeline $CI_PIPELINE_ID, build $CI_BUILD_ID" --non-interactive --token $FIREBASE_DEPLOY_KEY_STAGING

View File

@ -3,10 +3,12 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@types/styled-components": "^3.0.0",
"axios": "^0.18.0",
"react": "^16.4.2",
"react-dom": "^16.4.2",
"react-scripts-ts": "2.17.0"
"react-scripts-ts": "2.17.0",
"styled-components": "^3.4.5"
},
"scripts": {
"start": "react-scripts-ts start",

View File

@ -26,5 +26,8 @@
"webpack",
"jest",
"src/setupTests.ts"
],
"indlude": [
"node_modules/@types"
]
}

View File

@ -1,10 +1,17 @@
{
"extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"],
"extends": [
"tslint:recommended",
"tslint-react",
"tslint-config-prettier"
],
"linterOptions": {
"exclude": [
"config/**/*.js",
"node_modules/**/*.ts",
"coverage/lcov-report/*.js"
]
},
"rules": {
"member-access": false
}
}