@knight-lab/timelinejs
Advanced tools
Comparing version 3.7.0 to 3.7.1
137
package.json
{ | ||
"name": "@knight-lab/timelinejs", | ||
"version": "3.7.0", | ||
"license": "MPL-2.0", | ||
"description": "TimelineJS v3: A Storytelling Timeline built in JavaScript, made by Northwestern University Knight Lab.", | ||
"dependencies": { | ||
"dompurify": "^2.0.11" | ||
"name": "@knight-lab/timelinejs", | ||
"version": "3.7.1", | ||
"license": "MPL-2.0", | ||
"description": "TimelineJS v3: A Storytelling Timeline built in JavaScript, made by Northwestern University Knight Lab.", | ||
"dependencies": { | ||
"dompurify": "^2.0.11" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.10.1", | ||
"@babel/core": "^7.10.2", | ||
"@babel/preset-env": "^7.10.2", | ||
"adm-zip": "^0.4.14", | ||
"babel-jest": "^25.5.1", | ||
"clean-webpack-plugin": "^3.0.0", | ||
"copy-webpack-plugin": "^5.1.1", | ||
"css-loader": "^3.6.0", | ||
"file-loader": "^6.0.0", | ||
"fs-extra": "^9.0.1", | ||
"html-webpack-plugin": "^4.3.0", | ||
"http-server": "^0.12.3", | ||
"jest": "^25.5.4", | ||
"less": "^3.11.3", | ||
"less-loader": "^6.1.1", | ||
"lodash": "^4.17.15", | ||
"mini-css-extract-plugin": "^0.9.0", | ||
"npm-run-all": "^4.1.5", | ||
"prompt": "^1.0.0", | ||
"simple-git": "^2.7.2", | ||
"style-loader": "^1.2.1", | ||
"trash-cli": "^3.0.0", | ||
"webpack": "^4.43.0", | ||
"webpack-cli": "^3.3.12", | ||
"webpack-dev-server": "^3.11.0", | ||
"webpack-merge": "^4.2.2" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/NUKnightLab/TimelineJS3.git" | ||
}, | ||
"keywords": [], | ||
"author": "Northwestern University Knight Lab", | ||
"bugs": { | ||
"url": "https://github.com/NUKnightLab/TimelineJS3/issues" | ||
}, | ||
"homepage": "https://timeline.knightlab.com", | ||
"scripts": { | ||
"test": "jest", | ||
"dist": "run-s clean build", | ||
"disttest": "npm run dist && http-server dist -o '/embed/index.html?debug=true&language=es'", | ||
"compare": "npm run dist && http-server dist -o '/embed/compare.html'", | ||
"clean": "trash dist", | ||
"build": "webpack --config webpack.prod.js && node tasks/compile_less.js", | ||
"start": "webpack-dev-server --open --config webpack.dev.js", | ||
"stage": "npm run dist && node tasks/stage.js", | ||
"stage_latest": "npm run dist && node tasks/stage.js latest", | ||
"stage_dev": "npm run dist && node tasks/stage.js dev" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Zach Wise", | ||
"email": "wise@northwestern.edu", | ||
"url": "https://github.com/zachwise" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.10.1", | ||
"@babel/core": "^7.10.2", | ||
"@babel/preset-env": "^7.10.2", | ||
"adm-zip": "^0.4.14", | ||
"babel-jest": "^25.5.1", | ||
"clean-webpack-plugin": "^3.0.0", | ||
"copy-webpack-plugin": "^5.1.1", | ||
"css-loader": "^3.6.0", | ||
"file-loader": "^6.0.0", | ||
"fs-extra": "^9.0.1", | ||
"html-webpack-plugin": "^4.3.0", | ||
"http-server": "^0.12.3", | ||
"jest": "^25.5.4", | ||
"less": "^3.11.3", | ||
"less-loader": "^6.1.1", | ||
"lodash": "^4.17.15", | ||
"mini-css-extract-plugin": "^0.9.0", | ||
"npm-run-all": "^4.1.5", | ||
"prompt": "^1.0.0", | ||
"simple-git": "^2.7.2", | ||
"style-loader": "^1.2.1", | ||
"trash-cli": "^3.0.0", | ||
"webpack": "^4.43.0", | ||
"webpack-cli": "^3.3.12", | ||
"webpack-dev-server": "^3.11.0", | ||
"webpack-merge": "^4.2.2" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/NUKnightLab/TimelineJS3.git" | ||
}, | ||
"keywords": [], | ||
"author": "Northwestern University Knight Lab", | ||
"bugs": { | ||
"url": "https://github.com/NUKnightLab/TimelineJS3/issues" | ||
}, | ||
"homepage": "https://timeline.knightlab.com", | ||
"scripts": { | ||
"test": "jest", | ||
"dist": "run-s clean build", | ||
"disttest": "npm run dist && http-server dist -o '/embed/index.html?debug=true&language=es'", | ||
"compare": "npm run dist && http-server dist -o '/embed/compare.html'", | ||
"clean": "trash dist", | ||
"build": "webpack --config webpack.prod.js && node tasks/compile_less.js", | ||
"start": "webpack-dev-server --open --config webpack.dev.js", | ||
"stage": "npm run dist && node tasks/stage.js", | ||
"stage_latest": "npm run dist && node tasks/stage.js latest", | ||
"stage_dev": "npm run dist && node tasks/stage.js dev" | ||
}, | ||
"contributors": [{ | ||
"name": "Zach Wise", | ||
"email": "wise@northwestern.edu", | ||
"url": "https://github.com/zachwise" | ||
}, | ||
{ | ||
"name": "Joe Germuska", | ||
"email": "joegermuska@northwestern.edu", | ||
"url": "https://github.com/JoeGermuska" | ||
} | ||
] | ||
} | ||
{ | ||
"name": "Joe Germuska", | ||
"email": "joegermuska@northwestern.edu", | ||
"url": "https://github.com/JoeGermuska" | ||
} | ||
] | ||
} |
@@ -435,3 +435,3 @@ import { I18NMixins } from "../language/I18NMixins"; | ||
// Message | ||
this._message = new Message({}, { | ||
this._message = new Message(this._el.container, { | ||
message_class: "tl-message-full", | ||
@@ -438,0 +438,0 @@ message_icon_class: "tl-icon-swipe-left" |
@@ -56,2 +56,5 @@ import * as DOM from "../dom/DOM" | ||
constructor(elem, data, options) { | ||
if (!options) { | ||
options = {} | ||
} | ||
this.ready = false; | ||
@@ -140,3 +143,3 @@ this._el = { | ||
// Merge Options | ||
if (options && typeof(options.default_bg_color) == "string") { | ||
if (typeof(options.default_bg_color) == "string") { | ||
var parsed = hexToRgb(options.default_bg_color); // will clear it out if its invalid | ||
@@ -143,0 +146,0 @@ if (parsed) { |
@@ -92,3 +92,3 @@ const prompt = require('prompt'), | ||
package_json.version = result.version; | ||
fse.writeJsonSync('package.json', package_json); | ||
fse.writeJsonSync('package.json', package_json, { spaces: 2 }); | ||
simpleGit().commit(`Update to ${result.version}`, ['package.json']) | ||
@@ -95,0 +95,0 @@ .addTag(result.version) |
@@ -12,3 +12,4 @@ const merge = require('webpack-merge') | ||
stats: 'verbose', | ||
openPage: "/index.html" | ||
openPage: "/index.html", | ||
disableHostCheck: true | ||
}, | ||
@@ -15,0 +16,0 @@ module: { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
22439
5286331