gnextia
Create fast web applications :)
Last updated 24 days ago by sinuhemb .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gnextia 
SYNC missed versions from official npm registry.

gnextia

Create fast web application :)

  • webpack
  • babel
  • react
  • sass
  • Image version
  • i18n
  • Build environment (develop, beta , master and sandbox)
  • Gitlab CI/CD
To start
sudo npm -g i gnextia --unsafe-perm=true
Create web project
npx gnextia webapp
# or
gnextia webapp

cd webapp
npm i
npm run now # start web application
npm start # with git branch develop
gnextia commands
# start web application in localhost with "git branch develop"
npm start
# start web application
npm run now

# clean project
npm run clean

# Create new page or component
npm run page PageName
npm run component ComponentName

# Create environemnt in dist directory
npm run develop
npm run beta
npm run master
npm run sandbox

Image version
import {  Img } from "@gnextia"

<Img src="img/logo.svg" />
// to html
<img src="img/logo.svg?<VERSION>" />

background: img('/img/logo.svg') no-repeat fixed center;
/* to css */
background: url('/img/logo.svg?<VERSION>') no-repeat fixed center;
Config environment
import { config } from '@gnextia'
i18n (Internationalization and localization)
user:
  name:
    - My name is {0} {1} {2}
    - Mi nombre es {0} {1} {2}
import { I18n, i18n } from '@gnextia'

// jsx
;<I18n name="user.name" args={['Sinuhe', 'Maceda', 'Bouchan']} />
// js
i18n.getName('user.name', 'Sinuhe', 'Maceda', 'Bouchan')
Use Internal IP in config.yml
localhost:
  MY_IP: @{MY_IP}
Merge toAll to all environemnts in config.yml
toAll:
  msg: hello world
Build environment

Webpack develop and debug

npm run start
npm run develop
npm run beta

Webpack production and optimized

npm run sandbox
npm run master
Run http-server on dist directory
npm run httpserver
Start Gitlab CI
npm run gitlab-ci
CI / CD Settings : Group variables

Key : GROUP_VARIABLES

Value :

#
# AWS DEVELOPMENT
#
AWS_DEVELOPMENT_AWS_DEFAULT_REGION=
AWS_DEVELOPMENT_AWS_ACCESS_KEY_ID=
AWS_DEVELOPMENT_AWS_SECRET_ACCESS_KEY=

# api

# web
AWS_DEVELOPMENT_S3_BUCKET=
AWS_DEVELOPMENT_CLOUDFRONT_DEVELOP=
AWS_DEVELOPMENT_CLOUDFRONT_BETA=

#
# AWS PRODUCTION
#
AWS_PRODUCTION_AWS_DEFAULT_REGION=
AWS_PRODUCTION_AWS_ACCESS_KEY_ID=
AWS_PRODUCTION_AWS_SECRET_ACCESS_KEY=

# api

# web
AWS_PRODUCTION_S3_BUCKET=
AWS_PRODUCTION_CLOUDFRONT_SANDBOX=
AWS_PRODUCTION_CLOUDFRONT_MASTER=

#
# CLOUDFLARE
#
CLOUDFLARE_MAIL=
CLOUDFLARE_DOMAIN=
CLOUDFLARE_API_KEY=
CLOUDFLARE_ZONE_ID=

#
# TELEGRAM
#
TELEGRAM_TOKEN=
TELEGRAM_CHAT_ID=(
123456789 # chat_id
987654321 # other chat_id
)

Type : File

Flags / Protect variable : False

Web project with gnextia :

gnextia.com

Group Repository

GROUP_VARIABLES

Webpage repository

Webpage pipelines

API repository

env_yml

API pipelines

Current Tags

  • 39.0.32                                ...           latest (24 days ago)

216 Versions

  • 39.0.32                                ...           24 days ago
  • 39.0.31                                ...           a month ago
  • 39.0.30                                ...           a month ago
  • 39.0.29                                ...           a month ago
  • 39.0.28                                ...           a month ago
  • 39.0.27                                ...           a month ago
  • 39.0.26                                ...           a month ago
  • 39.0.25                                ...           2 months ago
  • 39.0.23                                ...           2 months ago
  • 39.0.22                                ...           2 months ago
  • 39.0.21                                ...           2 months ago
  • 39.0.20                                ...           2 months ago
  • 39.0.19                                ...           2 months ago
  • 39.0.18                                ...           2 months ago
  • 39.0.17                                ...           2 months ago
  • 39.0.16                                ...           2 months ago
  • 39.0.15                                ...           2 months ago
  • 39.0.14                                ...           2 months ago
  • 39.0.13                                ...           2 months ago
  • 39.0.12                                ...           2 months ago
  • 39.0.11                                ...           2 months ago
  • 39.0.10                                ...           2 months ago
  • 39.0.9                                ...           2 months ago
  • 39.0.8                                ...           2 months ago
  • 39.0.7                                ...           2 months ago
  • 39.0.6                                ...           2 months ago
  • 39.0.5                                ...           2 months ago
  • 39.0.4                                ...           2 months ago
  • 39.0.3                                ...           2 months ago
  • 39.0.2                                ...           2 months ago
  • 39.0.1                                ...           2 months ago
  • 39.0.0                                ...           3 months ago
  • 38.0.0                                ...           3 months ago
  • 37.0.0                                ...           3 months ago
  • 36.0.0                                ...           3 months ago
  • 35.0.0                                ...           3 months ago
  • 34.1.2                                ...           3 months ago
  • 34.0.6                                ...           3 months ago
  • 34.0.5                                ...           3 months ago
  • 34.0.4                                ...           3 months ago
  • 34.0.3                                ...           3 months ago
  • 34.0.2                                ...           3 months ago
  • 34.0.1                                ...           3 months ago
  • 34.0.0                                ...           3 months ago
  • 33.0.6                                ...           3 months ago
  • 33.0.4                                ...           3 months ago
  • 33.0.3                                ...           3 months ago
  • 33.0.2                                ...           3 months ago
  • 33.0.1                                ...           3 months ago
  • 33.0.0                                ...           3 months ago
  • 32.0.5                                ...           3 months ago
  • 32.0.4                                ...           3 months ago
  • 32.0.3                                ...           3 months ago
  • 32.0.2                                ...           3 months ago
  • 32.0.1                                ...           3 months ago
  • 32.0.0                                ...           3 months ago
  • 31.0.0                                ...           3 months ago
  • 30.0.0                                ...           3 months ago
  • 29.0.0                                ...           7 months ago
  • 28.3.0                                ...           10 months ago
  • 28.2.0                                ...           10 months ago
  • 28.1.0                                ...           10 months ago
  • 28.0.3                                ...           a year ago
  • 28.0.2                                ...           a year ago
  • 28.0.1                                ...           a year ago
  • 28.0.0                                ...           a year ago
  • 27.6.0                                ...           a year ago
  • 27.5.0                                ...           a year ago
  • 27.4.0                                ...           a year ago
  • 27.3.0                                ...           a year ago
  • 27.2.0                                ...           a year ago
  • 27.1.0                                ...           a year ago
  • 27.0.0                                ...           a year ago
  • 26.4.0                                ...           a year ago
  • 26.3.0                                ...           a year ago
  • 26.2.0                                ...           a year ago
  • 26.1.0                                ...           a year ago
  • 26.0.0                                ...           a year ago
  • 25.0.0                                ...           a year ago
  • 24.3.0                                ...           a year ago
  • 24.2.0                                ...           a year ago
  • 24.1.0                                ...           a year ago
  • 24.0.0                                ...           a year ago
  • 23.0.0                                ...           a year ago
  • 22.0.0                                ...           a year ago
  • 21.1.2                                ...           a year ago
  • 21.1.0                                ...           a year ago
  • 21.0.2                                ...           a year ago
  • 21.0.0                                ...           a year ago
  • 20.0.0                                ...           a year ago
  • 19.0.0                                ...           a year ago
  • 18.4.0                                ...           a year ago
  • 18.3.0                                ...           a year ago
  • 18.2.0                                ...           a year ago
  • 18.1.0                                ...           a year ago
  • 18.0.0                                ...           a year ago
  • 17.0.0                                ...           a year ago
  • 16.18.0                                ...           a year ago
  • 16.17.0                                ...           2 years ago
  • 16.16.0                                ...           2 years ago
  • 16.15.0                                ...           2 years ago
  • 16.14.0                                ...           2 years ago
  • 16.13.0                                ...           2 years ago
  • 16.12.0                                ...           2 years ago
  • 16.11.0                                ...           2 years ago
  • 16.10.0                                ...           2 years ago
  • 16.9.0                                ...           2 years ago
  • 16.8.0                                ...           2 years ago
  • 16.7.0                                ...           2 years ago
  • 16.6.0                                ...           2 years ago
  • 16.5.0                                ...           2 years ago
  • 16.4.0                                ...           2 years ago
  • 16.3.0                                ...           2 years ago
  • 16.2.0                                ...           2 years ago
  • 16.1.0                                ...           2 years ago
  • 16.0.0                                ...           2 years ago
  • 15.3.0                                ...           2 years ago
  • 15.2.0                                ...           2 years ago
  • 15.1.0                                ...           2 years ago
  • 15.0.0                                ...           2 years ago
  • 14.2.0                                ...           2 years ago
  • 12.0.1                                ...           2 years ago
  • 12.0.0                                ...           2 years ago
  • 11.0.0                                ...           2 years ago
  • 10.2.0                                ...           2 years ago
  • 10.1.0                                ...           2 years ago
  • 10.0.0                                ...           2 years ago
  • 9.9.9                                ...           2 years ago
  • 9.9.0                                ...           2 years ago
  • 9.8.0                                ...           2 years ago
  • 9.7.0                                ...           2 years ago
  • 9.6.0                                ...           2 years ago
  • 9.5.0                                ...           2 years ago
  • 9.4.0                                ...           2 years ago
  • 9.3.0                                ...           2 years ago
  • 9.2.0                                ...           2 years ago
  • 9.1.0                                ...           2 years ago
  • 9.0.0                                ...           2 years ago
  • 8.1.0                                ...           2 years ago
  • 8.0.3                                ...           2 years ago
  • 8.0.2                                ...           2 years ago
  • 8.0.1                                ...           2 years ago
  • 8.0.0                                ...           2 years ago
  • 7.7.0                                ...           2 years ago
  • 7.6.0                                ...           2 years ago
  • 7.5.0                                ...           2 years ago
  • 7.4.0                                ...           2 years ago
  • 7.3.0                                ...           2 years ago
  • 7.2.0                                ...           2 years ago
  • 7.1.0                                ...           2 years ago
  • 7.0.0                                ...           2 years ago
  • 6.7.2                                ...           2 years ago
  • 6.7.1                                ...           2 years ago
  • 6.7.0                                ...           2 years ago
  • 6.6.6                                ...           2 years ago
  • 6.5.1                                ...           2 years ago
  • 6.5.0                                ...           2 years ago
  • 6.4.1                                ...           2 years ago
  • 6.4.0                                ...           2 years ago
  • 6.3.0                                ...           2 years ago
  • 6.2.0                                ...           2 years ago
  • 6.1.0                                ...           2 years ago
  • 6.0.0                                ...           2 years ago
  • 5.5.0                                ...           2 years ago
  • 5.4.0                                ...           2 years ago
  • 5.3.2                                ...           2 years ago
  • 5.3.1                                ...           2 years ago
  • 5.3.0                                ...           2 years ago
  • 5.2.1                                ...           2 years ago
  • 5.2.0                                ...           2 years ago
  • 5.1.0                                ...           2 years ago
  • 5.0.1                                ...           2 years ago
  • 5.0.0                                ...           2 years ago
  • 4.5.0                                ...           2 years ago
  • 4.4.0                                ...           2 years ago
  • 4.3.0                                ...           2 years ago
  • 4.2.0                                ...           2 years ago
  • 4.1.0                                ...           2 years ago
  • 4.0.0                                ...           2 years ago
  • 3.9.5                                ...           2 years ago
  • 3.9.4                                ...           2 years ago
  • 3.9.3                                ...           2 years ago
  • 3.9.2                                ...           2 years ago
  • 3.9.1                                ...           2 years ago
  • 3.9.0                                ...           2 years ago
  • 3.8.0                                ...           2 years ago
  • 3.7.0                                ...           2 years ago
  • 3.6.0                                ...           2 years ago
  • 3.5.0                                ...           2 years ago
  • 3.4.0                                ...           2 years ago
  • 3.3.0                                ...           2 years ago
  • 3.2.0                                ...           2 years ago
  • 3.1.0                                ...           2 years ago
  • 3.0.3                                ...           2 years ago
  • 3.0.2                                ...           2 years ago
  • 3.0.1                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 2.0.2                                ...           3 years ago
  • 2.0.1                                ...           3 years ago
  • 2.0.0                                ...           4 years ago
  • 1.10.7                                ...           4 years ago
  • 1.10.6                                ...           4 years ago
  • 1.10.5                                ...           4 years ago
  • 1.10.4                                ...           4 years ago
  • 1.10.3                                ...           4 years ago
  • 1.10.2                                ...           4 years ago
  • 1.10.1                                ...           4 years ago
  • 1.10.0                                ...           4 years ago
  • 1.0.9                                ...           4 years ago
  • 1.0.7                                ...           4 years ago
  • 1.0.6                                ...           4 years ago
  • 1.0.5                                ...           4 years ago
  • 1.0.4                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago

Copyright 2014 - 2017 © taobao.org |