-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·59 lines (59 loc) · 1.9 KB
/
Copy pathpackage.json
File metadata and controls
executable file
·59 lines (59 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "@threespot/expand-toggle",
"version": "4.0.0",
"description": "Simple and accessible expandable functionality, similar to jQuery's `slideToggle()` method.",
"type": "module",
"main": "index.js",
"sass": "./expandable.scss",
"exports": {
".": "./index.js",
"./expandable.scss": "./expandable.scss"
},
"files": [
"index.js",
"expandable.scss"
],
"sideEffects": false,
"homepage": "https://github.com/Threespot/expand-toggle",
"author": "Threespot <hello@threespot.com>",
"contributors": [
"Mat Brady <matbr8dy@gmail.com>",
"Ted Whitehead <tedwhitehead@gmail.com>"
],
"repository": {
"type": "git",
"url": "git://github.com/Threespot/expand-toggle.git"
},
"keywords": [
"expand",
"collapse",
"expandable",
"menu"
],
"bugs": {
"url": "https://github.com/Threespot/expand-toggle/issues"
},
"engines": {
"node": ">=20.0.0"
},
"license": "MIT",
"private": false,
"scripts": {
"test": "node --test test/index.test.js",
"test:coverage": "node --test --experimental-test-coverage test/index.test.js",
"npm-patch": "npm version patch --force -m \"version %s\"",
"npm-minor": "npm version minor --force -m \"version %s\"",
"npm-major": "npm version major --force -m \"version %s\"",
"patch": "read -p 'Confirm create new patch (0.0.x) to npm: (y/n) ' -n 1 -r \n if [[ $REPLY =~ ^[Yy]$ ]] \n then \n yarn npm-patch \n fi",
"minor": "read -p 'Confirm create new minor version (0.x.0) to npm (y/n) ' -n 1 -r \n if [[ $REPLY =~ ^[Yy]$ ]] \n then \n yarn npm-minor \n fi",
"major": "read -p 'Confirm create new major version (x.0.0) to npm (y/n) ' -n 1 -r \n if [[ $REPLY =~ ^[Yy]$ ]] \n then \n yarn npm-major \n fi",
"preversion": "yarn test",
"postversion": "git push && git push --tags"
},
"dependencies": {
"ev-emitter": "^2.1.2"
},
"devDependencies": {
"happy-dom": "^15.0.0"
}
}