turntable-kit
v0.7.1
Published
Install, update, and adjust your Turntable.
Downloads
8
Readme
Turntable Kit
Install, update, and adjust your Turntable.
Turntable is an SCSS Library.
Visit the wiki for Documentation.
Install locally
# Yarn
yarn add -D turntable-kit
# NPM
npm i -D turntable-kitOr install globally for CLI
Yarn:
# Yarn
yarn global add turntable-kit
# NPM
npm i -g turntable-kitSetup (local only)
Utilize NPX
This comes with NPM v5.2.0+
npx dj ...Or add a script to your package.json
"scripts": {
"dj": "dj"
}then use:
yarn run dj ...
# or
npm run dj ...Commands
Auto initialize and build
dj initInput the following values:
- Channel format: [YAML or JSON] (default: YAML)
- Vendor prefix support: [ 2011–2018 ] (default: 2011)
- IE version support: [ 9 | 10 | 11 | none ] (default: 9)
- Path of directory: <where/you/want/turntable> (default: project root)
You can just hit enter for the default value.
Build Turntable with a Channel
Manually create/edit a .channel.yml or .channel.json file at the root:
YAML:
path: <where/you/want/turntable>
year: <vendor prefix support>
ie: <version support>JSON:
{
"path": "<where/you/want/turntable>",
"year": "<vendor prefix support>",
"ie": "<version support>"
}And then run:
dj adjustFetch the latest SCSS file
dj updatePrint version
dj versionHelp
dj help