@open-charging-cloud/chargy-core 0.1.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/LICENSE +661 -0
- package/README.md +30 -0
- package/dist/index.d.ts +2354 -0
- package/dist/index.js +17252 -0
- package/dist/index.js.map +1 -0
- package/i18n.json +1353 -0
- package/package.json +84 -0
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Chargy Core TS
|
|
2
|
+
|
|
3
|
+
Shared TypeScript core for ChargyDesktopApp, ChargyWebApp, and the future ChargyMobileApp.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
import { Chargy } from "@open-charging-cloud/chargy-core";
|
|
9
|
+
import { OCMF } from "@open-charging-cloud/chargy-core";
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
The package is published as modern ESM and ships generated TypeScript declarations.
|
|
13
|
+
|
|
14
|
+
## Development
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install
|
|
18
|
+
npm run typecheck
|
|
19
|
+
npm test
|
|
20
|
+
npm run build
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
The build emits the package into `dist/`.
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm pack --dry-run
|
|
28
|
+
npm pack
|
|
29
|
+
npm publish
|
|
30
|
+
```
|