Skip to content

Commit

Permalink
refactor: packages structure
Browse files Browse the repository at this point in the history
  • Loading branch information
romelperez committed Jun 24, 2018
1 parent 0da41c7 commit 3012ecd
Show file tree
Hide file tree
Showing 268 changed files with 9,317 additions and 13,075 deletions.
6 changes: 5 additions & 1 deletion .babelrc
@@ -1,7 +1,11 @@
{
"presets": [
"es2015",
"stage-1",
"react"
],
"plugins": [
"transform-object-rest-spread",
"transform-class-properties",
"transform-export-extensions"
]
}
4 changes: 1 addition & 3 deletions .eslintignore
@@ -1,4 +1,2 @@
node_modules
dist
vendor
docs
lib
23 changes: 13 additions & 10 deletions .eslintrc
@@ -1,4 +1,10 @@
{
"extends": [
"eslint:recommended",
"prettier",
"plugin:prettier/recommended"
],

"parser": "babel-eslint",

"parserOptions": {
Expand All @@ -9,27 +15,24 @@
"env": {
"browser": true,
"node": true,
"es6": true,
"jquery": true,
"mocha": true
"jest": true,
"es6": true
},

"globals": {
"chai": true,
"assert": true,
"expect": true,
"Prism": true
},

"plugins": [
"react"
"react",
"prettier"
],

"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"classes": false,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
Expand Down Expand Up @@ -177,14 +180,14 @@
"no-extra-parens": [0],
"one-var": [0],
"operator-assignment": [0, "always"],
"operator-linebreak": [2, "before"],
"operator-linebreak": [0],
"padded-blocks": [0],
"quote-props": [0],
"radix": [0],
"semi": [2],
"semi-spacing": [2, {"before": false, "after": true}],
"sort-vars": [0],
"space-before-function-paren": [2, {"anonymous": "always", "named": "always"}],
"space-before-function-paren": [0],
"space-before-blocks": [0, "always"],
"space-in-brackets": [
0, "never", {
Expand Down
13 changes: 0 additions & 13 deletions .gitignore
@@ -1,9 +1,5 @@
# gitignore

##
## BASE
##

node_modules
jspm_packages
bower_components
Expand Down Expand Up @@ -38,12 +34,3 @@ Thumbs.db
dump.rdb
npm-debug.log
yarn-error.log

##
## PROJECT
##

lib
build
site/api-components/*
!site/api-components/.gitkeep
4 changes: 2 additions & 2 deletions .travis.yml
@@ -1,8 +1,8 @@
script: npm test
script: npm run test-ci
language: node_js
node_js:
- "6.0"
- "8.0"
- "10.0"
addons:
chrome: stable
sudo: required
46 changes: 0 additions & 46 deletions CHANGELOG.md

This file was deleted.

1 change: 1 addition & 0 deletions ISSUE_TEMPLATE.md
@@ -0,0 +1 @@
https://github.com/stevemao/github-issue-templates
1 change: 1 addition & 0 deletions PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1 @@
https://github.com/stevemao/github-issue-templates
58 changes: 31 additions & 27 deletions README.md
@@ -1,29 +1,33 @@
<div align="center">
<img src='./static/img/logo-invert.png' alt='Arwes' height='100' />
<img src="./arwes.gif" alt="Arwes" />
</div>

<h1 align="center">Arwes</h1>

<p align="center" style="font-size: 1.2rem;">
<p align="center" style="margin-top: 16px; font-size: 1.2rem;">
Futuristic Sci-Fi and Cyberpunk Graphical User Interface Framework for Web Apps
</p>

<div align="center">
<a href="https://npmjs.org/package/arwes">
<img src="https://img.shields.io/npm/v/arwes.svg" alt="version" />
<a href="https://npmjs.org/package/@arwes/arwes">
<img src="https://img.shields.io/npm/v/@arwes/arwes.svg" alt="version" />
</a>
<a href="https://travis-ci.org/arwesjs/arwes">
<img src="https://img.shields.io/travis/arwesjs/arwes.svg" alt="travis" />
</a>
<a href="https://github.com/arwesjs/arwes/blob/master/LICENSE">
<img src="https://img.shields.io/github/license/arwesjs/arwes.svg?maxAge=2592000" alt="license" />
</a>
<a href="https://npmjs.org/package/arwes">
<img src="https://img.shields.io/npm/dm/arwes.svg" alt="downloads" />
<a href="https://github.com/prettier/prettier">
<img src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square" alt="code style: prettier">
</a>
<a href="https://npmjs.org/package/@arwes/arwes">
<img src="https://img.shields.io/npm/dm/@arwes/arwes.svg" alt="downloads" />
</a>
<a href="https://github.com/arwesjs/arwes">
<img src="https://img.shields.io/github/stars/arwesjs/arwes.svg?style=social&label=stars" alt="github stars" />
</a>
<a href="https://discord.gg/s5sbTkw">
<img src="https://img.shields.io/badge/chat-discord-blue.svg" alt="chat on discord">
</a>
</div>

_______________
Expand All @@ -34,17 +38,17 @@ animations and sounds effects. The idea is to let you create realistic
futuristic user experiences for your projects.

The tools are based on [React](https://reactjs.org) for components,
[JSS](http://cssinjs.org) for styles ([learn more about CSSinJS](https://medium.com/jobsity/css-in-javascript-with-jss-and-react-54cdd2720222)),
[react-transition-group](https://reactcommunity.org/react-transition-group/) for
animations, [Howler](https://howlerjs.com/) for sounds and [Prism](http://prismjs.com)
[JSS](http://cssinjs.org) for styles ([CSSinJS](https://medium.com/jobsity/css-in-javascript-with-jss-and-react-54cdd2720222)),
[react-transition-group](https://reactcommunity.org/react-transition-group) for
animations, [Howler](https://howlerjs.com) for sounds, and [Prism](http://prismjs.com)
for code highlighting.

> Currently is under development with an alpha version available on npm. Modules and components are under test and their API may change.
## Install

```bash
$ npm install --save arwes
$ npm install --save @arwes/arwes
```

## Documentation
Expand All @@ -53,7 +57,7 @@ See [arwesjs.org](https://arwesjs.org).

## Need help?

Open [a GitHub issue](https://github.com/arwesjs/arwes/issues/new).
Open [a GitHub issue](https://github.com/arwesjs/arwes/issues/new) or let's chat on [Discord](https://discord.gg/s5sbTkw).

## Want to contribute?

Expand Down Expand Up @@ -88,20 +92,6 @@ This project has many inspiration sources:
- [Sci-Fi Designs Board](https://co.pinterest.com/romelperez07/sci-fi-design/)
- [Sci-Fi Game Designs Board](https://co.pinterest.com/romelperez07/sci-fi-games/)

## Contributors

<!-- Contributors START
Romel_Perez romelperez https://romelperez.com code doc tutorial answers
Nick_West njwest https://nickwe.st doc
Contributors END -->
<!-- Contributors table START -->
| [<img src="https://avatars.githubusercontent.com/romelperez?s=100" width="100" alt="Romel Perez" /><br /><sub>Romel Perez</sub>](https://romelperez.com)<br />[💻](git@github.com:arwesjs/arwes/commits?author=romelperez) [📖](git@github.com:arwesjs/arwes/commits?author=romelperez) ✅ 💁 | [<img src="https://avatars.githubusercontent.com/njwest?s=100" width="100" alt="Nick West" /><br /><sub>Nick West</sub>](https://nickwe.st)<br />[📖](git@github.com:arwesjs/arwes/commits?author=njwest) |
| :---: | :---: |
<!-- Contributors table END -->

This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors)
specification.

## Roadmap

- [x] Design, animations and sounds guidelines
Expand All @@ -119,6 +109,20 @@ specification.
- [ ] Add navigation components
- [ ] Best test coverege

## Contributors

<!-- Contributors START
Romel_Perez romelperez https://romelperez.com code doc tutorial answers
Nick_West njwest https://nickwe.st doc
Contributors END -->
<!-- Contributors table START -->
| [<img src="https://avatars.githubusercontent.com/romelperez?s=100" width="100" alt="Romel Perez" /><br /><sub>Romel Perez</sub>](https://romelperez.com)<br />[💻](git@github.com:arwesjs/arwes/commits?author=romelperez) [📖](git@github.com:arwesjs/arwes/commits?author=romelperez) ✅ 💁 | [<img src="https://avatars.githubusercontent.com/njwest?s=100" width="100" alt="Nick West" /><br /><sub>Nick West</sub>](https://nickwe.st)<br />[📖](git@github.com:arwesjs/arwes/commits?author=njwest) |
| :---: | :---: |
<!-- Contributors table END -->

This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors)
specification.

## License

[MIT](./LICENSE)
Binary file added arwes.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 0 additions & 14 deletions deploy.json

This file was deleted.

9 changes: 9 additions & 0 deletions jest.config.js
@@ -0,0 +1,9 @@
const glob = require('glob');

const pkgs = glob.sync('./packages/*').map(p => p.replace(/^\./, '<rootDir>'));

module.exports = {
verbose: true,
roots: pkgs,
testPathIgnorePatterns: ['/lib/', '/node_modules/']
};

0 comments on commit 3012ecd

Please sign in to comment.