diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e165c0d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +sudo: false +language: node_js +before_install: + - curl -o- -L https://yarnpkg.com/install.sh | bash + - export PATH=$HOME/.yarn/bin:$PATH +jobs: + include: + - stage: "Tests" + name: "Unit Test" + script: yarn unitTest + - stage: "Compilation stage" + name: "Compilation Test" + script: yarn compile +node_js: + - "10" diff --git a/README.md b/README.md index 6b9bb7b..d37fca2 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,15 @@ -# CoConat - React Apps Builder +# CoConat - React Apps Builder [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=You%20will%20never%20know%20how%20everything%20work%20but%20you%20should%20understand%20the%20system&url=https://medium.com/@svyat770/lets-kill-create-react-app-452cb55f77d3&via=svyat770&hashtags=react,webpack,babel,webdevelopment,developers) ### Make custom React app development easly as never before! +[![Price](https://img.shields.io/badge/price-FREE-0098f7.svg)](https://github.com/BiosBoy/coconat/blob/master/LICENSE) +[![License: MIT](https://img.shields.io/badge/license-MIT-yellow.svg)](https://github.com/BiosBoy/coconat/blob/master/LICENSE) +[![GitHub package version](https://img.shields.io/badge/version-1.8.1-red.svg)](https://github.com/BiosBoy/coconat) +[![Build Status](https://travis-ci.org/BiosBoy/coconat.svg?branch=master)](https://travis-ci.org/BiosBoy/coconat) + +Check CocoNat StartKit Builder [Official Documentation Tutorial](https://medium.com/@svyat770/lets-kill-create-react-app-452cb55f77d3) on Medium. + ![logo_image](https://raw.githubusercontent.com/BiosBoy/coconat/master/LOGO_COCONAT.jpg) This **Webpack4 + React16 Templater** is created from the point of view to solve developer day-to-day problems with app suits boilerplate creation. It has all what we need to start React app creation with rocket speed without worring about, like: diff --git a/package.json b/package.json index 11ea606..f656a21 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,8 @@ "scripts": { "start:dev": "better-npm-run start:dev", "start:prod": "better-npm-run start:prod", - "test": "better-npm-run test", + "start:test": "better-npm-run test", + "unitTest": "jest --config jest.config.js", "clean": "rimraf dist", "push": "npm run lint && git push", "compile": "better-npm-run compile", @@ -69,7 +70,7 @@ "DEBUG": "app:*" } }, - "test": { + "start:test": { "command": "node server/server", "env": { "NODE_ENV": "test",