@spritejs/demosify-test
A demo playground, supporting js, css, html, glsl
Last updated 5 months ago by spritejs .
MIT · Original npm · Tarball · package.json
$ cnpm install @spritejs/demosify-test 
SYNC missed versions from official npm registry.

DEMOSIFY

Usage

npm install @spritejs/demosify-test --save-dev

Add .demorc.js:

module.exports = {
  devServer: {
    port: 3000,
  },
  source: 'demos', // default is demos
  output: 'docs', // default is dist
  name: 'Your project name',
  version: 'Your project version',
  homePage: 'You project homepage url',
  logo: '',
  // 可选主题: active4d, allHallowsEve, amy, blackboard, brillianceBlack,
  // brillianceDull, chromeDevtools, cloudsMidnight, clouds, cobalt,
  // dawn, dreamweaver, eiffel, espressoLibre, github, idle, katzenmilch,
  // kuroirTheme, lazy, magicwbAmiga, merbivoreSoft, merbivore, monokai,
  // pastelsOnDark, slushAndPoppies, solarizedDark, solarizedLight,
  // spacecadet, sunburst, textmateMacClassic, tomorrowNightBlue,
  // tomorrowNightBright, tomorrowNightEighties, tomorrowNight, tomorrow,
  // twilight, vibrantInk, zenburnesque, iplastic, idlefingers, krtheme,
  // monoindustrial,
  boxTheme: 'monokai',
  globalPackages: {
    js: [/* js lib */],
    css: [/* css lib */],
  },
  // tab waterfall
  editorViewMode: 'tab',
}

Create source directory and add .demoList.json:

["quick start"]

Create your demo directory and files.

Edit your package.json

scripts: {
  "start": "demosify --serve",
  "build:demo": "demosify"
}

Done.

Current Tags

  • 0.0.8                                ...           latest (5 months ago)

8 Versions

  • 0.0.8                                ...           5 months ago
  • 0.0.7                                ...           5 months ago
  • 0.0.6                                ...           5 months ago
  • 0.0.5                                ...           5 months ago
  • 0.0.4                                ...           5 months ago
  • 0.0.3                                ...           5 months ago
  • 0.0.2                                ...           5 months ago
  • 0.0.1                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 8
Last Month 8
Dependencies (23)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |