@haxtheweb/simple-icon
Advanced tools
Comparing version 9.0.6 to 9.0.7
@@ -23,3 +23,3 @@ { | ||
}, | ||
"version": "9.0.6", | ||
"version": "9.0.7", | ||
"description": "Render an SVG based icon", | ||
@@ -50,3 +50,3 @@ "repository": { | ||
"dependencies": { | ||
"@haxtheweb/simple-colors": "^9.0.6", | ||
"@haxtheweb/simple-colors": "^9.0.7", | ||
"flag-icons": "6.6.4", | ||
@@ -56,7 +56,7 @@ "lit": "^3.2.0" | ||
"devDependencies": { | ||
"@haxtheweb/deduping-fix": "^9.0.6", | ||
"@haxtheweb/deduping-fix": "^9.0.7", | ||
"@open-wc/testing": "4.0.0", | ||
"@polymer/iron-component-page": "github:PolymerElements/iron-component-page", | ||
"@polymer/iron-demo-helpers": "3.1.0", | ||
"@web/dev-server": "0.4.2", | ||
"@web/dev-server": "0.4.6", | ||
"@webcomponents/webcomponentsjs": "^2.8.0", | ||
@@ -77,3 +77,3 @@ "concurrently": "8.2.2", | ||
], | ||
"gitHead": "04cae22f40424464d43057349cde27f55cb32ca1" | ||
"gitHead": "f594e7d20e2b7a815d085b12b1e0c8adc3504293" | ||
} |
@@ -12,35 +12,14 @@ # <simple-icon> | ||
import '@haxtheweb/simple-icon/simple-icon.js'; | ||
/* At top of an application with build routine */ | ||
<script type="module" src="@haxtheweb/simple-icon/simple-icon.js"></script> | ||
/* Alternatives for top of application */ | ||
<script type="module"> | ||
import '@haxtheweb/simple-icon/simple-icon.js'; | ||
// imperative form | ||
import {SimpleIcon} from '@haxtheweb/simple-icon'; | ||
// if you don't have a build routine and need to reference directly | ||
import './node_modules/@haxtheweb/simple-icon/simple-icon.js'; | ||
</script> | ||
// via unpkg CDN (good for testing) | ||
<script type="module" src="https://unpkg.com/@haxtheweb/simple-icon/simple-icon.js"></script> | ||
/* CDN */ | ||
<script type="module" src="https://cdn.hax.cloud/cdn/build/es6/node_modules/@haxtheweb/simple-icon/simple-icon.js"></script> | ||
``` | ||
## Develop / Demo | ||
Run `yarn start` will start a local development server, open your default browser to display it, open your finder to the correct window and start watching the `/src` directory for changes and automatically rebuilding the element and documentation site for the demo. | ||
Run `npm start` will start a local development server, open your default browser to display it, open your finder to the correct window and start watching the `/src` directory for changes and automatically rebuilding the element and documentation site for the demo. | ||
```bash | ||
$ yarn start | ||
$ npm start | ||
``` | ||
## Test | ||
```bash | ||
$ yarn run test | ||
``` | ||
## Build | ||
Builds ensure that wcfactory can correctly compile your web component project to | ||
work on the maximum number of browsers possible. | ||
```bash | ||
$ yarn run build | ||
``` | ||
## Contributing | ||
@@ -47,0 +26,0 @@ |
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
419465
990
2868
42