react-interactive-tutorials
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
10
11
64001
6
7
1656
+ Addedclassnames@^2.2.5
+ Addedclone@^1.0.2
+ Addedjquery@^2.1.4
+ Addedjs-cookie@^2.1.2
+ Addedclassnames@2.5.1(transitive)
+ Addedclone@1.0.4(transitive)
+ Addedjquery@2.2.4(transitive)
+ Addedjs-cookie@2.2.1(transitive)