{"_id":"@awes-io/base-js","_rev":"4-ad814b4c98c87a4571e3e8bf97d0c627","name":"@awes-io/base-js","dist-tags":{"latest":"1.8.1"},"versions":{"1.8.1":{"private":false,"name":"@awes-io/base-js","version":"1.8.1","description":"A core module for AWES-components.","author":{"name":"AwesCode","url":"https://www.awescode.de/"},"main":"dist/js/main.umd.js","module":"dist/js/main.esm.js","awes-files":["/js/main.js"],"repository":{"type":"git","url":"git@gitlab.awescode.com:awes-io/test-core.git"},"scripts":{"start":"npm run watch","watch":"cross-env NODE_ENV=development gulp","build":"cross-env NODE_ENV=production gulp && rollup -c ./rollup.config.js","test":"jest"},"dependencies":{"axios":"^0.19.0","dayjs":"^1.8.14","loadjs":"^3.5.5","urlify":"^0.3.6","v-tooltip":"^2.0.2","vue":"^2.6.10","vue-router":"^3.0.6","vue-smoothscroll":"^0.2.0","vuex":"^3.1.1"},"devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.2.3","autoprefixer":"^9.4.5","browser-sync":"^2.26.3","core-js":"^2.6.2","cross-env":"^5.2.0","cssnano":"^4.1.8","gulp":"^4.0.0","gulp-clean":"^0.4.0","gulp-noop":"^1.0.0","gulp-plumber":"^1.2.1","gulp-rollup":"^2.16.2","gulp-sourcemaps":"^2.6.4","jest":"^24.7.1","postcss-import":"^12.0.1","rollup":"^0.68.2","rollup-plugin-babel":"^4.1.0","rollup-plugin-commonjs":"^9.2.0","rollup-plugin-json":"^3.1.0","rollup-plugin-license":"^0.7.0","rollup-plugin-node-resolve":"^4.0.0","rollup-plugin-postcss":"^1.6.3","rollup-plugin-terser":"^4.0.2","rollup-plugin-vue":"^4.7.2","vue-template-compiler":"^2.6.10"},"gitHead":"7977f073a3f82dbf7c9521ecb5def3cf837e4861","_id":"@awes-io/base-js@1.8.1","_nodeVersion":"11.10.1","_npmVersion":"6.10.2","dist":{"integrity":"sha512-+ALox66UjeTR4fgDf+pnUGumMl/u1MG6NurKmjJ3c6qEO2Ne3ptx0wS2bjYBoPW5qbTDChb+Ds2Z0XDHRYVFmw==","shasum":"0f87ae292de75a68e20b630f8dd571e60c5c95b4","tarball":"https://registry.npmjs.org/@awes-io/base-js/-/base-js-1.8.1.tgz","fileCount":7,"unpackedSize":838055,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXTyWCRA9TVsSAnZWagAAY54P/i4TfiWaKaGuGQ+eNkhn\nYhvJ65gTiRjYUKIlBYWt9unKSBrsuxulL/04/fVzNMgaC/VrYPwqKexRb2rS\nsmifv32L8Us7U8qG+mq+lPAva4Dv3/HLPmop8te70RJJHJX6+gvnFe5aP0xx\nmncb1dDwKWd+AJjJ+XrW67Eakj+EhxXhsuv4DFVCB1Eo3ppb2BfoiK3K9kwb\n8GVrs+yTUva3ZA05oRKGAbfOCLpzWI1SgatlruD9pBQyl+1v/nctHClgxnXn\n3i+wvTuv38qFDmtv2I/zAz8X+Lx6WxnXM/ctAGh9l98dU/l5rs9pTEEN1pQV\nfSb0C+K6ZLSXskk62WbVdcpfQDUyRmGSDY+bR29d9KUd0PHo2jCWMgeOjyS3\nBlmUi8ULsHdUGeTDMRQE3JEQjm5p05RA50D246dhkBEwlsjXoJo/Qac2lhoY\n0N1wy63q+FJJXo1MMsnKY/+q/kwx2nKtCPg2R6Ut8RZ1vkBTER70W4NMtOFR\nI2R9H0jGOLPcAWnI5Qq+3bqhz2fKjRaH+iV/ZhIT/HDJsaJsPJQMvUIR5LOm\nXmL/FZTzE57yv+KomjKKTR9uQWyF4qw/di12ozHMJJtHURq8PW/egU2gDeY2\n7KP/suSy5xM1fzBPIKibUu5OHKfNCnFxiag+vQmdlYj/ob4octlAJ8Dn4Yku\nIZL4\r\n=HFiW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEoEFjqSbyqRute5rVl0CzEahxgkyAg5gCsIP5MxxYmSAiBx4zhy1Fj3a40/q43Luj/sg3E4es+Oit0vh5zKCQGMdg=="}]},"maintainers":[{"name":"awescode","email":"info@awescode.de"},{"name":"illjah42","email":"ilya.kitayev@gmail.com"}],"_npmUser":{"name":"illjah42","email":"ilya.kitayev@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/base-js_1.8.1_1566391446158_0.6000017171213645"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-21T12:44:05.961Z","1.8.1":"2019-08-21T12:44:06.370Z","modified":"2023-07-06T11:41:09.008Z"},"maintainers":[{"email":"ilya.kitayev@gmail.com","name":"illjah42"},{"email":"info@awescode.de","name":"awescode"},{"email":"falkonseo@gmail.com","name":"the-alex"}],"description":"A core module for AWES-components.","repository":{"type":"git","url":"git@gitlab.awescode.com:awes-io/test-core.git"},"author":{"name":"AwesCode","url":"https://www.awescode.de/"},"readme":"# BaseJS\n\n[![Coverage report](https://repo.pkgkit.com/4GBWO/awes-io/base-js/badges/master/coverage.svg)](https://www.pkgkit.com/)\n[![Build status](https://repo.pkgkit.com/4GBWO/awes-io/base-js/badges/master/build.svg)](https://www.pkgkit.com/)\n[![Composer Ready](https://www.pkgkit.com/4GBWO/awes-io/base-js/status.svg)](https://www.pkgkit.com/)\n[![Downloads](https://www.pkgkit.com/4GBWO/awes-io/base-js/downloads.svg)](https://www.pkgkit.com/)\n[![Last version](https://www.pkgkit.com/4GBWO/awes-io/base-js/version.svg)](https://www.pkgkit.com/)\n\n\nThis is where your description should go. Take a look at [contributing.md](contributing.md) to see a to do list.\n\n## Installation\n\nVia Composer\n\n``` bash\n$ composer require awes-io/base-js\n```\n\nThe package will automatically register itself.\n\nYou can publish the migration with:\n\n```bash\nphp artisan vendor:publish --provider=\"AwesIO\\BaseJS\\Providers\\BaseJSServiceProvider\" --tag=\"migrations\"\n```\n\nAfter the migration has been published you can create the table for BaseJS by running the migrations:\n\n```bash\nphp artisan migrate\n```\n\nYou can publish the config file with:\n\n```bash\nphp artisan vendor:publish --provider=\"AwesIO\\BaseJS\\Providers\\BaseJSServiceProvider\" --tag=\"config\"\n```\n\nPublish js/css files for all awes-io packages\n\n```\nphp artisan vendor:publish --tag=awes-public\n```\n\n## Examples of use\n\n```php\nuse AwesIO\\BaseJS\\Facades\\BaseJS;\n\nBaseJS::lowerStr('Some String'); // 'some string'\n\nBaseJS::count(); // 1\n```\n\n## Methods\n\n#### example()\n\nDescription some example.\n\n#### count()\n\nDescription some count.\n\n#### validate(string $email)\n\nThrows an `InvalidArgumentException` is email is invalid.\n\n## Testing\n\nYou can run the tests with:\n\n```bash\ncomposer test\n```\n\n## Frontend development\n\n### Stack\n\n- Gulp to run all tasks ( configure in `gulpfile.js` )\n- Rollup to bundle javascript ( configure in `rollup.config.js` )\n- Babel for transpiling and polyfilling for legacy browsers ( configure in `.babelrc.js` )\n- Stylus and PostCSS to process and bundle CSS ( configure in `postcss.config.js` )\n- BrowserSync to run dev server ( serves both `/dist` and `/examples` as `http://localhost:3000` )\n\nTarget browsers list can be found in `.browserslistrc` and is used by Babel and PostCSS\n\n**Caution** `/dist` folder is cleared each time the Gulp starts. For long-term files saving use `examples` folder\n\n### NPM scripts\n\n`npm run watch` or `npm start` to run dev server with live reload\n`npm run build` to build production minified version\n\n## Contributing\n\nPlease see [contributing.md](contributing.md) for details and a todolist.\n\n## Security\n\nIf you discover any security related issues, please email :author_email instead of using the issue tracker.\n\n## Credits\n\n- [theAlex][link-author]\n- [All Contributors][link-contributors]\n\n## License\n\nGNU General Public License v3.0. Please see the [license file](license.md) for more information.\n\n[ico-version]: https://img.shields.io/packagist/v/awesio/basejs.svg?style=flat-square\n[ico-downloads]: https://img.shields.io/packagist/dt/awesio/basejs.svg?style=flat-square\n[ico-travis]: https://img.shields.io/travis/awesio/basejs/master.svg?style=flat-square\n[ico-styleci]: https://styleci.io/repos/12345678/shield\n\n[link-packagist]: https://packagist.org/packages/awesio/basejs\n[link-downloads]: https://packagist.org/packages/awesio/basejs\n[link-travis]: https://travis-ci.org/awesio/basejs\n[link-styleci]: https://styleci.io/repos/12345678\n[link-author]: https://github.com/awesio\n[link-contributors]: ../../contributors]\n","readmeFilename":"README.md"}