diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..df7dd9e --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,27 @@ +name: build + +on: + push: + branches-ignore: + - master + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: setup node + uses: actions/setup-node@v1 + with: + node-version: 12 + - name: npm ci, build, and test + run: | + npm ci + npm run lint + npm run build + npm run test + npx codecov --file=./coverage/coverage-final.json --disable=gcov + env: + CI: true + CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..d922e8d --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,55 @@ +name: publish + +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: setup node + uses: actions/setup-node@v1 + with: + node-version: 12 + - name: npm ci, build, and test + run: | + npm ci + npm run lint + npm run build + npm run test + npx codecov --file=./coverage/coverage-final.json --disable=gcov + env: + CI: true + CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}} + + publish-npm: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: 12 + registry-url: https://registry.npmjs.org/ + - run: npm ci + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + + publish-gpr: + needs: build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: 12 + registry-url: https://npm.pkg.github.com/ + scope: '@ranndev' + - run: npm ci + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.GPR_TOKEN}} diff --git a/.npmignore b/.npmignore index c0a3a38..c2ca49b 100644 --- a/.npmignore +++ b/.npmignore @@ -1,3 +1,4 @@ +.github .vscode .ts_cache* coverage @@ -9,7 +10,6 @@ typings .gitattributes .gitignore .prettierrc -.travis.yml CODE_OF_CONDUCT.md CONTRIBUTING.md gulpfile.js diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9295847..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: node_js -node_js: - - "8.12.0" -script: - - yarn build -after_success: - - yarn codecov --token=84ec10f0-28a0-49bf-8473-bae5be558b4c --disable=gcov diff --git a/.vscode/settings.json b/.vscode/settings.json index b76de47..c4e3c92 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,8 +1,6 @@ { "editor.formatOnSave": true, "editor.rulers": [120], - "prettier.eslintIntegration": false, - "prettier.tslintIntegration": true, "[jsonc]": { "editor.defaultFormatter": "esbenp.prettier-vscode" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2be1fec..acaa1ec 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,13 +4,13 @@ First off, thank you for considering contributing to AngularJS Store. It’s peo **Found an issue or want to submit a new feature?** -1. Make sure to [file an issue](https://github.com/rannie-peralta/angularjs-store/issues/new) first. -2. Before [you create your pull request](https://github.com/rannie-peralta/angularjs-store/pulls). +1. Make sure to [file an issue](https://github.com/ranndev/angularjs-store/issues/new) first. +2. Before [you create your pull request](https://github.com/ranndev/angularjs-store/pulls). 3. Let's discuss there what we can do. **Documentation correction** -1. [File an issue](https://github.com/rannie-peralta/angularjs-store/issues/new) for your spotted incorrect documentation. +1. [File an issue](https://github.com/ranndev/angularjs-store/issues/new) for your spotted incorrect documentation. 2. After we confirmed that it was really an error, - you either be granted to have an access to correct it on [GitBook](https://www.gitbook.com/) by your own - or other contributor that already have an access will update the documentation for you. diff --git a/README.md b/README.md index 18dd03b..ef213f4 100644 --- a/README.md +++ b/README.md @@ -4,32 +4,32 @@ AngularJS Store will guide you to create a one-way data flow in your application (Single Source of Truth). Manage your AngularJS application's state into a very predictable way. -[![Build Status](https://travis-ci.com/rannie-peralta/angularjs-store.svg?branch=master)](https://travis-ci.com/rannie-peralta/angularjs-store) -[![codecov](https://codecov.io/gh/rannie-peralta/angularjs-store/branch/develop/graph/badge.svg)](https://codecov.io/gh/rannie-peralta/angularjs-store) -[![Greenkeeper badge](https://badges.greenkeeper.io/rannie-peralta/angularjs-store.svg)](https://greenkeeper.io/) +[![Build Status](https://travis-ci.com/ranndev/angularjs-store.svg?branch=master)](https://travis-ci.com/ranndev/angularjs-store) +[![codecov](https://codecov.io/gh/ranndev/angularjs-store/branch/develop/graph/badge.svg)](https://codecov.io/gh/ranndev/angularjs-store) +[![Greenkeeper badge](https://badges.greenkeeper.io/ranndev/angularjs-store.svg)](https://greenkeeper.io/) ## Installation **NPM** ``` -npm install --save angularjs-store +npm install --save @ranndev/angularjs-store ``` **Yarn** ``` -yarn add angularjs-store +yarn add @ranndev/angularjs-store ``` **CDN** ```html - + - + ``` ## Quick Start @@ -141,7 +141,7 @@ app.controller('YourController', function YourController($scope, counterStore) { ## Demo - Sample App - https://angularjs-store-demo.netlify.com -- Source Code - https://github.com/rannie-peralta/angularjs-store-demo +- Source Code - https://github.com/ranndev/angularjs-store-demo ## Contributing @@ -149,7 +149,7 @@ AngularJS Store is an open source project and we love to receive contributions f ## Collaborators -- [Rannie Peralta](https://github.com/rannie-peralta) +- [Rannie Peralta](https://github.com/ranndev) ## License diff --git a/jest.config.js b/jest.config.js index 96edc21..7c8b75b 100644 --- a/jest.config.js +++ b/jest.config.js @@ -3,11 +3,12 @@ module.exports = { collectCoverage: true, - collectCoverageFrom: ['/src/**/*', '!/src/**/__snapshots__/*'], + collectCoverageFrom: ['/src/**/*.ts'], coverageDirectory: 'coverage', setupFilesAfterEnv: ['/jest.setup.js'], testMatch: ['/src/**/*.test.ts'], testPathIgnorePatterns: [ + '/.github', '/.vscode', '/coverage', '/dist', diff --git a/package-lock.json b/package-lock.json index ab856c8..66a3d33 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "angularjs-store", + "name": "@ranndev/angularjs-store", "version": "4.0.1", "lockfileVersion": 1, "requires": true, @@ -519,20 +519,14 @@ } }, "@types/jest": { - "version": "24.0.18", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-24.0.18.tgz", - "integrity": "sha512-jcDDXdjTcrQzdN06+TSVsPPqxvsZA/5QkYfIZlq1JMw7FdP5AZylbOc+6B/cuDurctRe+MziUMtQ3xQdrbjqyQ==", + "version": "24.0.23", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-24.0.23.tgz", + "integrity": "sha512-L7MBvwfNpe7yVPTXLn32df/EK+AMBFAFvZrRuArGs7npEWnlziUXK+5GMIUTI4NIuwok3XibsjXCs5HxviYXjg==", "dev": true, "requires": { - "@types/jest-diff": "*" + "jest-diff": "^24.3.0" } }, - "@types/jest-diff": { - "version": "20.0.1", - "resolved": "https://registry.npmjs.org/@types/jest-diff/-/jest-diff-20.0.1.tgz", - "integrity": "sha512-yALhelO3i0hqZwhjtcr6dYyaLoCHbAMshwtj6cGxTvHZAKXHsYGdff6E8EPw3xLKY0ELUTQ69Q1rQiJENnccMA==", - "dev": true - }, "@types/minimatch": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz", @@ -540,9 +534,9 @@ "dev": true }, "@types/node": { - "version": "12.11.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.11.7.tgz", - "integrity": "sha512-JNbGaHFCLwgHn/iCckiGSOZ1XYHsKFwREtzPwSGCVld1SGhOlmZw2D4ZI94HQCrBHbADzW9m4LER/8olJTRGHA==", + "version": "12.12.12", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.12.tgz", + "integrity": "sha512-MGuvYJrPU0HUwqF7LqvIj50RZUX23Z+m583KBygKYUZLlZ88n6w28XRNJRJgsHukLEnLz6w6SvxZoLgbr5wLqQ==", "dev": true }, "@types/normalize-package-data": { @@ -1424,9 +1418,9 @@ "dev": true }, "codecov": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/codecov/-/codecov-3.5.0.tgz", - "integrity": "sha512-/OsWOfIHaQIr7aeZ4pY0UC1PZT6kimoKFOFYFNb6wxo3iw12nRrh+mNGH72rnXxNsq6SGfesVPizm/6Q3XqcFQ==", + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/codecov/-/codecov-3.6.1.tgz", + "integrity": "sha512-IUJB6WG47nWK7o50etF8jBadxdMw7DmoQg05yIljstXFBGB6clOZsIj6iD4P82T2YaIU3qq+FFu8K9pxgkCJDQ==", "dev": true, "requires": { "argv": "^0.0.2", @@ -1768,9 +1762,9 @@ "dev": true }, "diff": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", - "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.1.tgz", + "integrity": "sha512-s2+XdvhPCOF01LRQBC8hf4vhbVmI2CGS5aZnxLJlT5FtdhPCDFq80q++zK2KlrVorVDdL5BOGZ/VfLrVtYNF+Q==", "dev": true }, "diff-sequences": { @@ -2247,9 +2241,9 @@ } }, "find-cache-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.0.0.tgz", - "integrity": "sha512-t7ulV1fmbxh5G9l/492O1p5+EBbr3uwpt6odhFTMc+nWyhmbloe+ja9BZ8pIBtqFWhOmCWVjx+pTW4zDkFoclw==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.1.0.tgz", + "integrity": "sha512-zw+EFiNBNPgI2NTrKkDd1xd7q0cs6wr/iWnr/oUkI0yF9K9GqQ+riIt4aiyFaaqpaWbxPrJXHI+QvmNUQbX+0Q==", "dev": true, "requires": { "commondir": "^1.0.1", @@ -3300,9 +3294,9 @@ } }, "https-proxy-agent": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.2.tgz", - "integrity": "sha512-c8Ndjc9Bkpfx/vCJueCPy0jlP4ccCCSNDp8xwCZzPjKJUm+B+u9WX2x98Qx4n1PiMNTWo3D7KK5ifNV/yJyRzg==", + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz", + "integrity": "sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==", "dev": true, "requires": { "agent-base": "^4.3.0", @@ -3310,20 +3304,20 @@ } }, "husky": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/husky/-/husky-3.0.7.tgz", - "integrity": "sha512-fIrkaREoQk6DO8KnSX16Aq7Kg9SxqYYQZH/9b+4AxXyXNNgpJLsc8lWlQCShLus1nbujIyZ/WQZBHGwClohK/w==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/husky/-/husky-3.1.0.tgz", + "integrity": "sha512-FJkPoHHB+6s4a+jwPqBudBDvYZsoQW5/HBuMSehC8qDiCe50kpcxeqFoDSlow+9I6wg47YxBoT3WxaURlrDIIQ==", "dev": true, "requires": { "chalk": "^2.4.2", + "ci-info": "^2.0.0", "cosmiconfig": "^5.2.1", "execa": "^1.0.0", "get-stdin": "^7.0.0", - "is-ci": "^2.0.0", "opencollective-postinstall": "^2.0.2", "pkg-dir": "^4.2.0", "please-upgrade-node": "^3.2.0", - "read-pkg": "^5.1.1", + "read-pkg": "^5.2.0", "run-node": "^1.0.0", "slash": "^3.0.0" }, @@ -3370,9 +3364,9 @@ "dev": true }, "ignore-walk": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.1.tgz", - "integrity": "sha512-DTVlMx3IYPe0/JJcYP7Gxg7ttZZu3IInhuEhbchuqneY9wWe5Ojy2mXLBaQFUQmo0AW2r3qG7m1mg86js+gnlQ==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.3.tgz", + "integrity": "sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw==", "dev": true, "requires": { "minimatch": "^3.0.4" @@ -4883,6 +4877,12 @@ "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", "dev": true }, + "lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", + "dev": true + }, "lodash.sortby": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", @@ -5751,9 +5751,9 @@ "dev": true }, "prettier": { - "version": "1.18.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.18.2.tgz", - "integrity": "sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==", + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.19.1.tgz", + "integrity": "sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==", "dev": true }, "pretty-format": { @@ -5783,9 +5783,9 @@ "dev": true }, "pretty-quick": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pretty-quick/-/pretty-quick-2.0.0.tgz", - "integrity": "sha512-PcM4S8nTMloTWl1KRkvkf0wAd4+WMH1Lzysey/xyTF5736bwltVyZXlnzP8l/0qUrpvmtzIpm2ecYiX84Qf5Yg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pretty-quick/-/pretty-quick-2.0.1.tgz", + "integrity": "sha512-y7bJt77XadjUr+P1uKqZxFWLddvj3SKY6EU4BuQtMxmmEFSMpbN132pUWdSG1g1mtUfO0noBvn7wBf0BVeomHg==", "dev": true, "requires": { "chalk": "^2.4.2", @@ -5871,9 +5871,9 @@ "dev": true }, "path-key": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.0.tgz", - "integrity": "sha512-8cChqz0RP6SHJkMt48FW0A7+qUOn+OsnOsVtzI59tZ8m+5bCSk7hzwET0pulwOM2YMn9J1efb07KB9l9f30SGg==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true }, "pump": { @@ -5902,9 +5902,9 @@ "dev": true }, "which": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.1.tgz", - "integrity": "sha512-N7GBZOTswtB9lkQBZA4+zAXrjEIWAUOB93AvzUiudRzRxhUdLURQ7D/gAIMY1gatT/LTbmbcv8SiYazy3eYB7w==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, "requires": { "isexe": "^2.0.0" @@ -6247,9 +6247,9 @@ } }, "rollup": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-1.26.0.tgz", - "integrity": "sha512-5HljNYn9icFvXX+Oe97qY5TWvnWhKqgGT0HGeWWqFPx7w7+Anzg7dfHMtUif7YYy6QxAgynDSwK6uxbgcrVUxw==", + "version": "1.27.4", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-1.27.4.tgz", + "integrity": "sha512-UaGNOIax/Ixfd92CAAanUilx2RSkkwEfC1lCTw1eL5Re6NURWgX66ARZt5+3px4kYnpSwzyOot4r18c2b+QgJQ==", "dev": true, "requires": { "@types/estree": "*", @@ -6276,9 +6276,9 @@ } }, "rollup-plugin-terser": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-5.1.1.tgz", - "integrity": "sha512-McIMCDEY8EU6Y839C09UopeRR56wXHGdvKKjlfiZG/GrP6wvZQ62u2ko/Xh1MNH2M9WDL+obAAHySljIZYCuPQ==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-5.1.2.tgz", + "integrity": "sha512-sWKBCOS+vUkRtHtEiJPAf+WnBqk/C402fBD9AVHxSIXMqjsY7MnYWKYEUqGixtr0c8+1DjzUEPlNgOYQPVrS1g==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", @@ -6289,9 +6289,9 @@ } }, "rollup-plugin-typescript2": { - "version": "0.25.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.25.0.tgz", - "integrity": "sha512-aPBagJ8Gw7w35ktVntCgaC3EQN7WjZ17hhpGNvSoMLP+2CydCKxb7vnyI6fQ3Rxl1bSwo5qqNwbc9q8QaMTzuA==", + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.25.2.tgz", + "integrity": "sha512-+tpZj/ZIf2lwjyjX6xEW1S5Y38/21TB3p6poLodISIia8owMMfIKuFFnWcESE4FPBHkR8XPKqjY0PH9IUJJK+Q==", "dev": true, "requires": { "find-cache-dir": "^3.0.0", @@ -6388,9 +6388,9 @@ } }, "serialize-javascript": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-1.8.0.tgz", - "integrity": "sha512-3tHgtF4OzDmeKYj6V9nSyceRS0UJ3C7VqyD2Yj28vC/z2j6jG5FmFGahOKMD9CrglxTm3tETr87jEypaYV8DUg==", + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-1.9.1.tgz", + "integrity": "sha512-0Vb/54WJ6k5v8sSWN09S0ora+Hnr+cX40r9F170nT+mSkaxltoE/7R3OrIdBSUv1OoiobH1QoWQbCnAO+e8J1A==", "dev": true }, "set-blocking": { @@ -6867,9 +6867,9 @@ } }, "terser": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-4.2.0.tgz", - "integrity": "sha512-6lPt7lZdZ/13icQJp8XasFOwZjFJkxFFIb/N1fhYEQNoNI3Ilo3KABZ9OocZvZoB39r6SiIk/0+v/bt8nZoSeA==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-4.4.0.tgz", + "integrity": "sha512-oDG16n2WKm27JO8h4y/w3iqBGAOSCtq7k8dRmrn4Wf9NouL0b2WpMHGChFGZq4nFAQy1FsNJrVQHfurXOSTmOA==", "dev": true, "requires": { "commander": "^2.20.0", @@ -7134,15 +7134,16 @@ "dev": true }, "ts-jest": { - "version": "24.0.2", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-24.0.2.tgz", - "integrity": "sha512-h6ZCZiA1EQgjczxq+uGLXQlNgeg02WWJBbeT8j6nyIBRQdglqbvzDoHahTEIiS6Eor6x8mK6PfZ7brQ9Q6tzHw==", + "version": "24.2.0", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-24.2.0.tgz", + "integrity": "sha512-Yc+HLyldlIC9iIK8xEN7tV960Or56N49MDP7hubCZUeI7EbIOTsas6rXCMB4kQjLACJ7eDOF4xWEO5qumpKsag==", "dev": true, "requires": { "bs-logger": "0.x", "buffer-from": "1.x", "fast-json-stable-stringify": "2.x", "json5": "2.x", + "lodash.memoize": "4.x", "make-error": "1.x", "mkdirp": "0.x", "resolve": "1.x", @@ -7174,16 +7175,16 @@ "dev": true }, "tslint": { - "version": "5.19.0", - "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.19.0.tgz", - "integrity": "sha512-1LwwtBxfRJZnUvoS9c0uj8XQtAnyhWr9KlNvDIdB+oXyT+VpsOAaEhEgKi1HrZ8rq0ki/AAnbGSv4KM6/AfVZw==", + "version": "5.20.1", + "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.20.1.tgz", + "integrity": "sha512-EcMxhzCFt8k+/UP5r8waCf/lzmeSyVlqxqMEDQE7rWYiQky8KpIBz1JAoYXfROHrPZ1XXd43q8yQnULOLiBRQg==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", "builtin-modules": "^1.1.1", "chalk": "^2.3.0", "commander": "^2.12.1", - "diff": "^3.2.0", + "diff": "^4.0.1", "glob": "^7.1.1", "js-yaml": "^3.13.1", "minimatch": "^3.0.4", @@ -7252,9 +7253,9 @@ "dev": true }, "typescript": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.5.3.tgz", - "integrity": "sha512-ACzBtm/PhXBDId6a6sDJfroT2pOWt/oOnk4/dElG5G33ZL776N3Y6/6bKZJBFpd+b05F3Ct9qDjMeJmRWtE2/g==", + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.2.tgz", + "integrity": "sha512-ml7V7JfiN2Xwvcer+XAf2csGO1bPBdRbFCkYBczNZggrBZ9c7G3riSUeJmqEU5uOtXNPMhE3n+R4FA/3YOAWOQ==", "dev": true }, "uglify-js": { diff --git a/package.json b/package.json index 1ab845a..8b067c8 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,12 @@ { - "name": "angularjs-store", - "version": "4.0.1", + "name": "@ranndev/angularjs-store", + "version": "4.0.2", "description": "A tool to easily manage your state in AngularJS Application", "main": "dist/cjs/index.js", "module": "dist/esm/angularjs-store.js", "types": "dist/esm/angularjs-store.d.ts", "scripts": { "start": "webpack", - "prepublishOnly": "npm run build", - "prebuild": "npm run lint && npm run test", "build": "gulp build", "watch": "gulp watch", "test:watch": "jest --watch --config=./jest.config.js", @@ -18,7 +16,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/rannie-peralta/angularjs-store.git" + "url": "git+https://github.com/ranndev/angularjs-store.git" }, "keywords": [ "angularjs", @@ -36,30 +34,30 @@ "author": "Rannie Peralta", "license": "MIT", "bugs": { - "url": "https://github.com/rannie-peralta/angularjs-store/issues" + "url": "https://github.com/ranndev/angularjs-store/issues" }, - "homepage": "https://github.com/rannie-peralta/angularjs-store#readme", + "homepage": "https://github.com/ranndev/angularjs-store#readme", "devDependencies": { "@types/angular-mocks": "1.7.0", - "@types/jest": "^24.0.13", - "angular": "1.7.9", + "@types/jest": "^24.0.23", + "angular": "^1.7.9", "angular-mocks": "1.7.9", - "codecov": "^3.5.0", + "codecov": "^3.6.1", "gulp": "^4.0.2", "gulp-clean": "^0.4.0", - "husky": "^3.0.7", + "husky": "^3.1.0", "jest": "^24.9.0", "mkdirp": "^0.5.1", - "prettier": "^1.18.2", - "pretty-quick": "^2.0.0", - "rollup": "^1.26.0", + "prettier": "^1.19.1", + "pretty-quick": "^2.0.1", + "rollup": "^1.27.4", "rollup-plugin-replace": "^2.2.0", - "rollup-plugin-terser": "^5.1.1", - "rollup-plugin-typescript2": "^0.25.0", - "ts-jest": "^24.0.2", - "tslint": "^5.19.0", + "rollup-plugin-terser": "^5.1.2", + "rollup-plugin-typescript2": "^0.25.2", + "ts-jest": "^24.2.0", + "tslint": "^5.20.1", "tslint-config-prettier": "^1.18.0", - "typescript": "^3.5.3" + "typescript": "^3.7.2" }, "dependencies": { "@types/angular": "^1.6.56"