angular2-cookie-law
Advanced tools
Comparing version 0.1.5 to 0.1.6
# Changelog | ||
## 0.1.6 - 2017.01.22 | ||
* Demo Angular2 app | ||
* `husky` to replace deprecated `ghooks` | ||
* Documentation updated | ||
## 0.1.3 - 2017.01.22 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "angular2-cookie-law", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "Angular2 component that provides a banner to inform users about cookie law", | ||
@@ -11,2 +11,3 @@ "main": "index.js", | ||
"lint": "tslint -c tslint.json src/**/*.ts", | ||
"precommit": "npm run lint && npm run test:headless", | ||
"commit": "git-cz", | ||
@@ -45,3 +46,2 @@ "semantic-release": "semantic-release pre && npm publish && semantic-release post" | ||
"angular2-template-loader": "0.6.0", | ||
"assets-webpack-plugin": "3.5.0", | ||
"awesome-typescript-loader": "2.2.4", | ||
@@ -53,3 +53,3 @@ "codelyzer": "2.0.0-beta.4", | ||
"cz-conventional-changelog": "1.2.0", | ||
"ghooks": "^2.0.0", | ||
"husky": "0.13.1", | ||
"istanbul-instrumenter-loader": "1.2.0", | ||
@@ -66,3 +66,3 @@ "jasmine-core": "2.5.2", | ||
"karma-webpack": "2.0.1", | ||
"raw-loader": "^0.5.1", | ||
"raw-loader": "0.5.1", | ||
"rxjs": "5.0.2", | ||
@@ -80,7 +80,4 @@ "semantic-release": "6.3.2", | ||
"path": "./node_modules/cz-conventional-changelog" | ||
}, | ||
"ghooks": { | ||
"pre-commit": "npm run lint && npm run test:headless" | ||
} | ||
} | ||
} |
@@ -18,2 +18,3 @@ [![Build Status](https://travis-ci.org/andreasonny83/angular2-cookie-law.svg?branch=master)](https://travis-ci.org/andreasonny83/angular2-cookie-law) | ||
* [Example](#example) | ||
* [Demo App](#demo-app) | ||
* [Options](#options) | ||
@@ -133,2 +134,27 @@ * [Contributing](#contributing) | ||
# Demo App | ||
Have a look at the [example](https://github.com/andreasonny83/angular2-cookie-law/tree/master/example) | ||
available in this repository for a real Angular2 application using the `Angular2-Cookie-Law` library. | ||
From your termianl, navigate inside the `demo` folder, then install all the Node dependencies using npm: | ||
```bash | ||
npm install | ||
``` | ||
Or Yarn with: | ||
```bash | ||
yarn install | ||
``` | ||
Then initialize the application with: | ||
```bash | ||
npm start | ||
``` | ||
Open your browser to [http://localhost:9008/](http://localhost:9008/) | ||
to see the application running. | ||
## Options | ||
@@ -135,0 +161,0 @@ |
@@ -21,1 +21,6 @@ /** | ||
export class CookieLawModule { } | ||
export { | ||
CookieLawComponent, | ||
CookieLawService | ||
}; |
@@ -8,13 +8,5 @@ { | ||
"experimentalDecorators": true, | ||
"allowSyntheticDefaultImports": true, | ||
"sourceMap": true, | ||
"noEmitHelpers": true, | ||
"strictNullChecks": false, | ||
"baseUrl": "./src", | ||
"paths": { | ||
}, | ||
"lib": [ | ||
"dom", | ||
"es6" | ||
], | ||
"lib": ["dom", "es6"], | ||
"types": [ | ||
@@ -30,3 +22,3 @@ "jasmine", | ||
"node_modules", | ||
"dist" | ||
"demo" | ||
], | ||
@@ -33,0 +25,0 @@ "awesomeTypescriptLoaderOptions": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
255103
38
31
209
0
515