-
Notifications
You must be signed in to change notification settings - Fork 127
/
package.json
46 lines (46 loc) · 1.5 KB
/
package.json
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
{
"name": "bootstrap-submenu",
"version": "3.0.1",
"description": "Bootstrap Sub-Menus",
"keywords": [
"bootstrap",
"dropdown",
"jquery-plugin",
"submenu"
],
"homepage": "https://vsn4ik.github.io/bootstrap-submenu/",
"author": {
"name": "Vasilii A.",
"url": "https://github.com/vsn4ik"
},
"repository": "vsn4ik/bootstrap-submenu",
"license": "MIT",
"files": [
"dist",
"css",
"js"
],
"main": "dist/js/bootstrap-submenu.js",
"type": "module",
"scripts": {
"docs": "cd ./docs; ejs ./main.html --data-file ./config.json --output-file ./index.html",
"test": "npm run css; npm run js",
"css": "npm run css-compile; npm run css-minify",
"css-compile": "mkdir -p dist/css; cp -rf css/*.css dist/css/",
"css-minify": "csso dist/css/$npm_package_name.css --output dist/css/$npm_package_name.min.css --source-map file",
"js": "npm run js-compile; npm run js-minify",
"js-compile": "babel --out-dir dist/js/ js/*.js",
"js-minify": "terser --compress --output dist/js/$npm_package_name.min.js dist/js/$npm_package_name.js",
"release-zip": "cd dist/ && zip -r9 $npm_package_name-$npm_package_version-dist.zip * && mv $npm_package_name-$npm_package_version-dist.zip ..",
"serve": "serve --listen 5000 --no-clipboard ./docs/"
},
"devDependencies": {
"@babel/cli": "7.21.0",
"@babel/core": "7.21.0",
"@babel/preset-env": "7.20.2",
"csso-cli": "4.0.1",
"ejs": "3.1.8",
"serve": "14.2.0",
"terser": "5.16.5"
}
}