-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·86 lines (86 loc) · 2.58 KB
/
Copy pathpackage.json
File metadata and controls
executable file
·86 lines (86 loc) · 2.58 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "@threespot/freeze-scroll",
"version": "1.1.0",
"description": "Prevent scrolling",
"main": "dist/freeze-scroll.m.js",
"module": "index.mjs",
"exports": {
".": {
"import": "./index.mjs",
"require": "./dist/freeze-scroll.m.js"
}
},
"homepage": "https://threespot.github.io/freeze-scroll/",
"author": "Threespot <hello@threespot.com>",
"contributors": [
"Mat Brady <matbr8dy@gmail.com>",
"Ted Whitehead <tedwhitehead@gmail.com>"
],
"repository": {
"type": "git",
"url": "git://github.com/Threespot/freeze-scroll.git"
},
"keywords": [
"expand",
"collapse",
"expandable",
"menu"
],
"bugs": {
"url": "https://github.com/Threespot/freeze-scroll/issues"
},
"engines": {
"node": ">=20.0.0"
},
"license": "MIT",
"private": false,
"scripts": {
"webpack": "webpack --config webpack.config.js",
"docs": "jsdoc index.js -t node_modules/minami --readme README.md --destination docs",
"test:prod": "jest --coverage",
"test": "jest --coverage --no-cache",
"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:prod",
"version": "yarn webpack && yarn docs && git add .",
"postversion": "git push && git push --tags"
},
"jest": {
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleDirectories": [
"node_modules"
],
"setupFilesAfterEnv": [
"./test/mocks.js"
]
},
"devDependencies": {
"@babel/core": "^7.18.13",
"@babel/plugin-transform-modules-commonjs": "^7.18.6",
"@babel/preset-env": "^7.18.10",
"babel-jest": "^26.3.0",
"babel-loader": "^8.1.0",
"babel-plugin-add-module-exports": "^1.0.2",
"eslint-loader": "^4.0.2",
"eslint": "^7.8.1",
"jest": "^26.4.2",
"jsdoc": "^3.6.11",
"minami": "^1.2.3",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack-cli": "^3.3.12",
"webpack": "^4.44.1",
"webpack-merge": "^5.1.3"
},
"dependencies": {},
"directories": {
"doc": "docs",
"test": "test"
}
}