@haxtheweb/simple-colors-shared-styles
Advanced tools
Comparing version 9.0.6 to 9.0.7
@@ -15,3 +15,3 @@ { | ||
}, | ||
"version": "9.0.6", | ||
"version": "9.0.7", | ||
"description": "shared styles for simple-colors", | ||
@@ -44,7 +44,7 @@ "repository": { | ||
"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", | ||
@@ -65,3 +65,3 @@ "concurrently": "8.2.2", | ||
], | ||
"gitHead": "04cae22f40424464d43057349cde27f55cb32ca1" | ||
"gitHead": "f594e7d20e2b7a815d085b12b1e0c8adc3504293" | ||
} |
@@ -12,35 +12,14 @@ # <simple-colors-shared-styles> | ||
import '@haxtheweb/simple-colors-shared-styles/simple-colors-shared-styles.js'; | ||
/* At top of an application with build routine */ | ||
<script type="module" src="@haxtheweb/simple-colors-shared-styles/simple-colors-shared-styles.js"></script> | ||
/* Alternatives for top of application */ | ||
<script type="module"> | ||
import '@haxtheweb/simple-colors-shared-styles/simple-colors-shared-styles.js'; | ||
// imperative form | ||
import {SimpleColorsSharedStyles} from '@haxtheweb/simple-colors-shared-styles'; | ||
// if you don't have a build routine and need to reference directly | ||
import './node_modules/@haxtheweb/simple-colors-shared-styles/simple-colors-shared-styles.js'; | ||
</script> | ||
// via unpkg CDN (good for testing) | ||
<script type="module" src="https://unpkg.com/@haxtheweb/simple-colors-shared-styles/simple-colors-shared-styles.js"></script> | ||
/* CDN */ | ||
<script type="module" src="https://cdn.hax.cloud/cdn/build/es6/node_modules/@haxtheweb/simple-colors-shared-styles/simple-colors-shared-styles.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 @@ |
115409
16
2337
42