@borngroup/born-modal
Version:
BORN Module to handle Modals. Provides callbacks and static methods to open, update, and close the modals
44 lines (43 loc) • 1.64 kB
JSON
{
"name": "@borngroup/born-modal",
"version": "2.0.4",
"description": "BORN Module to handle Modals. Provides callbacks and static methods to open, update, and close the modals",
"main": "dist/born-modal.min.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prepare": "npm run build",
"build": "npm-run-all build:*",
"build:commonjs": "babel src/born-modal.js --out-file dist/born-modal.js",
"build:amd": "babel --plugins @babel/plugin-transform-modules-amd src/born-modal.js --out-file dist/born-modal.amd.js",
"build:umd": "babel --plugins @babel/plugin-transform-modules-umd src/born-modal.js --out-file dist/born-modal.umd.js",
"uglify:commonjs": "uglifyjs dist/born-modal.js --output dist/born-modal.min.js",
"uglify:amd": "uglifyjs dist/born-modal.amd.js --output dist/born-modal.amd.min.js",
"uglify:umd": "uglifyjs dist/born-modal.umd.js --output dist/born-modal.umd.min.js",
"postbuild": "npm-run-all uglify:*"
},
"repository": {
"type": "git",
"url": "https://github.com/brian-gonzalez/born-modal"
},
"keywords": [
"modal",
"overlay",
"popup",
"window"
],
"author": "BORN Group FE Team fed@borngroup.com",
"license": "ISC",
"dependencies": {
"@borngroup/born-utilities": "^3.0.0",
"body-scroll-lock": "^2.6.1"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-transform-modules-amd": "^7.12.1",
"@babel/plugin-transform-modules-umd": "^7.12.1",
"@babel/preset-env": "^7.12.11",
"npm-run-all": "^4.1.5",
"uglify-js": "^3.12.6"
}
}