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

@three11/accordion

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@three11/accordion - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

dist/accordion.cjs

62

package.json
{
"name": "@three11/accordion",
"version": "1.0.0",
"version": "2.0.0",
"description": "Front-end Accordion widget using max-height",
"main": "dist/accordion.js",
"style": "dist/accordion.css",
"scripts": {
"dist": "babel src/accordion.js --out-file dist/accordion.js",
"minify": "babel src/accordion.js --out-file dist/accordion.min.js --presets minify,@babel/env",
"build": "npm run dist && npm run minify"
},
"repository": {
"type": "git",
"url": "git+https://github.com/three11/accordion.git"
},
"keywords": [
"Collapse",
"Accordion",
"Widget",
"Front-End"
"Collapsible",
"Accordion Widget",
"Collapsible Widget"
],
"homepage": "https://github.com/three11/accordion#readme",
"bugs": {
"url": "https://github.com/three11/accordion/issues"
},
"license": "GPL-3.0",
"authors": [

@@ -38,14 +34,32 @@ {

],
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/three11/accordion/issues"
"repository": {
"type": "git",
"url": "github:three11/accordion"
},
"homepage": "https://github.com/three11/accordion#readme",
"scripts": {
"lint": "eslint 'src/**/*.ts'",
"copy": "cp -r dist demo",
"clean": "rm -rf dist && rm -rf demo/dist",
"build": "yarn clean && microbundle && yarn copy"
},
"dependencies": {},
"devDependencies": {
"@babel/cli": "7.14.3",
"@babel/core": "7.14.3",
"@babel/plugin-transform-modules-umd": "7.14.0",
"@babel/preset-env": "7.14.2",
"babel-minify": "0.5.1"
}
"@typescript-eslint/eslint-plugin": "5.45.1",
"@typescript-eslint/parser": "5.45.1",
"eslint": "8.29.0",
"eslint-config-prettier": "8.5.0",
"microbundle": "0.15.1",
"typescript": "4.9.4"
},
"type": "module",
"source": "src/accordion.ts",
"exports": {
"require": "./dist/accordion.cjs",
"default": "./dist/accordion.modern.js"
},
"main": "./dist/accordion.cjs",
"style": "./dist/accordion.css",
"types": "./dist/accordion.d.ts",
"module": "./dist/accordion.module.js",
"unpkg": "./dist/accordion.umd.js"
}
[![GitHub release](https://img.shields.io/github/release/three11/accordion.svg)](https://github.com/three11/accordion/releases/latest)
[![GitHub issues](https://img.shields.io/github/issues/three11/accordion.svg)](https://github.com/three11/accordion/issues)
[![GitHub last commit](https://img.shields.io/github/last-commit/three11/accordion.svg)](https://github.com/three11/accordion/commits/master)
[![Github file size](https://img.shields.io/github/size/three11/accordion/dist/accordion.min.js.svg)](https://github.com/three11/accordion/)
[![Build Status](https://travis-ci.org/three11/accordion.svg?branch=master)](https://travis-ci.org/three11/accordion)

@@ -12,3 +11,3 @@ [![npm](https://img.shields.io/npm/dt/@three11/accordion.svg)](https://www.npmjs.com/package/@three11/accordion)

Front-end accordion widget using max-height written in vanilla ES2017
> Accordion widget using max-height and CSS transitions

@@ -27,20 +26,2 @@ ## Install

or
Just download this repository and link the files located in dist folder:
```html
<link rel="stylesheet" href="path-to-accordion/dist/accordion.css" type="text/css" />
<script src="path-to-accordion/dist/accordion.min.js"></script>
```
or
Include it from Unpkg CDN
```html
<script src="//unpkg.com/@three11/accordion/dist/accordion.min.js"></script>
```
## Usage

@@ -47,0 +28,0 @@

Sorry, the diff of this file is not supported yet

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