Socket
Socket
Sign inDemoInstall

content-editable

Package Overview
Dependencies
1
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 1.0.0

dist/content-editable.d.ts

35

package.json
{
"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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc