Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-interactive-tutorials

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-interactive-tutorials - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

dist/react-interactive-tutorials.js

13

package.json
{
"name": "react-interactive-tutorials",
"version": "0.1.1",
"version": "0.1.2",
"description": "Framework for creating unobtrusive interactive tutorials for use in web apps.",
"main": "src/index.js",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"buildjs": "./node_modules/webpack/bin/webpack.js",
"buildsass": "./node_modules/node-sass/bin/node-sass src/interactive-tutorials.sass dist/interactive-tutorials.css",
"buildsass": "./node_modules/node-sass/bin/node-sass src/style.sass dist/interactive-tutorials.css",
"prepublish": "npm run buildjs && npm run buildsass"

@@ -33,2 +33,6 @@ },

"dependencies": {
"classnames": "^2.2.5",
"clone": "^1.0.2",
"jquery": "^2.1.4",
"js-cookie": "^2.1.2",
"react": "^15.1.0",

@@ -43,4 +47,5 @@ "react-dom": "^15.1.0"

"node-sass": "^3.7.0",
"webpack": "^1.13.1"
"webpack": "^1.12.13",
"webpack-node-externals": "^1.2.0"
}
}
# react-interactive-tutorials
Framework for creating unobtrusive interactive tutorials for use in web apps.
## How it Works
Tutorials are represented as a set of prompts that will result in the user successfully completing
actions within the interface of your app.
Rather than storing a state of the current tutorial step, the currently active tutorial step is
calculated on the fly by the step configuration's set of conditions. This allows the user to go off
and do something unexpected / get lost in the middle of a tutorial without consequence.
var path = require('path');
var NodeExternals = require('webpack-node-externals');
module.exports = {
entry: './src/index.js',
entry: './src/init.jsx',
output: {
path: __dirname + '/dist',
filename: 'interactive-tutorials.js',
filename: 'react-interactive-tutorials.js',
library: 'interactive-tutorials',
libraryTarget: 'umd'
},

@@ -12,3 +15,3 @@ module: {

{
test: /\.jsx|\.js$/,
test: /\.jsx?$/,
exclude: /node_modules/,

@@ -18,3 +21,4 @@ loader: 'babel-loader'

]
}
},
externals: NodeExternals()
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc