New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@geekcojp/gp

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geekcojp/gp

[![npm](https://img.shields.io/npm/v/@geekcojp/gp.svg)](https://www.npmjs.com/package/@geekcojp/gp) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) [![CircleCI]

0.2.1-0
Source
npm
Version published
Weekly downloads
46
35.29%
Maintainers
2
Weekly downloads
 
Created
Source

geek-project

npm code style: prettier CircleCI license: mit

Usage

Install

npm i @geekcojp/gp
# npm i @geekcojp/gp@next

Flow

1 Create project directory
mkdir <project-dirname> && cd <project-dirname>
2 Initialize by yarn
yarn init -y
3 Initialize by gp
gp init
# with webpack
gp init --webpack
4 Add template
gp add pug
gp add sass
gp add postcss
gp add typescript (--module) (--react) (--firebase)
gp add babel

for example,

Webpack + Sass + PostCSS + TypeScript + React
gp init --webpack && gp add sass && gp add postcss && gp add typescript --react
gp dev
Pug + Sass + PostCSS + Babel
gp init && gp add pug && gp add sass && gp add postcss && gp add babel
gp dev
5 develop
gp dev
6 build
gp build

Commands

Top level
$ gp --help

gp [command]

Commands:
  gp init    Initialize
  gp add     Add a template into the project
  gp remove  Remove a template from the project
  gp dev     Develop
  gp build   Build for production

Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]
Add
$ gp add --help

gp add

Add the tool into this project

Commands:
  gp add typescript  Add typescript environment
  gp add babel       Add Babel into the project
  gp add sass        Add sass environment
  gp add postcss     Add postcss environment
  gp add pug         Add postcss environment

Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]

Supports

  • pug
  • sass
  • postcss
  • sass + postcss
  • less
  • less + postcss
  • stylus
  • stylus + postcss
  • flow
  • typescript
  • jQuery (vanilla)
  • CircleCI

TODO

  • test this project
  • pug (with webpack)
  • pug (without webpack)
  • sass (with webpack)
  • sass (without webpack)
  • postcss (with webpack)
  • postcss (without webpack)
  • flow (with webpack)
  • flow (without webpack)
  • typescript (with webpack)
  • typescript (with react)
  • typescript (with react-router)
  • typescript (with jest)
  • typescript (with enzyme)
  • typescript (with ssr)
  • typescript (with e2e)
  • typescript (without webpack)
  • circleci

FAQs

Package last updated on 08 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts