jumpstart-cli
v5.1.0
Published
Config and boilerplate free dev/build tool.
Downloads
22
Readme
jumpstart
Config and boilerplate free dev/build tool.
Preview
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'))