@zywave/zywave-content-apps-bar-chart 0.0.1-pre.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/package.json +53 -0
package/README.md
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# zywave-content-apps-bar-chart
|
2
|
+
|
3
|
+
## Add component as a dependency, in another project
|
4
|
+
|
5
|
+
_npm_:
|
6
|
+
|
7
|
+
```shell
|
8
|
+
> npm i --save @zywave/zywave-content-apps-bar-chart
|
9
|
+
```
|
10
|
+
|
11
|
+
_yarn_:
|
12
|
+
|
13
|
+
```shell
|
14
|
+
> yarn add @zywave/zywave-content-apps-bar-chart
|
15
|
+
```
|
16
|
+
|
17
|
+
_pnpm_:
|
18
|
+
|
19
|
+
```shell
|
20
|
+
> pnpm add @zywave/zywave-content-apps-bar-chart
|
21
|
+
```
|
22
|
+
|
23
|
+
## Running locally
|
24
|
+
|
25
|
+
Develop and run lab
|
26
|
+
|
27
|
+
```shell
|
28
|
+
> cd packages/zywave-content-apps-bar-chart
|
29
|
+
> npm run serve:watch
|
30
|
+
```
|
package/package.json
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
{
|
2
|
+
"name": "@zywave/zywave-content-apps-bar-chart",
|
3
|
+
"version": "0.0.1-pre.0",
|
4
|
+
"type": "module",
|
5
|
+
"main": "index.js",
|
6
|
+
"module": "index.js",
|
7
|
+
"typings": "index.d.ts",
|
8
|
+
"files": [
|
9
|
+
"/index.{d.ts,d.ts.map,js,js.map}",
|
10
|
+
"/zywave-content-apps-bar-chart.{d.ts,d.ts.map,js,js.map}"
|
11
|
+
],
|
12
|
+
"publishConfig": {
|
13
|
+
"access": "public"
|
14
|
+
},
|
15
|
+
"scripts": {
|
16
|
+
"build": "wireit",
|
17
|
+
"build:watch": "npm run build --watch",
|
18
|
+
"serve": "wireit",
|
19
|
+
"serve:watch": "npm-run-all --parallel serve build:watch",
|
20
|
+
"test": "wireit"
|
21
|
+
},
|
22
|
+
"wireit": {
|
23
|
+
"build": {
|
24
|
+
"command": "tsc --build --pretty",
|
25
|
+
"files": [
|
26
|
+
"src/**/*.ts",
|
27
|
+
"tsconfig.json"
|
28
|
+
],
|
29
|
+
"output": [
|
30
|
+
"index.js{,.map}",
|
31
|
+
"zywave-content-apps-bar-chart.js{,.map}"
|
32
|
+
],
|
33
|
+
"clean": "if-file-deleted"
|
34
|
+
},
|
35
|
+
"serve": {
|
36
|
+
"command": "web-dev-server -- --config ../../web-dev-server.config.mjs",
|
37
|
+
"#comment": "TODO(aomarks) Depend only on build:ts, but needs export conditions",
|
38
|
+
"dependencies": [
|
39
|
+
"build"
|
40
|
+
]
|
41
|
+
},
|
42
|
+
"test": {
|
43
|
+
"command": "web-test-runner test/**/*.test.js --node-resolve --playwright --browsers chromium firefox webkit",
|
44
|
+
"dependencies": [
|
45
|
+
"build"
|
46
|
+
]
|
47
|
+
}
|
48
|
+
},
|
49
|
+
"dependencies": {
|
50
|
+
"chart.js": "^4.4.4",
|
51
|
+
"react": "^18.2.0"
|
52
|
+
}
|
53
|
+
}
|