5.1.0 • Published 4 years ago

jumpstart-cli v5.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

jumpstart

Config and boilerplate free dev/build tool.

Preview

npm.io

Installation

Global installation

npm i -g jumpstart-cli

Local installation

npm i -D jumpstart-cli

Usage

Globally installed

jumpstart

Locally installed

./node_modules/.bin/jumpstart

Not installed

npx jumpstart-cli

Examples

Webpack

# javascript
echo "alert('Hello World')" > src/index.js

# typescript
echo "
  message:string = "Hello World"
  alert('Hello World')
" > src/index.ts

# lightscript
echo "alert! 'Hello World'" > src/index.lsc

jumpstart start
jumpstart bulid

Jest

# javascript
echo "it('example', () => expect(4).toBe(3))" > example.test.js

# typescript
echo "
  it('example', () => {
    const example:number = 3
    expect(4).toBe(example)
  })
" > example.test.ts

# lightscript
echo "it! 'example', -> expect(4).toBe(3)" > example.test.lsc

jumpstart test

ESLint

# javascript
echo "console.log('Hello World')" > src/example.js

# typescript
echo "
  message:string = "Hello World"
  alert('Hello World')
" > src/example.ts

# lightscript
echo "console.log! 'Hello World'" > src/example.lsc

jumpstart lint

Babel

# javascript
echo "console.log({ ...foo })" > example.js
jumpstart compile example.js

# typescript
echo "
  message:string = "Hello World"
  alert('Hello World')
" > src/index.ts
jumpstart compile example.ts

# lightscript
echo "console.log! { ...foo }" > example.lsc
jumpstart compile example.lsc

PostCSS

# css
echo ".foo { bar: baz }" > example.css
jumpstart css example.css

# sass
echo ".foo { .bar { baz: qux } }" > example.scss
jumpstart css example.scss

# less
echo ".foo { .bar { baz: qux } }" > example.less
jumpstart css example.less

MDX

npm i jumpstart-cli babel-loader @mdx-js/loader
import React from 'react'
import { render } from 'react-dom'

import Page from '!babel-loader?configFile=jumpstart-cli/babel!@mdx-js/loader!./page.mdx'

render(<Page/>, document.getElementById('root'))
5.1.0

4 years ago

5.0.0

4 years ago

4.1.0

5 years ago

4.0.0

5 years ago

3.1.5

6 years ago

3.1.4

6 years ago

3.1.3

6 years ago

3.1.2

6 years ago

3.1.1

6 years ago

3.1.0

6 years ago

3.0.0

6 years ago

2.3.5

7 years ago

2.3.4

7 years ago

2.3.3

7 years ago

2.3.2

7 years ago

2.3.1

7 years ago

2.3.0

7 years ago

2.2.1

7 years ago

2.2.0

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.6.0

7 years ago

1.5.1

7 years ago

1.5.0

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago