diff --git a/.travis.yml b/.travis.yml index 8ac5931..11ef428 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,11 +18,13 @@ notifications: jobs: include: - stage: test + script: yarn test if: type IN (push, pull_request) - stage: deploy if: tag IS present deploy: skip_cleanup: true + script: yarn build provider: npm email: lucien.benie@gmail.com api_key: diff --git a/package.json b/package.json index e89e26b..abbba97 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ }, "license": "MIT", "scripts": { + "build": "gulp typescript", "test": "jest --config jest.config.js --colors && stryker run", "test:dev": "cross-env BABEL_ENV=test jest --config jest.config.js --watch", "changelog": "conventional-changelog -i CHANGELOG.md -s", diff --git a/tsconfig.json b/tsconfig.json index a9d28dd..f76eee6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,11 @@ "dom.iterable", "scripthost", ], - "baseUrl": "." + "baseUrl": ".", + "noImplicitAny": true, + "noImplicitThis": true, + "strictNullChecks": true, + "strictFunctionTypes": true }, "include": [ "lib/**/*.ts",