content-editable
Advanced tools
Comparing version 0.2.0 to 1.0.0
{ | ||
"name": "content-editable", | ||
"version": "0.2.0", | ||
"version": "1.0.0", | ||
"description": "An HTML element that makes its content editable", | ||
@@ -41,4 +41,3 @@ "publishConfig": { | ||
"preversion": "npm test", | ||
"minify": "uglifyjs dist/content-editable.js -o dist/content-editable.min.js", | ||
"build-dist": "rm -rf dist/* && rollup -c && npm run minify", | ||
"build-dist": "rm -rf dist/* && rollup -c", | ||
"version": "npm run build-dist && banner-cli dist/*.js && git add -A dist", | ||
@@ -52,22 +51,22 @@ "postversion": "git push && git push --tags", | ||
"@types/chai": "^4.1.7", | ||
"@types/mocha": "^5.2.5", | ||
"@types/sinon": "^7.0.3", | ||
"banner-cli": "0.11.1", | ||
"@types/mocha": "^7.0.2", | ||
"@types/sinon": "^9.0.0", | ||
"banner-cli": "0.14.1", | ||
"chai": "^4.2.0", | ||
"karma": "^3.1.4", | ||
"karma": "^4.4.1", | ||
"karma-chai": "^0.1.0", | ||
"karma-chrome-launcher": "^2.2.0", | ||
"karma-chrome-launcher": "^3.1.0", | ||
"karma-coverage": "^1.1.2", | ||
"karma-mocha": "^1.3.0", | ||
"karma-typescript": "^3.0.13", | ||
"mocha": "^5.2.0", | ||
"rollup": "^1.0.0", | ||
"rollup-plugin-commonjs": "^9.2.0", | ||
"rollup-plugin-node-resolve": "^4.0.0", | ||
"rollup-plugin-typescript2": "^0.18.1", | ||
"sinon": "^7.2.2", | ||
"tslint": "^5.12.0", | ||
"karma-typescript": "^5.0.1", | ||
"mocha": "^7.1.1", | ||
"rollup": "^2.1.0", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-terser": "^5.3.0", | ||
"rollup-plugin-typescript2": "^0.27.0", | ||
"sinon": "^9.0.1", | ||
"tslint": "^6.1.0", | ||
"tslint-config-prettier": "^1.15.0", | ||
"typescript": "^3.2.2", | ||
"uglify-es": "^3.3.9" | ||
"typescript": "^3.2.2" | ||
}, | ||
@@ -74,0 +73,0 @@ "dependencies": { |
@@ -5,3 +5,3 @@ [![Build Status](https://travis-ci.org/mkay581/content-editable.svg?branch=master)](https://travis-ci.org/mkay581/content-editable) | ||
# Content Editable Component | ||
# `<content-editable>` | ||
@@ -8,0 +8,0 @@ A custom element that makes its contents editable by changing itself into an text field, when a user clicks on it. |
import typescript from 'rollup-plugin-typescript2'; | ||
import resolve from 'rollup-plugin-node-resolve'; | ||
import commonjs from 'rollup-plugin-commonjs'; | ||
import { terser } from "rollup-plugin-terser"; | ||
const { ROLLUP_WATCH } = process.env; | ||
export default { | ||
@@ -11,3 +14,3 @@ input: 'src/content-editable.ts', | ||
}, | ||
plugins: [resolve(), typescript(), commonjs()], | ||
plugins: [resolve(), typescript(), commonjs(), !ROLLUP_WATCH && terser()], | ||
watch: { | ||
@@ -14,0 +17,0 @@ include: 'src/**' |
Sorry, the diff of this file is not supported yet
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
70396
770
0
1
15
1