@thescaffold/jsx-core 0.0.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 +61 -0
- package/error/index.d.ts +1 -0
- package/index.d.ts +8 -0
- package/index.js +8 -0
- package/jsx-core.cjs.development.js +1133 -0
- package/jsx-core.cjs.development.js.map +1 -0
- package/jsx-core.cjs.production.min.js +2 -0
- package/jsx-core.cjs.production.min.js.map +1 -0
- package/jsx-core.esm.js +1113 -0
- package/jsx-core.esm.js.map +1 -0
- package/package.json +16 -0
- package/request/index.d.ts +1 -0
- package/request/request.d.ts +4 -0
- package/request/request.service.d.ts +16 -0
- package/storage/index.d.ts +3 -0
- package/storage/local.storage.d.ts +13 -0
- package/storage/session.storage.d.ts +14 -0
- package/storage/storage.d.ts +11 -0
- package/store/file.store.d.ts +7 -0
- package/store/index.d.ts +3 -0
- package/store/memory.store.d.ts +8 -0
- package/store/store.d.ts +8 -0
- package/utils/functions.d.ts +13 -0
- package/utils/index.d.ts +2 -0
- package/utils/values.d.ts +197 -0
package/README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Scaffold
|
|
2
|
+
|
|
3
|
+
## JSX core
|
|
4
|
+
|
|
5
|
+
### Introduction
|
|
6
|
+
|
|
7
|
+
### Supported Platforms
|
|
8
|
+
|
|
9
|
+
- Browser
|
|
10
|
+
- Node.js (Javascript/Typescript)
|
|
11
|
+
|
|
12
|
+
### Installation
|
|
13
|
+
|
|
14
|
+
1. NPM
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
$ npm i @thescaffold/jsx-core
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
2. CDN
|
|
21
|
+
|
|
22
|
+
```html
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Usage & API
|
|
27
|
+
|
|
28
|
+
## Commands
|
|
29
|
+
|
|
30
|
+
DTS scaffolds your new library inside `/src`.
|
|
31
|
+
|
|
32
|
+
To run DTS, use:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
npm start # or yarn start
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
This builds to `/dist` and runs the project in watch mode so any edits you save inside `src` causes a rebuild to `/dist`.
|
|
39
|
+
|
|
40
|
+
To do a one-off build, use `npm run build` or `yarn build`.
|
|
41
|
+
|
|
42
|
+
To run tests, use `npm test` or `yarn test`.
|
|
43
|
+
|
|
44
|
+
## Custom Commands
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
# build and sync locally
|
|
48
|
+
$ node ./build --env=dev --sync=true
|
|
49
|
+
|
|
50
|
+
# build and publish
|
|
51
|
+
$ node ./build --env=prod --sync=true --version=x.x.x
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Publish
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
$ git tag <version e.g v0.0.0>
|
|
58
|
+
$ git push origin <version>
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## License
|
package/error/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const stackTrace: () => string;
|
package/index.d.ts
ADDED