Coder Social home page Coder Social logo

mbrubeck / kumascript Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mdn/kumascript

0.0 3.0 0.0 1.93 MB

Bringing scripting to the wiki bears.

Home Page: https://wiki.mozilla.org/MDN/Kuma/Scripting#Proposed_solution_.231

JavaScript 100.00%

kumascript's Introduction

kumascript

Bringing scripting to the wiki bears.

KumaScript overview

Setup

Development

  • To run the service (in kuma vagrant):
    • cd /vagrant; node kumascript/run.js
  • To run the service (standalone):
    • Directly:
      • node run.js
    • Managed by up:
      • ./node_modules/.bin/up -p 9080 -w run.js
  • To run tests:
    • ./node_modules/.bin/nodeunit tests
  • To check code quality:
    • ./node_modules/.bin/hint lib tests
      • This will make a racket if it hits parser.js
      • TODO: Ignore this file.
  • To generate docs:
    • ./node_modules/.bin/docco lib/kumascript/*.js
  • To generate document macro parser (optional):
    • ./node_modules/.bin/pegjs lib/kumascript/parser.pegjs
      • This is not required in dev, but should be done for production.
      • If parser.js is missing, the parser will be built on the fly.

On OS X, kicker is handy for auto-running tests and lint on file changes:

kicker -e'./node_modules/.bin/jshint lib tests' \
       -e'./node_modules/.bin/nodeunit tests' \
       -e'./node_modules/.bin/docco lib/kumascript/*.js' \
       --no-growl \
       lib tests

kumascript's People

Contributors

lmorchard avatar groovecoder avatar mbrubeck avatar darkwing avatar nickolay avatar volkanunsal avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.