🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

corespring-choice

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

corespring-choice

A pie choice component

2.3.0
latest
Source
npm
Version published
Weekly downloads
1
-96.43%
Maintainers
1
Weekly downloads
 
Created
Source

corespring-choice

Build Status

A pie choice component.

choice.png

Usage

To use this pie, you need to configure it within an Assessment Item. This means that you'll need to add it to the index.html and config.json files.

<corespring-choice pie-id="1"></corespring-choice>
{
  "id" : "1",
  "pie" : {
    "name" : "corespring-choice",
    "version" : "1.0.0"
  },
  "prompt" : "1 + 1 equals?",
  // more configuration...
}

Pie Demo

There is a demo in docs/demo that you can run to see an example of it's usage.

To preview it in that context you'll need the pie tool.

npm install -g pie 
cd corespring-choice/docs/demo
pie serve #will build and serve the pie... then go to http://localhost:4000

Test

npm test # run client and controller tests
npm run client-test # run client tests
npm run controller-test # run controller tests

Release

gulp release
git checkout master
npm publish

Keywords

pie

FAQs

Package last updated on 29 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts