Skip to content

Commit

Permalink
fix: Add readme, travis build config and license
Browse files Browse the repository at this point in the history
  • Loading branch information
rcdexta committed May 1, 2018
1 parent 89347cb commit 67e778a
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 25 deletions.
17 changes: 7 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
sudo: false
language: node_js
cache:
directories:
- ~/.npm
- node_modules
notifications:
email: false
node_js:
- '6'
before_install:
- npm i -g npm@^3.0.0
- '9'
- '8'
- '7'
before_script:
- npm prune
script:
- npm run test:cover
- npm prune
after_success:
- npm run test:report
- npm run semantic-release
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
- /^v\d+\.\d+\.\d+$/
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Ritesh Kumar
Copyright (c) 2018 RC

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# react-text-effects
# react-toggletip

[![npm version](https://badge.fury.io/js/react-text-effects.svg)](https://badge.fury.io/js/react-text-effects)
[![Build Status](https://travis-ci.org/rcdexta/react-text-effects.svg?branch=master)](https://travis-ci.org/rcdexta/react-text-effects)

React components for common text effects
Simple toggletip and tooltip for your react apps

### Installation

```bash
$ npm install --save react-text-effects
$ npm install --save react-toggletip
```

or if you are using `yarn`

```bash
$ yarn add react-text-effects
$ yarn add react-toggletip
```

### Demo

https://react-text-effects.surge.sh/
https://rcdexta.github.io/react-toggletip

### License

Expand Down
21 changes: 12 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"name": "react-text-effects",
"description": "React components for common text effects",
"name": "react-toggletip",
"description": "Simple toggletip and tooltip for your react apps",
"main": "dist/index.js",
"jsnext:main": "components/index.js",
"licenses": ["MIT"],
"module": "components/index.js",
"files": [
"src",
Expand All @@ -14,7 +13,7 @@
"lint": "eslint components/** tests/**",
"lintfix": "eslint --fix components/** tests/**",
"prepublish": "npm run lint && npm run build",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"semantic-release": "semantic-release",
"storybook": "start-storybook -p 6006",
"test": "mocha --require tests/config/setup 'tests/**/*.test.js'",
"test:watch": "mocha --require tests/config/setup 'tests/**/*.test.js' --watch",
Expand All @@ -23,18 +22,21 @@
"build": "babel components --out-dir dist",
"docs": "build-storybook -o docs",
"commit": "git cz",
"build-storybook": "build-storybook"
"build-storybook": "build-storybook",
"travis-deploy-once": "travis-deploy-once"
},
"repository": {
"type": "git",
"url": "https://github.com/rcdexta/react-text-effects.git"
"url": "https://github.com/rcdexta/react-toggletip.git"
},
"keywords": [
"react-component-keywords"
"react",
"toggletip",
"tooltip"
],
"author": "RC",
"license": "MIT",
"homepage": "https://github.com/rcdexta/react-text-effects",
"homepage": "https://github.com/rcdexta/react-toggletip",
"devDependencies": {
"@storybook/addon-actions": "^3.4.3",
"@storybook/addon-knobs": "^3.4.3",
Expand Down Expand Up @@ -75,7 +77,8 @@
"sass-loader": "^7.0.1",
"semantic-release": "^15.1.8",
"sinon": "^5.0.1",
"webpack": "^4.6.0"
"webpack": "^4.6.0",
"travis-deploy-once": "^5.0.0"
},
"dependencies": {
"prop-types": "15.6.1",
Expand Down

0 comments on commit 67e778a

Please sign in to comment.